Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Software renderer, runtime renderer fallback, and core consolidation #1748

Merged
merged 64 commits into from
Mar 9, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
5100b5d
Introduce `iced_renderer` subcrate featuring runtime renderer fallback
hecrj Feb 24, 2023
1475f5f
Update `resvg` in `iced_graphics`
hecrj Feb 25, 2023
27e21a8
Merge branch 'update/svg-deps' into feature/software-renderer
hecrj Feb 25, 2023
a01bc86
Trim measurements in `renderer::Backend`
hecrj Feb 25, 2023
f07fdba
Merge pull request #1733 from iced-rs/update/svg-deps
hecrj Feb 25, 2023
8c373cd
Scaffold `iced_tiny_skia` and connect it to `iced_renderer`
hecrj Feb 25, 2023
535d7a4
Implement basic presentation with `softbuffer` for `iced_tiny_skia`
hecrj Feb 25, 2023
445b31c
Resize `Surface::buffer` instead of reallocating in `iced_tiny_skia`
hecrj Feb 25, 2023
871b7e0
Fix `Padding::fit` on irregular values for an axis
hecrj Feb 25, 2023
be8102e
Merge pull request #1734 from iced-rs/fix/padding-fit
hecrj Feb 25, 2023
5f93437
Bump version of `iced_core` :tada:
hecrj Feb 25, 2023
df5d664
Draft support for `Quad` and `Clip` primitives in `iced_tiny_skia`
hecrj Feb 25, 2023
744f302
Use `Surface::buffer` directly for drawing in `iced_tiny_skia`
hecrj Feb 25, 2023
64fb722
Draft text support in `iced_tiny_skia`
hecrj Feb 26, 2023
3386402
Implement text alignment support in `iced_tiny_skia`
hecrj Feb 26, 2023
4067c42
Fix glyphs with color mask in `iced_tiny_skia`
hecrj Feb 26, 2023
53573cf
Draw debug overlay in `iced_tiny_skia`
hecrj Feb 26, 2023
fbb14bf
Implement `border_radius` support for quads in `iced_tiny_skia`
hecrj Feb 26, 2023
4e615a6
Fix `clippy` lints
hecrj Feb 27, 2023
37ce30f
Use `kurbo` to approximate arcs in `iced_tiny_skia`
hecrj Feb 27, 2023
8750d83
Short-circuit rectangle path building in `iced_tiny_skia`
hecrj Feb 27, 2023
3105ad2
Remove useless `f32` conversion in `iced_tiny_skia`
hecrj Feb 27, 2023
c1ff803
Implement basic glyph cache in `iced_tiny_skia`
hecrj Feb 27, 2023
151daf9
Remove unnecessary `cast_slice` in `iced_tiny_skia`
hecrj Feb 27, 2023
9e815cb
Remove `Fill` variant for `Alignment`
hecrj Feb 27, 2023
fd06de5
Use `get_image_uncached` in `iced_tiny_skia`
hecrj Feb 28, 2023
86b85d1
Merge pull request #1735 from iced-rs/remove-alignment-fill
hecrj Feb 28, 2023
3f6e28f
Use `iced_renderer` instead of `iced_graphics` in root crate
hecrj Feb 28, 2023
5fd5d1c
Implement `Canvas` support for `iced_tiny_skia`
hecrj Mar 1, 2023
5c0427e
Fix `Clip` primitive translation in `iced_tiny_skia`
hecrj Mar 1, 2023
838fd96
Disable `anti_alias` for `Frame::fill_rectangle` in `iced_tiny_skia`
hecrj Mar 1, 2023
119cf2e
Remove magic boolean in `into_paint`
hecrj Mar 1, 2023
350427e
Fix missing `qr_code` module in `iced_native`
hecrj Mar 1, 2023
868f79d
Reuse `ClipMask` in `iced_tiny_skia`
hecrj Mar 1, 2023
b2a9a1e
Fixed fullscreen only being possible on primary monitor.
bungoboingo Mar 2, 2023
a9ca89c
Added example of toggling fullscreen to TODOs.
bungoboingo Mar 2, 2023
bbeaf10
Mark `Primitive` as `non-exhaustive` in `iced_graphics`
hecrj Mar 3, 2023
d13d19b
Rename `canvas::frame` to `canvas` in `iced_wgpu`
hecrj Mar 3, 2023
6cc48b5
Move `Canvas` and `QRCode` to `iced` crate
hecrj Mar 3, 2023
c54409d
Remove `canvas` leftovers in `iced_native`
hecrj Mar 3, 2023
12781c7
Expose `window` commands for Wasm builds
hecrj Mar 3, 2023
d73ca4d
Merge pull request #1742 from bungoboingo/fix/fullscreen
hecrj Mar 3, 2023
3a0d34c
Create `iced_widget` subcrate and re-organize the whole codebase
hecrj Mar 4, 2023
bacbaee
Merge branch 'advanced-text' into feature/software-renderer
hecrj Mar 4, 2023
5fed065
Update `glyphon` in `iced_wgpu`
hecrj Mar 4, 2023
f4cf488
Remove generic `Hasher` and `Event` from `subscription::Recipe`
hecrj Mar 5, 2023
cfb8abb
Use `no_run` for widget doc-tests
hecrj Mar 5, 2023
43414bb
Fix `wasm-bindgen` backend in `iced_futures`
hecrj Mar 5, 2023
8af69be
Converge `Command` types from `iced_futures` and `iced_native`
hecrj Mar 5, 2023
99e0a71
Rename `iced_native` to `iced_runtime`
hecrj Mar 5, 2023
1c36446
Fix `README` of `iced_runtime`
hecrj Mar 5, 2023
06bbcc3
Move `webgl` feature selection for `wgpu` into `iced_wgpu`
hecrj Mar 5, 2023
9b4bcd2
Introduce backend feature flags in `iced_renderer`
hecrj Mar 6, 2023
3a26baa
Remove `image` abstractions in `iced_graphics`
hecrj Mar 7, 2023
bb49e17
Implement `raster` pipeline in `iced_tiny_skia`
hecrj Mar 7, 2023
5b3977d
Implement `vector` pipeline in `iced_tiny_skia`
hecrj Mar 7, 2023
a8d55ce
Trim `raster` cache in `iced_tiny_skia`
hecrj Mar 7, 2023
81d154d
Use default features in `svg` example
hecrj Mar 7, 2023
0850f52
Use `ceil` to avoid cut text in `iced_tiny_skia`
hecrj Mar 7, 2023
24c3d20
Tell `clippy` to go learn the borrow rules
hecrj Mar 7, 2023
d3900e0
Enable renderer backends in `integration` example
hecrj Mar 7, 2023
df68cca
Update `sysinfo` to `0.28`
hecrj Mar 7, 2023
aa4b5bb
Merge branch 'master' into feature/software-renderer
hecrj Mar 7, 2023
424ac81
Implement color filter support for `Primitive::Svg` in `iced_tiny_skia`
hecrj Mar 9, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use no_run for widget doc-tests
  • Loading branch information
