Chris Cochrun
7e2b1612b9
outline schtuff
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
2025-07-10 17:07:22 -05:00
Chris Cochrun
da3b02cf8a
adding together a jump-flood algorithm for rendering outlines
Format / all (push) Waiting to run
Lint / all (push) Waiting to run
Test / all (macOS-latest, beta) (push) Waiting to run
Test / all (macOS-latest, stable) (push) Waiting to run
Test / all (ubuntu-latest, beta) (push) Waiting to run
Test / all (ubuntu-latest, stable) (push) Waiting to run
Test / all (windows-latest, beta) (push) Waiting to run
Test / all (windows-latest, stable) (push) Waiting to run
2025-07-10 10:03:03 -05:00
Chris Cochrun
84de74e7c2
idk
2025-07-09 06:04:05 -05:00
Chris Cochrun
8fa8c752ed
adding flake
2025-05-01 06:30:08 -05: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
grovesNL
ce394f9d53
Internally convert text colors to linear
2024-01-15 13:05:48 -03:30
grovesNL
ca5f82e5e9
Grow by a factor of 2
...
This reduces the amount of growing necessary for large glyphs
2024-01-15 11:49:35 -03:30
Lukas Kalbertodt
b15437b87f
Fix typo in docs
2024-01-02 20:50:08 -03:30
Lukas Kalbertodt
914a283e3f
Add #[doc(no_inline)]
to cosmic-text reexports
...
Before this commit, all reexported symbols were displayed as if they
were part of `glyphon` directly. Users not being able to see at a glance
what's part of which crate has a few disadvantages. It makes
understanding the whole stack more difficult, since it's unclear what's
part of the wgpu-integration and what's part of the general text
handling. Personally, I also think this can deter people from using
glyphon as this makes the crate (which is "just" the wgpu integration)
seem huge. Finally, some symbols in the docs were not linked (as if it
was private), which is also really bad for browsing docs.
2024-01-02 20:50:08 -03:30
TheEggShark
941309aed2
fixed cargo fmt errors
2023-12-19 12:28:19 -03:30
TheEggShark
f13c5f024e
added clippy suggestions
2023-12-19 12:28:19 -03:30