summaryrefslogtreecommitdiffstats
path: root/graphics/src/image (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Don't convert svg to BGRA before passing to shaderLibravatar Ian Douglas Scott2022-11-041-9/+2
| | | | | Now that the shader is using RGBA, this incorrectly swaps the components.
* Replace `texture_store` and `store` with `storage`Libravatar Héctor Ramón Jiménez2022-11-052-9/+9
|
* Use RGBA texture for `image` and `svg` pipelinesLibravatar Héctor Ramón Jiménez2022-11-051-1/+1
|
* Refactor some `image` traits a bitLibravatar Héctor Ramón Jiménez2022-11-053-21/+58
| | | | | | | - 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`.
* Move image/svg handling into `iced_graphics`Libravatar Ian Douglas Scott2022-11-052-0/+419
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.