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
Héctor Ramón Jiménez
bb49e17cab
Implement raster pipeline in iced_tiny_skia
2023-03-07 05:06:26 +01:00
Héctor Ramón Jiménez
99e0a71504
Rename iced_native to iced_runtime
2023-03-05 06:35:20 +01:00
Héctor Ramón Jiménez
3a0d34c024
Create iced_widget subcrate and re-organize the whole codebase
2023-03-04 05:37:11 +01:00
Héctor Ramón Jiménez
6cc48b5c62
Move Canvas and QRCode to iced crate
...
Rename `canvas` modules to `geometry` in graphics subcrates
2023-03-03 04:57:55 +01:00
Héctor Ramón Jiménez
d13d19ba35
Rename canvas::frame to canvas in iced_wgpu
2023-03-03 04:00:44 +01:00
Héctor Ramón Jiménez
bbeaf10c04
Mark Primitive as non-exhaustive in iced_graphics
2023-03-03 03:55:07 +01:00
Héctor Ramón Jiménez
868f79d22e
Reuse ClipMask in iced_tiny_skia
2023-03-02 00:40:36 +01:00
Héctor Ramón Jiménez
119cf2ecd1
Remove magic boolean in into_paint
2023-03-01 21:48:27 +01:00
Héctor Ramón Jiménez
838fd96212
Disable anti_alias for Frame::fill_rectangle in iced_tiny_skia
2023-03-01 21:47:15 +01:00
Héctor Ramón Jiménez
5c0427edbb
Fix Clip primitive translation in iced_tiny_skia
2023-03-01 21:41:32 +01:00
Héctor Ramón Jiménez
5fd5d1cdf8
Implement Canvas support for iced_tiny_skia
2023-03-01 21:34:26 +01:00
Héctor Ramón Jiménez
fd06de5d9c
Use get_image_uncached in iced_tiny_skia
...
... since we are not reusing the `SwashCache`
2023-02-28 03:48:34 +01:00
Héctor Ramón Jiménez
151daf95b7
Remove unnecessary cast_slice in iced_tiny_skia
2023-02-27 16:30:54 +01:00