Ben Wallis
e9576edfef
Fixed iced_glow crate compilation when image feature is enabled and the svg feature is disabled
2022-12-11 12:23:04 +00:00
Héctor Ramón Jiménez
4c61f12768
Bump versions 🎉
2022-12-07 04:44:20 +01:00
Héctor Ramón Jiménez
b205a66347
Remove appearance from Handle
...
... and pass it directly to `Renderer::draw` instead.
2022-12-06 04:34:00 +01:00
Héctor Ramón Jiménez
4029a1cdaa
Merge branch 'master' into non-uniform-border-radius-for-quads
2022-12-02 18:53:21 +01:00
Héctor Ramón
67420cb1e4
Merge pull request #1557 from wash2/fix/glow-image-scissor
...
fix: scissor layer bounds for images when using glow
2022-11-29 20:28:06 +01:00
Ashley Wulber
efc00b2f41
fix: adjust y position of scissor rectangle
2022-11-23 14:46:57 -05:00
Ashley Wulber
84c5ee7fb2
cargo fmt
2022-11-23 13:40:06 -05:00
Ashley Wulber
751ffb5900
fix: scissor layout bounds for images
2022-11-23 13:37:59 -05:00
Héctor Ramón Jiménez
c81eaf5f8d
Replace magic constants in glow::triangle
2022-11-16 09:31:29 +01:00
Héctor Ramón Jiménez
33c3c0c0aa
Group all solid triangles independently of color
2022-11-16 09:24:16 +01:00
bungoboingo
365f37a3ae
Added conditional configurations for WASM target for gradients & storage buffers, since storage buffers are not supported on wgpu WASM target at the moment.
2022-11-10 15:25:54 -08:00
Héctor Ramón Jiménez
23299a555f
Bump versions 🎉
2022-11-10 18:15:10 +01:00
Héctor Ramón Jiménez
a6298ba12c
Fix outdated links in documentation
2022-11-10 18:14:40 +01:00
Héctor Ramón Jiménez
b0e8bafb6c
Bump versions 🎉
2022-11-10 01:20:11 +01:00
bungoboingo
9841d19381
Fixed issues with old GL versions ( <= 2.1 )
2022-11-08 13:41:44 -08:00
Héctor Ramón Jiménez
15f21641b7
Fix casing of border_radius in quad shader
2022-11-08 04:54:34 +01:00
Héctor Ramón Jiménez
dcec3fd792
Fix compatibility::quad pipeline in iced_glow
2022-11-08 04:54:28 +01:00
Héctor Ramón Jiménez
0a23f518c7
Remove redundant features in iced_wgpu and iced_glow
2022-11-05 03:26:19 +01:00
Héctor Ramón Jiménez
d3b613df44
Remove unnecessary dependencies from iced_glow
2022-11-05 03:22:06 +01:00
Héctor Ramón Jiménez
438f97a6d0
Use RGBA texture for image and svg pipelines
2022-11-05 03:20:00 +01:00
Héctor Ramón Jiménez
8ce8d374b1
Refactor some image traits a bit
...
- 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 03:19:38 +01:00
Ian Douglas Scott
5575e6ea08
Add image/svg support to iced_glow
...
https://github.com/iced-rs/iced/issues/674
Uses image/svg support in `iced_graphics`. The is not currently using an
atlas, and uses one texture/draw per image. This should be good enough
for now; supporting images with glow is better than not supporting them,
and if something else performs better, that improvement can be made
without any change to the public API.
2022-11-05 03:19:38 +01:00
Robert Krahn
c0596179bd
non uniform border radius for quads
2022-11-03 22:48:26 +01:00
Héctor Ramón Jiménez
f31c8f2504
Refactor imports of triangle modules in iced_glow and iced_wgpu
2022-11-03 06:05:23 +01:00
Héctor Ramón Jiménez
84d1b79fef
Move mesh::Style to triangle and reuse it in fill and stroke
2022-11-03 05:50:53 +01:00
Héctor Ramón Jiménez
7e22e2d452
Fix lints by clippy
2022-11-03 04:53:27 +01:00
Héctor Ramón Jiménez
9a02d60ba5
Convert colors to linear RGB in gradient pipelines
2022-11-03 04:41:27 +01:00
Héctor Ramón Jiménez
6246584209
Convert colors to linear RGB before uploading in solid pipelines
2022-11-03 04:37:23 +01:00
Héctor Ramón Jiménez
b957453404
Run cargo fmt
2022-11-03 04:35:16 +01:00
bungoboingo
67ab4fd8c0
Updated syntax for color stop iteration re: PR comments.
2022-10-18 18:05:53 -07:00
bungoboingo
c4565759e4
Cleaned up namespaces re: PR comments.
2022-10-18 15:18:37 -07:00
bungoboingo
bb8d46a3fd
Fixed fragment shader compatibility issues with GLES 3.0+
2022-10-10 20:55:43 -07:00
shan
215e6c95be
More import adjusting.
2022-10-07 13:21:32 -07:00
shan
87371ce934
Fixed an edge case where when gradient start/end are identical the GL fragment shader was not choosing the appropriate color.
2022-10-07 13:06:06 -07:00
shan
12a87c54eb
Added support for relative positioning of gradient fills. Addressed some PR feedback.
2022-10-07 12:01:07 -07:00
shan
f9a6efcaa0
Fixed some more imports/documentation.
2022-10-06 19:41:00 -07:00
shan
cb7c467654
Fixed lint issues & cleaned up some documentation.
2022-10-06 07:28:05 -07:00
shan
1eb8d972ba
Reduced memory transfer of OpenGL gradient uniform upload. Rearranged gradient uniforms on OpenGL side to be more performant.
2022-10-05 16:07:43 -07:00
shan
30432cbade
Readjusted namespaces, removed Geometry example as it's no longer relevant.
2022-10-05 10:49:58 -07:00
shan
6e7b3ced0b
Reworked wgpu buffers, updated glow side to have proper transform location storage, attempting to fix visibility modifiers, implemented some of the feedback received in initial PR.
2022-10-04 18:24:46 -07:00
shan
e25f3d3dea
Fixed issue where OpenGL would not render both shaders at once under certain circumstances.
2022-09-29 17:13:32 -07:00
shan
40f45d7b7e
Adds linear gradient support to 2D meshes in the canvas widget.
2022-09-29 11:15:35 -07:00
Héctor Ramón Jiménez
2065a40f64
Fix clippy lints for all crates and features
...
... and check those in CI as well!
2022-07-09 18:43:05 +02:00
Héctor Ramón Jiménez
2f76a10a1d
Fix further clippy lints
...
... and explicitly annotate crates as well.
2022-07-09 18:03:59 +02:00
Poly
15f794b7a8
Address Clippy lints
2022-07-09 17:07:38 +02:00
Héctor Ramón Jiménez
664251f3f5
Draft first-class Theme support
...
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-14 01:56:32 +02:00
Héctor Ramón Jiménez
27fdc70756
Merge branch 'master' into dev/system-information
2022-05-04 17:19:28 +02:00
Héctor Ramón Jiménez
d23026d2dd
Bump versions 🎉
2022-05-02 22:07:53 +02:00
Richard
a4477723d4
Add logging to window and context creation
2022-05-02 16:03:08 -03:00
Héctor Ramón Jiménez
ab71e8ad14
Fix typo in README of iced_glow
2022-05-02 20:36:12 +02:00