Commit graph

3575 commits

Author SHA1 Message Date
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
4cae262d22
Implement PartialEq and Eq for image::Bytes 2023-04-05 05:47:29 +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
David Huculak
703484c5fd remove colons from shader labels 2023-04-01 16:10:28 -04:00
Jacob Kiesel
cb78dc548b re-expose winit features for window servers in Linux 2023-03-31 20:37:09 -06: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
472fbdf187
Export Hasher in advanced module 2023-03-29 20:32:36 +02:00
Héctor Ramón Jiménez
703ef71029
Export Pixels in root crate 2023-03-29 00:19:20 +02:00
Héctor Ramón Jiménez
6d90f764b4
Export iced_graphics in advanced module (for now) 2023-03-29 00:19:12 +02:00
Héctor Ramón Jiménez
2e236869f5
Export iced_core::mouse in advanced module 2023-03-29 00:17:12 +02:00
Héctor Ramón
4e409bb383
Merge pull request #1669 from GyulyVGC/master
Added scrollable style `focused` to be displayed when mouse is over the scrollable area
2023-03-27 16:17:02 +02:00
Héctor Ramón Jiménez
dcccf7064d
Fix inconsistency in default implementation of scrollable::StyleSheet 2023-03-27 15:57:51 +02:00
Héctor Ramón Jiménez
c407b4504c
Introduce is_mouse_over_scrollbar to StyleSheet::hovered for Scrollable 2023-03-27 15:51:32 +02:00
Giuliano Bellini s294739
c337bf297d renamed scrollable styles 2023-03-25 01:05:56 +01:00
Héctor Ramón
b74ff9f1ca
Merge pull request #1754 from nicksenger/optimization/component
[Optimization] Reduce unnecessary `Component` rebuilds
2023-03-23 12:00:37 +01:00
Héctor Ramón
be36c3f552
Merge pull request #1765 from traxys/fixup_wasm_replace
winit: Fix replacement of node in wasm
2023-03-23 11:31:59 +01:00
traxys
0231ed6f1d winit: Fix replacement of node in wasm
Replacing a node ends up with the following error:
Node.replaceChild: Child to be replaced is not a child of this node

It seems that Node.replaceChild is not recommended, and instead
Element.replaceWith should be preferred. Using it avoids the panic.
2023-03-20 00:20:45 +01:00
Héctor Ramón Jiménez
5f9e7f6cb9
Update cosmic-text to latest 🎉 2023-03-19 14:52:30 +01:00
Aaron Honeycutt
4fdd76c07c Now is a working example 2023-03-17 13:32:11 -06:00
Héctor Ramón Jiménez
d1dc62ebcd
Merge branch 'master' into advanced-text 2023-03-17 20:17:23 +01:00
Aaron Honeycutt
d5f26c3d39 More work on example 2023-03-17 13:12:33 -06: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
Aaron Honeycutt
addc443f8d Working more on example 2023-03-14 15:46:04 -06:00
Aaron Honeycutt
c96ab27b24 Work on example more 2023-03-14 14:39:26 -06:00
Aaron Honeycutt
6d9cf0b601 Cleaning up from the Checkbox example that this is based on 2023-03-14 14:36:31 -06:00
Aaron Honeycutt
257264de1c Working on Radio example 2023-03-14 14:34:32 -06:00
Nick Senger
a3f6b782a1 optimization: reduce unnecessary rebuilds in Component 2023-03-14 06:50:17 -07:00
Héctor Ramón
d7fffaa801
Merge pull request #1730 from casperstorm/feat/platform-specific-window-options
Platform specific `window` options.
2023-03-14 11:50:18 +01:00
Héctor Ramón Jiménez
4405a3d483
Re-export settings::PlatformSpecific from iced_winit directly 2023-03-14 11:31:16 +01:00
Casper Storm
ed7b613804
Added macOS platform specific options 2023-03-14 11:31:15 +01:00
Héctor Ramón
de4ae51e3c
Merge pull request #1755 from iced-rs/fix/clippy-lints-1.68
Fix `clippy` lints for Rust 1.68
2023-03-14 11:26:59 +01:00
Héctor Ramón Jiménez
1816c985fa
Fix clippy lints for Rust 1.68 2023-03-14 11:11:17 +01:00
Héctor Ramón
caf2836b1b
Merge pull request #1748 from iced-rs/feature/software-renderer
Software renderer, runtime renderer fallback, and core consolidation
2023-03-09 19:05:38 +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
8f14b448d2
Merge pull request #1750 from lupd/checkbox_docs
Use correct package name in checkbox example docs
2023-03-08 19:32:40 +01:00
lupd
782c080bd0 Use correct package name in checkbox example docs 2023-03-08 12:55:52 -05:00
FinnPerry
046f3596ca fix: add width to scrollables 2023-03-08 11:44:08 +11:00
Héctor Ramón Jiménez
aa4b5bb6b9
Merge branch 'master' into feature/software-renderer 2023-03-07 07:24:34 +01:00
Héctor Ramón Jiménez
df68cca0c9
Update sysinfo to 0.28 2023-03-07 07:22:48 +01:00
Héctor Ramón Jiménez
d3900e0673
Enable renderer backends in integration example 2023-03-07 06:41:41 +01:00