Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-03-04 | Create `iced_widget` subcrate and re-organize the whole codebase | 1 | -174/+0 | ||
2023-02-18 | Remove `Clone` bound for `Bytes::new` in `image` | 1 | -3/+3 | ||
2023-02-17 | Wrap image `Bytes` with `Arc` instead of `Data` | 1 | -35/+18 | ||
2023-02-17 | image: Allow any kind of data that implements `AsRef<[u8]>` for the image data | 1 | -7/+64 | ||
It's not required anywhere for it to be a plain slice or a `Vec` and this makes it possible to use data allocated in a different way without copying. | |||||
2023-01-27 | Fix: Clippy lint 'uninlined_format_args' | 1 | -2/+2 | ||
2022-11-05 | Use RGBA texture for `image` and `svg` pipelines | 1 | -5/+5 | ||
2022-11-05 | Refactor some `image` traits a bit | 1 | -2/+2 | ||
- 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-05 | Unify methods by leveraging `Into<Cow>` in `image` and `svg` | 1 | -23/+5 | ||
2022-10-03 | Use `Cow<'static, [u8]>` in image/svg, add constructors taking &[u8]` | 1 | -4/+27 | ||
This should resolve https://github.com/iced-rs/iced/issues/580 by providing a way to use an image included with `include_bytes!` without needing to copy it to a `Vec` to create an image handle. It would be nice if these methods could also be `const`, but that isn't possible due to the hashing being done. This is technically a breaking change since `Handle::data()` is public. But if that is used, it's most likely in used somewhere that only relies on the type derefing to `&[u8]`. | |||||
2022-04-30 | Fix broken intra-doc links in documentation | 1 | -2/+2 | ||
2021-12-10 | Decouple the image Handle type from the iced_native implementation | 1 | -2/+7 | ||
2021-11-04 | Write documentation for `iced_native::image` | 1 | -3/+5 | ||
2021-10-31 | Introduce first-class `image` module in `iced_native` | 1 | -0/+122 | ||