summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2425 from iced-rs/fix/image-cache-fightingLibravatar Héctor Ramón2024-05-068-70/+80
|\ | | | | Fix windows fighting over shared `image::Cache`
| * Trim `image::Cache` after `wgpu::Renderer::present`Libravatar Héctor Ramón Jiménez2024-05-061-0/+3
| |
| * Fix windows fighting over shared `image::Cache`Libravatar Héctor Ramón Jiménez2024-05-068-70/+77
|/ | | | Image caches are local to each window now.
* Merge pull request #2424 from iced-rs/feature/image-opacityLibravatar Héctor Ramón2024-05-0318-41/+150
|\ | | | | Introduce dynamic `opacity` support for `Image` and `Svg`
| * Improve layout of `ferris` example :crab:Libravatar Héctor Ramón Jiménez2024-05-031-16/+16
| |
| * Introduce dynamic `opacity` support for `Image` and `Svg`Libravatar Héctor Ramón Jiménez2024-05-0318-33/+142
|/
* Merge pull request #2423 from iced-rs/center-widget-helperLibravatar Héctor Ramón2024-05-0338-338/+253
|\ | | | | Introduce `center` widget helper
| * Auto-focus `text_input` in `websocket` exampleLibravatar Héctor Ramón Jiménez2024-05-031-2/+7
| |
| * Introduce `center` widget helperLibravatar Héctor Ramón Jiménez2024-05-0338-339/+249
|/ | | | | | | | ... and also make `center_x` and `center_y` set `width` and `height` to `Length::Fill`, respectively. This targets the most common use case when centering things and removes a bunch of boilerplate as a result.
* Merge pull request #2334 from DKolter/image-rotationLibravatar Héctor Ramón2024-05-0326-109/+695
|\ | | | | Adding feature: Image rotation
| * Add `spin` mode to `ferris` example :crab:Libravatar Héctor Ramón Jiménez2024-05-034-16/+87
| |
| * Fix `Image::bounds` when rotation present in `iced_graphics`Libravatar Héctor Ramón Jiménez2024-05-035-17/+37
| |
| * Remove commented code in `tiny_skia::layer`Libravatar Héctor Ramón Jiménez2024-05-021-16/+0
| |
| * Create `ferris` example to showcase `ContentFit` and `Rotation`Libravatar Héctor Ramón Jiménez2024-05-025-1/+234
| |
| * Rename `global_scale` to `scale` in `wgpu::image`Libravatar Héctor Ramón Jiménez2024-05-021-9/+3
| |
| * Simplify image rotation API and its internalsLibravatar Héctor Ramón Jiménez2024-05-0223-224/+218
| |
| * Add `Image` rotation supportLibravatar Héctor Ramón Jiménez2024-05-0219-84/+374
| | | | | | | | Co-authored-by: DKolter <68352124+DKolter@users.noreply.github.com>
* | Merge pull request #2420 from myuujiku/masterLibravatar Héctor Ramón2024-05-031-1/+1
|\ \ | |/ |/| Fix: grabbing `image::Viewer` from outside the widget
| * Apply bounds check when grabbing `image::Viewer`Libravatar myuujiku2024-05-021-1/+1
|/
* Fix `clippy` lints for new `1.78` stable toolchainLibravatar Héctor Ramón Jiménez2024-05-023-3/+3
|
* Fix panic in `wgpu::color::convert`Libravatar Héctor Ramón Jiménez2024-05-021-18/+50
|
* Merge pull request #2412 from JL710/patch-1Libravatar Héctor Ramón2024-05-021-0/+1
|\ | | | | add missing derive(Debug) in lib.rs docs
| * add missing derive(Debug) in lib.rs docsLibravatar JL7102024-04-301-0/+1
| |
* | Introduce `layered_text` benchmarksLibravatar Héctor Ramón Jiménez2024-05-011-42/+56
| |
* | Merge pull request #2356 from Bajix/feature/bytesLibravatar Héctor Ramón2024-05-0112-158/+152
|\ \ | | | | | | Utilize bytes::Bytes for images
| * | Fix documentation link in `image::Handle`Libravatar Héctor Ramón Jiménez2024-05-011-1/+1
| | |
| * | Make `image::Id` actually opaqueLibravatar Héctor Ramón Jiménez2024-05-013-24/+40
| | |
| * | Use an opaque `Id` type for `image::Handle`Libravatar Héctor Ramón Jiménez2024-05-016-36/+59
| | | | | | | | | | | | Hashing pointers is a terrible idea.
| * | Fix `clippy` lint in `runtime::window::screenshot`Libravatar Héctor Ramón Jiménez2024-05-011-3/+3
| | |
| * | Use `Bytes` as the `Container` of `ImageBuffer`Libravatar Héctor Ramón Jiménez2024-05-015-77/+73
| | | | | | | | | | | | | | | Since we don't need to mutate images once loaded, we avoid unnecessary extra allocations.
| * | Utilize bytes::Bytes iced_runtime::window::ScreenshotLibravatar Thomas Sieverding2024-05-012-5/+12
| | |
| * | Utilize bytes::Bytes for imagesLibravatar Bajix2024-05-013-56/+8
|/ /
* | Merge pull request #2415 from iced-rs/feature/canvas-cache-groupsLibravatar Héctor Ramón2024-05-0115-148/+398
|\ \ | |/ |/| `canvas::Cache` Grouping
| * Enable logging in `clock` exampleLibravatar Héctor Ramón Jiménez2024-04-302-0/+3
| |
| * Keep text atlases alive during temporary empty uploadsLibravatar Héctor Ramón Jiménez2024-04-301-32/+44
| |
| * Fix cache trimming loop in `iced_wgpu::text`Libravatar Héctor Ramón Jiménez2024-04-302-9/+52
| |
| * Invalidate text uploads after atlas trimmingLibravatar Héctor Ramón Jiménez2024-04-304-12/+29
| |
| * Fix `clippy` lint in `the_matrix` exampleLibravatar Héctor Ramón Jiménez2024-04-301-6/+1
| |
| * Use shared `Cache` group in `the_matrix` exampleLibravatar Héctor Ramón Jiménez2024-04-301-15/+17
| |
| * Introduce `canvas::Cache` groupingLibravatar Héctor Ramón Jiménez2024-04-3010-101/+279
|/ | | | | Caches with the same `Group` will share their text atlas!
* Fix `text` and `triangle` uploads being dropped on `canvas` cache clearsLibravatar Héctor Ramón Jiménez2024-04-302-0/+2
|
* Merge pull request #2409 from iced-rs/rc-cache-evictionLibravatar Héctor Ramón2024-04-284-14/+140
|\ | | | | Retain caches in `iced_wgpu` as long as `Rc` values are alive
| * Create `the_matrix` exampleLibravatar Héctor Ramón Jiménez2024-04-272-0/+128
| |
| * Retain caches in `iced_wgpu` as long as `Rc` values are aliveLibravatar Héctor Ramón Jiménez2024-04-272-14/+12
|/ | | | | This allows reusing a `canvas::Cache` at no cost even if it is not presented every frame.
* Merge pull request #2408 from iced-rs/feature/hover-widgetLibravatar Héctor Ramón2024-04-272-12/+259
|\ | | | | `hover` widget
| * Propagate mouse movement and button releases unconditionally in `hover`Libravatar Héctor Ramón Jiménez2024-04-271-1/+8
| |
| * Fix top layer clipping in `hover` widgetLibravatar Héctor Ramón Jiménez2024-04-271-21/+24
| |
| * Fix ambiguous link in documentation of `hover` helperLibravatar Héctor Ramón Jiménez2024-04-271-0/+2
| |
| * Fix `overlay` behavior in `hover` widgetLibravatar Héctor Ramón Jiménez2024-04-271-11/+14
| |
| * Use `hover` widget in `bezier_tool` exampleLibravatar Héctor Ramón Jiménez2024-04-271-11/+15
| |