Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #1453 from ids1024/cow | 2022-11-05 | 2 | -8/+14 | |
|\ | | | | | Use `Cow<'static, [u8]>` in image/svg, add constructors taking &[u8]` | ||||
| * | Unify methods by leveraging `Into<Cow>` in `image` and `svg` | 2022-11-05 | 2 | -32/+7 | |
| | | |||||
| * | Use `Cow<'static, [u8]>` in image/svg, add constructors taking &[u8]` | 2022-10-03 | 2 | -6/+37 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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]`. | ||||
* | | Merge pull request #1443 from traxys/div_canvas | 2022-11-05 | 5 | -7/+38 | |
|\ \ | | | | | | | Allow to replace an element instead of append to body for web rendering | ||||
| * | | Allow providing a DOM identifier as a `target` for Wasm | 2022-11-05 | 5 | -8/+34 | |
| | | | |||||
| * | | Allow to replace an element instead of append to body | 2022-11-05 | 1 | -3/+8 | |
|/ / | |||||
* | | Merge pull request #1448 from bungoboingo/fear/linear-gradients | 2022-11-03 | 47 | -971/+2234 | |
|\ \ | | | | | | | Add linear gradient support to canvas widget | ||||
| * | | Refactor imports of `triangle` modules in `iced_glow` and `iced_wgpu` | 2022-11-03 | 2 | -14/+13 | |
| | | | |||||
| * | | Remove unnecessary `pub(crate)` in `widget::canvas::frame` | 2022-11-03 | 1 | -5/+2 | |
| | | | |||||
| * | | Refactor imports of `widget::canvas::frame` in `iced_graphics` | 2022-11-03 | 1 | -7/+7 | |
| | | | |||||
| * | | Move re-export in `widget::canvas` in `iced_graphics` | 2022-11-03 | 1 | -1/+1 | |
| | | | |||||
| * | | Fix documentation example of `Canvas` | 2022-11-03 | 1 | -5/+9 | |
| | | | | | | | | | | | | ... so it makes sense when seen from the `iced` crate. | ||||
| * | | Refactor imports in `widget::canvas` in `iced_graphics` | 2022-11-03 | 1 | -4/+3 | |
| | | | |||||
| * | | Move `mesh::Style` to `triangle` and reuse it in `fill` and `stroke` | 2022-11-03 | 10 | -98/+72 | |
| | | | |||||
| * | | Export `Gradient` in `iced_graphics` root | 2022-11-03 | 1 | -0/+1 | |
| | | | |||||
| * | | Remove blank line if `layer::mesh` in `iced_graphics` | 2022-11-03 | 1 | -1/+0 | |
| | | | |||||
| * | | Refactor exports in `graphics::layer` | 2022-11-03 | 1 | -5/+7 | |
| | | | |||||
| * | | Refactor imports in `solar_system` example | 2022-11-03 | 1 | -11/+12 | |
| | | | |||||
| * | | Move `Position` and `Location` to `gradient` module | 2022-11-03 | 2 | -90/+92 | |
| | | | |||||
| * | | Merge branch 'master' into fear/linear-gradients | 2022-11-03 | 26 | -62/+799 | |
| |\ \ | |||||
| * | | | Reuse last set pipeline for `triangle` in `iced_wgpu` | 2022-11-03 | 3 | -2/+33 | |
| | | | | |||||
| * | | | Rename `buffers` module to `buffer` | 2022-11-03 | 7 | -66/+66 | |
| | | | | | | | | | | | | | | | | ... and move `StaticBuffer` to nested `static` module | ||||
| * | | | Fix lints by `clippy` | 2022-11-03 | 9 | -28/+20 | |
| | | | | |||||
| * | | | Fix `multitouch` example | 2022-11-03 | 1 | -2/+3 | |
| | | | | |||||
| * | | | Convert colors to linear RGB in `gradient` pipelines | 2022-11-03 | 2 | -12/+13 | |
| | | | | |||||
| * | | | Convert colors to linear RGB before uploading in `solid` pipelines | 2022-11-03 | 2 | -5/+9 | |
| | | | | |||||
| * | | | Run `cargo fmt` | 2022-11-03 | 17 | -110/+98 | |
| | | | | |||||
| * | | | Reuse last buffer in `Frame` if `mesh_style` matches | 2022-11-03 | 4 | -42/+53 | |
| | | | | |||||
| * | | | Documentation changes | 2022-10-19 | 1 | -1/+4 | |
| | | | | |||||
| * | | | Updated syntax for color stop iteration re: PR comments. | 2022-10-18 | 1 | -2/+1 | |
| | | | | |||||
| * | | | Changed gradient builder to be more clear about what caused certain errors. | 2022-10-18 | 1 | -22/+30 | |
| | | | | |||||
| * | | | Cleaned up namespaces re: PR comments. | 2022-10-18 | 13 | -161/+158 | |
| | | | | |||||
| * | | | Fixed fragment shader compatibility issues with GLES 3.0+ | 2022-10-10 | 2 | -14/+14 | |
| | | | | |||||
| * | | | Merge branch 'master' into fear/linear-gradients | 2022-10-07 | 14 | -12/+257 | |
| |\ \ \ | |||||
| * | | | | Jumped the gun on pushing; one more readability update :P | 2022-10-07 | 1 | -3/+3 | |
| | | | | | |||||
| * | | | | Adjusted gradient transform function to be more readable. | 2022-10-07 | 4 | -28/+25 | |
| | | | | | |||||
| * | | | | Fixed import issue with canvas in the gradient mod for situations where ↵ | 2022-10-07 | 5 | -33/+27 | |
| | | | | | | | | | | | | | | | | | | | | canvas feature is not enabled. | ||||
| * | | | | More import adjusting. | 2022-10-07 | 4 | -21/+20 | |
| | | | | | |||||
| * | | | | Adjusted reexports for clarity. | 2022-10-07 | 3 | -4/+3 | |
| | | | | | |||||
| * | | | | Fixed an edge case where when gradient start/end are identical the GL ↵ | 2022-10-07 | 1 | -13/+19 | |
| | | | | | | | | | | | | | | | | | | | | fragment shader was not choosing the appropriate color. | ||||
| * | | | | Added support for relative positioning of gradient fills. Addressed some PR ↵ | 2022-10-07 | 8 | -54/+182 | |
| | | | | | | | | | | | | | | | | | | | | feedback. | ||||
| * | | | | Fixed some more imports/documentation. | 2022-10-06 | 12 | -26/+28 | |
| | | | | | |||||
| * | | | | Fixed some imports/documentation. | 2022-10-06 | 3 | -7/+4 | |
| | | | | | |||||
| * | | | | Added support for gradients to respect current frame transform. | 2022-10-06 | 7 | -56/+93 | |
| | | | | | |||||
| * | | | | Changed tesselation functions to take Vertex2D builder instead of using ↵ | 2022-10-06 | 1 | -17/+31 | |
| | | | | | | | | | | | | | | | | | | | | lyon's builtin Point type to avoid extra copies. | ||||
| * | | | | Fixed lint issues & cleaned up some documentation. | 2022-10-06 | 24 | -40/+33 | |
| | | | | | |||||
| * | | | | Reduced memory transfer of OpenGL gradient uniform upload. Rearranged ↵ | 2022-10-05 | 7 | -126/+81 | |
| | | | | | | | | | | | | | | | | | | | | gradient uniforms on OpenGL side to be more performant. | ||||
| * | | | | Adjusted gradient uniforms to be more tightly packed. | 2022-10-05 | 2 | -31/+37 | |
| | | | | | |||||
| * | | | | Fixed issue with offsets not being reset properly leading to borked draws. | 2022-10-05 | 2 | -2/+10 | |
| | | | | | |||||
| * | | | | Readjusted namespaces, removed Geometry example as it's no longer relevant. | 2022-10-05 | 27 | -625/+394 | |
| | | | | |