Commit graph

159 commits

Author SHA1 Message Date
5e16f105e0 chore: use local cosmic-text
Some checks failed
Format / all (push) Has been cancelled
Lint / all (push) Has been cancelled
Test / all (macOS-latest, beta) (push) Has been cancelled
Test / all (macOS-latest, stable) (push) Has been cancelled
Test / all (ubuntu-latest, beta) (push) Has been cancelled
Test / all (ubuntu-latest, stable) (push) Has been cancelled
Test / all (windows-latest, beta) (push) Has been cancelled
Test / all (windows-latest, stable) (push) Has been cancelled
2026-05-25 18:27:44 +02:00
Ashley Wulber
c49de15bce
fix: cosmic-text 2026-01-21 11:17:55 -05:00
Héctor Ramón Jiménez
0e025ed813
Update cosmic-text to 0.16 2026-01-20 01:58:43 +01:00
Héctor Ramón Jiménez
bb8f59f9f0
Add authors to Cargo.toml 2025-12-05 22:32:23 +01:00
Héctor Ramón Jiménez
99b4695936
Update cosmic-text to 0.15 2025-10-31 14:33:21 +01:00
Héctor Ramón Jiménez
1d68a54059
Update wgpu to 27 2025-10-31 14:05:31 +01:00
Héctor
453cedec0d
Merge pull request #2 from sunsided/feature/wgpu-25
Update `wgpu` to `26.0`
2025-07-22 02:40:31 +02:00
Héctor Ramón Jiménez
b36979ec18
Update wgpu to 26.0 2025-07-22 02:37:58 +02:00
Héctor Ramón Jiménez
36459b06ca
Update lru and remove patch of etagere 2025-07-22 02:25:09 +02:00
Markus Mayer
1b72c1fe9e
Upgrade to wgpu 25 2025-04-11 01:08:15 +02:00
Héctor Ramón Jiménez
a456d1c17b
Update cosmic-text to 0.14 2025-04-09 18:31:38 +02:00
Héctor Ramón Jiménez
be2defe4a1
Update cosmic-text to 0.13 2025-03-10 19:39:43 +01:00
Héctor Ramón Jiménez
a886f2427e
Update edition to 2024 2025-03-09 01:01:09 +01:00
Héctor Ramón Jiménez
007fc4b0d5
Run cargo fmt 2025-03-09 01:00:26 +01:00
StratusFearMe21
9ab32ae1c3
Fix the is_run_visible calculation (#134)
* Fix the `is_run_visible` calculation

* Clarify variable names in the `is_run_visible` calculation

* Make the physical run_line scales `i32` instead of `f32`

* Make entire `start_y_physical` expression in `is_run_visible` calculation an `i32`
2025-03-09 00:59:36 +01:00
Alphyr
505f12f6ce
Small improvements to cache (#130)
* Remove `Arc` around `RenderPipeline`

It is not necessary anymore in last `wgpu` version.

* Replace `RwLock` with `Mutex`

It was only used for writing.
2025-03-09 00:59:20 +01:00
Jose Acevedo
114cfa3e02
fix: use text area bounds to determine visibility 2025-03-09 00:56:37 +01:00
Josh Groves
40861cd933
Move text area bounds outside run/glyph loops (#110) 2025-03-09 00:53:20 +01:00
Billy Messenger
6b566c5eb1
update example to use winit 0.30 (#105)
* update example to use winit 0.30

* omit unneeded field in example
2025-03-09 00:50:23 +01:00
Taj Pereira
28512c8630
Prepare benchmarks + ~1.7x prepare perf improvement (#121)
* Add prepare benchmarks

* Skip unnecessary peaks

* Cite sample sources
2025-03-09 00:40:53 +01:00
x10A94
db2c1ca316
Relax lifetimes further 2025-03-09 00:30:50 +01:00
Josh Groves
71c9940f91
Use default limits for example (#98) 2025-03-09 00:24:30 +01:00
Héctor
73be1c53ad
Merge pull request #1 from devrangel/upgrade-wgpu-24
Upgrade `wgpu` to `24`
2025-03-09 00:22:41 +01:00
Matheus Rangel
a6ddf89014
upgrade to wgpu 24 2025-03-09 00:18:21 +01:00
Héctor Ramón Jiménez
3c455a9475
Rename to cryoglyph 2025-03-09 00:02:29 +01:00
Héctor Ramón Jiménez
ba9d0ba054
Use my own flavor of GitHub workflows 2025-03-08 23:46:54 +01:00
Héctor Ramón Jiménez
59a3ecef65
Rename to iced_glyphon and explain the reason of the fork 2025-03-08 23:43:37 +01:00
dtzxporter
09712a70df
Upgrade wgpu to 23.0 2024-11-05 13:26:49 +01:00
Héctor Ramón Jiménez
0d7ba1bba4
Update wgpu to 22.0 2024-07-19 19:02:10 +02:00
Héctor Ramón Jiménez
ce412b3954
Reapply "update to wgpu 0.20.0 (#93)"
This reverts commit 0a688982e9.
2024-07-17 13:01:39 +02:00
Billy Messenger
feef9f5630
update to cosmic-text 0.12 and rustc-hash 2.0 (#104) 2024-07-17 12:04:44 +02:00
Héctor Ramón Jiménez
f07e7bab70
Revert "Bump cosmic text to 0.11 (#89)"
This reverts commit c16b6eb957.
2024-05-08 19:30:16 +02:00
Héctor Ramón Jiménez
0a688982e9
Revert "update to wgpu 0.20.0 (#93)"
This reverts commit 670140e2a1.
2024-05-08 19:25:00 +02:00
Pēteris Pakalns
883b9170b4
Simplify rendering pipeline, reduce gpu memory usage, remove duplicated data 2024-05-08 19:23:45 +02:00
Héctor Ramón Jiménez
c69090f74b
Use a StagingBelt for regular buffer uploads
`Queue::write_buffer` allocates very regularly. A
`StagingBelt` gives us much more control.
2024-05-08 19:20:56 +02:00
Héctor Ramón
b411ea71e7
Introduce explicit Viewport sharing (#96) 2024-05-08 11:47:58 -02:30
Héctor Ramón
5aed9e1477
Support sharing Pipeline state between TextAtlas (#95)
* Support sharing `Pipeline` state between `TextAtlas`

* Keep using `Vec` for pipeline cache

* Use `OnceCell` to keep `Pipeline` private

* Revert "Use `OnceCell` to keep `Pipeline` private"

This reverts commit 4112732b1734a3bb6b915d2103e699ef549b77c1.

* Rename `Pipeline` type to `Cache`
2024-05-08 11:09:19 -02:30
EggShark
670140e2a1
update to wgpu 0.20.0 (#93) 2024-04-29 13:01:15 -02:30
Héctor Ramón
3e281d1828
Use rustc-hash for HashSet of glyphs_in_use (#90) 2024-03-29 22:47:39 -02:30
Héctor Ramón Jiménez
4f24305ac5 Reuse Vec allocations in TextRenderer 2024-03-29 21:24:16 -02:30
Xavier Lambein
c16b6eb957
Bump cosmic text to 0.11 (#89)
Co-authored-by: Xavier Lambein <xavier@lambein.xyz>
2024-03-25 21:56:37 -02:30
Pēteris Pakalns
f95e66f612
Support multi viewport rendering with reusable text atlas (#88) 2024-03-25 21:55:57 -02:30
Jengamon
4700e54f16
Do a little feature magic to allow to build for web (#83)
* Remove default features

* Enable default features for dev (testing) builds

* Enable WGSL unconditionally
2024-02-21 21:19:54 -03:30
grovesNL
4590abae08 Release 0.5.0 2024-01-17 20:33:06 -03:30
TheEggShark
65825aa0d4 update to wgpu 0.19.0 2024-01-17 20:25:33 -03:30
grovesNL
3425efd522 Release 0.4.1 2024-01-15 21:36:08 -03:30
grovesNL
bfb07147cd Don't convert web text colors to linear 2024-01-15 21:32:22 -03:30
grovesNL
7f9afac93e Release 0.4.0 2024-01-15 16:24:45 -03:30
grovesNL
1bb46e41ff Update lru 2024-01-15 16:04:27 -03:30
grovesNL
c2469de817 Update winit 2024-01-15 16:04:27 -03:30