hecrj committed Mar 5, 2023
commit cfb8abb6f5806e08ccc3a80233e1fb1768adeaf7
9 changes: 0 additions & 9 deletions native/src/subscription.rs

This file was deleted.

2 changes: 1 addition & 1 deletion widget/src/button.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub use iced_style::button::{Appearance, StyleSheet};

/// A generic widget that produces a message when pressed.
///
/// ```
/// ```no_run
/// # type Button<'a, Message> =
/// # iced_widget::Button<'a, Message, iced_widget::renderer::Renderer<iced_widget::style::Theme>>;
/// #
Expand Down
2 changes: 1 addition & 1 deletion widget/src/checkbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub struct Icon<Font> {
///
/// # Example
///
/// ```
/// ```no_run
/// # type Checkbox<'a, Message> =
/// # iced_widget::Checkbox<'a, Message, iced_widget::renderer::Renderer<iced_widget::style::Theme>>;
/// #
Expand Down
2 changes: 1 addition & 1 deletion widget/src/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub fn viewer<Handle>(handle: Handle) -> Viewer<Handle> {
///
/// # Example
///
/// ```
/// ```no_run
/// # use iced_widget::image::{self, Image};
/// #
/// let image = Image::<image::Handle>::new("resources/ferris.png");
Expand Down
2 changes: 1 addition & 1 deletion widget/src/pane_grid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ use crate::core::{
///
/// ## Example
///
/// ```
/// ```no_run
/// # use iced_widget::{pane_grid, text};
/// #
/// # type PaneGrid<'a, Message> =
Expand Down
2 changes: 1 addition & 1 deletion widget/src/progress_bar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub use iced_style::progress_bar::{Appearance, StyleSheet};
/// A bar that displays progress.
///
/// # Example
/// ```
/// ```no_run
/// # type ProgressBar =
/// # iced_widget::ProgressBar<iced_widget::renderer::Renderer<iced_widget::style::Theme>>;
/// #
Expand Down
2 changes: 1 addition & 1 deletion widget/src/radio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub use iced_style::radio::{Appearance, StyleSheet};
/// A circular button representing a choice.
///
/// # Example
/// ```
/// ```no_run
/// # type Radio<Message> =
/// # iced_widget::Radio<Message, iced_widget::renderer::Renderer<iced_widget::style::Theme>>;
/// #
Expand Down
2 changes: 1 addition & 1 deletion widget/src/slider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub use iced_style::slider::{Appearance, Handle, HandleShape, StyleSheet};
/// to 1 unit.
///
/// # Example
/// ```
/// ```no_run
/// # type Slider<'a, T, Message> =
/// # iced_widget::Slider<'a, Message, T, iced_widget::renderer::Renderer<iced_widget::style::Theme>>;
/// #
Expand Down
2 changes: 1 addition & 1 deletion widget/src/text_input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub use iced_style::text_input::{Appearance, StyleSheet};
/// A field that can be filled with text.
///
/// # Example
/// ```
/// ```no_run
/// # pub type TextInput<'a, Message> =
/// # iced_widget::TextInput<'a, Message, iced_widget::renderer::Renderer<iced_widget::style::Theme>>;
/// #
Expand Down
2 changes: 1 addition & 1 deletion widget/src/toggler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub use crate::style::toggler::{Appearance, StyleSheet};
///
/// # Example
///
/// ```
/// ```no_run
/// # type Toggler<'a, Message> =
/// # iced_widget::Toggler<'a, Message, iced_widget::renderer::Renderer<iced_widget::style::Theme>>;
/// #
Expand Down
2 changes: 1 addition & 1 deletion widget/src/vertical_slider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use crate::core::{
/// to 1 unit.
///
/// # Example
/// ```
/// ```no_run
/// # type VerticalSlider<'a, T, Message> =
/// # iced_widget::VerticalSlider<'a, T, Message, iced_widget::renderer::Renderer<iced_widget::style::Theme>>;
/// #
Expand Down