Héctor Ramón Jiménez
78ad365db2
Reuse entries in text::Cache in iced_wgpu
2023-06-28 00:35:37 +02:00
Héctor Ramón
f63a9d1a79
Merge pull request #1843 from wash2/fix-tiny-skia-quad
...
fix: quad rendering including border only inside of the bounds
2023-06-27 22:19:49 +02:00
Héctor Ramón Jiménez
2f886b0e4e
Fix import consistency in iced_tiny_skia
2023-06-27 22:06:32 +02:00
Héctor Ramón Jiménez
bf7d636ebf
Draw border path for quad only if it has a border in iced_tiny_skia
2023-06-27 22:05:49 +02:00
Héctor Ramón
f6966268bb
Merge pull request #1845 from bungoboingo/feat/offscreen-rendering
...
Feat: Offscreen Rendering & Screenshots
2023-06-27 20:37:19 +02:00
Héctor Ramón
ef18ecf4ef
Merge pull request #1921 from iced-rs/subpixel-glyph-positioning
...
Subpixel glyph positioning and layout linearity
2023-06-26 19:17:34 +02:00
Cory Forsstrom
8152513bf8
Provide access to font from each crate
2023-06-22 20:18:38 -07:00
Héctor Ramón Jiménez
ef87ff1e8a
Clear text caches after a font is loaded
2023-06-21 21:47:29 +02:00
Héctor Ramón Jiménez
5bc7cbf5bc
Use subpixel glyph positioning and layout linearity
...
... for offsetting and scaling text
2023-06-20 06:50:36 +02:00
Héctor Ramón Jiménez
0c65936664
Update glyphon and cosmic-text
2023-06-16 15:50:03 +02:00
Bingus
233196eb14
Added offscreen rendering support for wgpu & tiny-skia exposed with the window::screenshot command.
2023-06-06 15:37:30 +02:00
Héctor Ramón
cc5d11f1a6
Merge pull request #1846 from bungoboingo/feat/background-gradients
...
[Feature] Gradients for Backgrounds
2023-05-19 04:37:58 +02:00
Héctor Ramón Jiménez
ccf7d1994f
Fix needless borrow in tiny_skia::backend
2023-05-19 04:05:31 +02:00
Héctor Ramón Jiménez
49353bc4ea
Inline into_gradient in tiny_skia::backend
...
... since it's not really reused anywhere else.
2023-05-19 03:53:23 +02:00
Héctor Ramón Jiménez
4c1a082f04
Remove Builder abstractions for gradients
2023-05-19 03:32:21 +02:00
Ashley Wulber
a3f32ad201
fix: when clearing damaged surface with background color blend mode should be Source only
2023-05-15 13:40:52 -04:00
Ashley Wulber
102c78abd8
fix: tiny-skia quad handle case where border_radius < border_width / 2.0
2023-05-11 19:21:36 -04:00
Bingus
6551a0b2ab
Added support for gradients as background variants + other optimizations.
2023-05-11 11:13:44 -07:00
Ashley Wulber
5ee26cc8ec
fix: don't offset fill of quad
2023-05-11 12:25:43 -04:00
Héctor Ramón Jiménez
de638f44a5
Write missing documentation in iced_wgpu
2023-05-11 15:37:56 +02:00
Ashley Wulber
46fc5a7992
fix: quad rendering including border only inside of the bounds
2023-05-10 17:48:21 -04:00
Héctor Ramón
422b4dedcb
Merge pull request #1841 from wash2/fix-svg-color-filter
...
fix: tiny-skia svg premultiply final filtered color
2023-05-10 01:56:25 +02:00
Ashley Wulber
75439ff96e
fix: border radius typo
2023-05-09 16:37:01 -04:00
Ashley Wulber
3f1c8a8d28
fix: tiny-skia svg premultiply final filtered color
2023-05-09 14:57:50 -04:00
Héctor Ramón Jiménez
c6d9221ee4
Round paragraph position until we implement subpixel glyph positioning
2023-05-08 16:20:05 +02:00
Héctor Ramón Jiménez
2bc4880d00
Warn about unsupported primitives in iced_tiny_skia
2023-05-08 14:51:06 +02:00
Héctor Ramón Jiménez
9499a8f9e6
Support configurable LineHeight in text widgets
2023-05-04 18:39:31 +02:00
Héctor Ramón Jiménez
edf3432bf5
Update glyphon and cosmic-text
2023-05-02 01:02:33 +02:00
Héctor Ramón Jiménez
4bd290afe7
Introduce text::Shaping enum and replace magic boolean
2023-05-02 01:02:32 +02:00
Héctor Ramón Jiménez
33b5a90019
Make basic text shaping the default shaping strategy
2023-05-02 01:02:13 +02:00
Héctor Ramón Jiménez
a755472ee3
Remove unnecessary last_ prefix in Surface of iced_tiny_skia
2023-04-27 15:51:51 +02:00
Héctor Ramón Jiménez
eb1b2bf241
Invalidate last_primitives on resize in iced_tiny_skia
2023-04-27 15:45:02 +02:00
Héctor Ramón Jiménez
92d808ee73
Fix double reference in compositor in iced_tiny_skia
2023-04-27 15:16:05 +02:00
Héctor Ramón Jiménez
af0303f95e
Move damage tracking logic to compositor in iced_tiny_skia
2023-04-27 15:10:41 +02:00
Héctor Ramón Jiménez
9c63eb7df5
Update tiny-skia and resvg
2023-04-26 16:46:27 +02:00
Héctor Ramón Jiménez
f0fa5f76cb
Remove debug overlay from iced_tiny_skia for now
2023-04-26 16:15:53 +02:00
Héctor Ramón Jiménez
435b54e57e
Revert "Use pixels for presentation in iced_tiny_skia when possible"
...
This reverts commit 16e6efe020 .
2023-04-26 16:09:36 +02:00
Héctor Ramón Jiménez
619ba9294d
Merge branch 'advanced-text' into incremental-rendering
2023-04-17 23:46:18 +02:00
Héctor Ramón Jiménez
4bae457c37
Merge branch 'master' into advanced-text
2023-04-17 23:41:12 +02:00
Héctor Ramón Jiménez
16e6efe020
Use pixels for presentation in iced_tiny_skia when possible
2023-04-08 05:58:27 +02:00
Héctor Ramón Jiménez
3ee367355d
Merge branch 'advanced-text' into incremental-rendering
2023-04-08 04:47:54 +02:00
Héctor Ramón Jiménez
c0431aedd3
Update wgpu and cosmic-text
2023-04-08 04:47:05 +02:00
Héctor Ramón Jiménez
940a47eafd
Revert "Use softbuffer fork with owned pixel buffer"
...
This reverts commit 92d61e5c59 .
The owned pixel buffer zeroes the data in some platforms. `softbuffer`
will need some first-class support for damage regions.
2023-04-05 19:30:07 +02:00
Héctor Ramón Jiménez
92d61e5c59
Use softbuffer fork with owned pixel buffer
2023-04-05 19:23:48 +02:00
Héctor Ramón Jiménez
e134a82f4c
Switch debug mode to fade old primitives and display damage in iced_tiny_skia
2023-04-05 18:42:27 +02:00
Héctor Ramón Jiménez
4ede482ab5
Present new frame only when damaged in iced_tiny_skia
2023-04-05 18:41:40 +02:00
Héctor Ramón Jiménez
1bba9a080f
Fix Svg and Image primitives in iced_tiny_skia
2023-04-05 05:49:30 +02:00
Héctor Ramón Jiménez
f8cd1faa28
Group damage regions by area increase
2023-04-05 05:40:44 +02:00
Héctor Ramón Jiménez
6270c33ed9
Keep playing with incremental rendering (still very slow)
2023-04-04 20:47:53 +02:00
Héctor Ramón Jiménez
0f7abffc0e
Draft (very) basic incremental rendering for iced_tiny_skia
2023-04-04 02:08:02 +02:00