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
Héctor Ramón Jiménez
6fae8bf6cb
Implement Frame::clip for iced_tiny_skia
2023-04-04 01:56:56 +02:00
Héctor Ramón Jiménez
04c0ba04bf
Warn about invalid paths in iced_tiny_skia instead of panicking
2023-04-04 01:56:50 +02:00
Héctor Ramón Jiménez
0b459c8e24
Introduce font::Stretch
2023-03-30 02:01:20 +02:00
Héctor Ramón Jiménez
707de9d788
Introduce support for Font attributes
2023-03-30 00:56:00 +02:00
Héctor Ramón Jiménez
5f9e7f6cb9
Update cosmic-text to latest 🎉
2023-03-19 14:52:30 +01:00
Héctor Ramón Jiménez
ea50ec8df1
Trim text Buffer cache every frame in iced_wgpu and iced_tiny_skia
2023-03-17 19:58:42 +01:00
Héctor Ramón Jiménez
c8f637fc16
Fix panic rendering an out of bounds clip in iced_tiny_skia
2023-03-17 19:35:57 +01:00
Héctor Ramón Jiménez
424ac81773
Implement color filter support for Primitive::Svg in iced_tiny_skia
2023-03-09 04:48:35 +01:00
Héctor Ramón Jiménez
24c3d20a76
Tell clippy to go learn the borrow rules
2023-03-07 06:34:27 +01:00
Héctor Ramón Jiménez
0850f52d8c
Use ceil to avoid cut text in iced_tiny_skia
...
This won't be necessary once we reuse the buffers from layouting by
leveraging layout linearity.
2023-03-07 06:23:09 +01:00
Héctor Ramón Jiménez
a8d55ceb82
Trim raster cache in iced_tiny_skia
2023-03-07 06:15:05 +01:00
Héctor Ramón Jiménez
5b3977daf6
Implement vector pipeline in iced_tiny_skia
2023-03-07 06:09:51 +01:00