summaryrefslogtreecommitdiffstats
path: root/wgpu/src/image/mod.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-02-21Run `cargo fmt`Libravatar Héctor Ramón Jiménez1-1/+1
2024-11-05Update `wgpu` to `23.0`Libravatar Héctor Ramón Jiménez1-2/+2
2024-09-20Update `wgpu` to `22.0`Libravatar Héctor Ramón Jiménez1-0/+1
2024-09-20Update `wgpu` to `0.20.1`Libravatar Héctor Ramón Jiménez1-0/+4
2024-08-04Introduce `Svg` struct in `core::svg`Libravatar Héctor Ramón Jiménez1-10/+9
2024-08-04Introduce `Image` struct in `core::image`Libravatar Héctor Ramón Jiménez1-13/+6
2024-08-04Implement image support for `canvas` widgetLibravatar Héctor Ramón Jiménez1-4/+20
2024-05-06Fix windows fighting over shared `image::Cache`Libravatar Héctor Ramón Jiménez1-27/+11
Image caches are local to each window now.
2024-05-03Introduce dynamic `opacity` support for `Image` and `Svg`Libravatar Héctor Ramón Jiménez1-5/+17
2024-05-02Rename `global_scale` to `scale` in `wgpu::image`Libravatar Héctor Ramón Jiménez1-9/+3
2024-05-02Simplify image rotation API and its internalsLibravatar Héctor Ramón Jiménez1-18/+6
2024-05-02Add `Image` rotation supportLibravatar Héctor Ramón Jiménez1-9/+56
Co-authored-by: DKolter <68352124+DKolter@users.noreply.github.com>
2024-04-24Make image `Cache` eviction strategy less aggressive in `iced_wgpu`Libravatar Héctor Ramón Jiménez1-1/+1
Instead of trimming unconditionally at the end of a frame, we now trim the cache only when there is a cache miss. This way, images that are not visible but still a part of the layout will stay cached. Eviction will only happen when the images are not a part of the UI for two consectuive frames.
2024-04-05Decouple caching from layering and simplify everythingLibravatar Héctor Ramón Jiménez1-3/+4
2024-04-03Redesign `iced_wgpu` layering architectureLibravatar Héctor Ramón Jiménez1-252/+179
2024-03-29Use a `StagingBelt` in `iced_wgpu` for regular buffer uploadsLibravatar Héctor Ramón Jiménez1-12/+24
2024-03-20Fix empty `wgpu` draw calls in `image` pipelineLibravatar Héctor Ramón Jiménez1-2/+10
2024-02-19Use two layers for `image::atlas` only on `Gl` backendLibravatar Héctor Ramón Jiménez1-2/+6
2024-02-02Introduce `with_transformation` to `Renderer` traitLibravatar Héctor Ramón Jiménez1-2/+1
2023-11-11Fix unnecessary references in `iced_wgpu::image`Libravatar Héctor Ramón Jiménez1-3/+3
2023-11-11Refactor texture image filteringLibravatar Héctor Ramón Jiménez1-106/+132
- Support only `Linear` or `Nearest` - Simplify `Layer` groups - Move `FilterMethod` to `Image` and `image::Viewer`
2023-11-11Remove debug tracesLibravatar Remmirad1-2/+1
2023-11-11fix design for wgpu backendLibravatar Remmirad1-56/+77
2023-11-11Fix clippy + fmtLibravatar Remmirad1-18/+24
2023-11-11Implement texture filtering optionsLibravatar Remmirad1-24/+45
2023-09-24Reassign attribute locations for image shaderLibravatar Jim Eckerlein1-2/+7
2023-09-24Compute vertex position for image shaderLibravatar Jim Eckerlein1-77/+18
2023-05-19Avoid redundant `buffer::Buffer` importLibravatar Héctor Ramón Jiménez1-1/+1
2023-05-19Keep `image` pipeline decoupled from `quad` in `iced_wgpu`Libravatar Héctor Ramón Jiménez1-5/+37
2023-05-11Fix race condition when growing an `image::Atlas`Libravatar Héctor Ramón Jiménez1-2/+0
2023-05-11Added support for gradients as background variants + other optimizations.Libravatar Bingus1-39/+7
2023-04-01remove colons from shader labelsLibravatar David Huculak1-1/+1
2023-03-07Remove `image` abstractions in `iced_graphics`Libravatar Héctor Ramón Jiménez1-22/+17
2023-03-04Create `iced_widget` subcrate and re-organize the whole codebaseLibravatar Héctor Ramón Jiménez1-10/+11
2023-03-01Implement `Canvas` support for `iced_tiny_skia`Libravatar Héctor Ramón Jiménez1-1/+1
2023-02-24Reuse a `RenderPass` as much as possible in `iced_wgpu`Libravatar Héctor Ramón Jiménez1-7/+3
2023-02-24Fix needless borrows in `image::Pipeline`Libravatar Héctor Ramón Jiménez1-2/+2
2023-02-24Refactor `image::Pipeline` into `prepare` and `render` architectureLibravatar Héctor Ramón Jiménez1-116/+143
2023-01-09Restructured everything to make profiling a feature of iced_winit.Libravatar bungoboingo1-3/+3
2023-01-09Initial profiling support for Iced.Libravatar Bingus1-0/+6
2022-12-06Remove `appearance` from `Handle`Libravatar Héctor Ramón Jiménez1-1/+6
... and pass it directly to `Renderer::draw` instead.
2022-11-05Remove redundant features in `iced_wgpu` and `iced_glow`Libravatar Héctor Ramón Jiménez1-9/+9
2022-11-05Refactor some `image` traits a bitLibravatar Héctor Ramón Jiménez1-7/+11
- Use `Size<u32>` were applicable. - Rename `TextureStore` to `image::Storage`. - Rename `TextureStoreEntry` to `image::storage::Entry`. - Wire up `viewport_dimensions` to `iced_glow` for `Svg`.
2022-11-05Move image/svg handling into `iced_graphics`Libravatar Ian Douglas Scott1-13/+19
The `TextureStore` trait is implemented by the atlas, and can also be implemented in the glow renderer or in a software renderer. The API here may be improved in the future, but API stability is presumably not a huge issue since these types will only be used by renderer backends.
2022-07-09Address Clippy lintsLibravatar Poly1-4/+4
2022-07-02update `wgpu` to `0.13`Libravatar Cupnfish1-10/+12
2022-01-04Run `cargo fmt`Libravatar Héctor Ramón Jiménez1-2/+4
2022-01-04Update wgpu 0.12Libravatar Poly1-5/+3
2021-10-31Introduce first-class `svg` module in `iced_native`Libravatar Héctor Ramón Jiménez1-1/+1
2021-10-31Introduce first-class `image` module in `iced_native`Libravatar Héctor Ramón Jiménez1-1/+1