Commit graph

23 commits

Author SHA1 Message Date
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 Jiménez
33c3c0c0aa
Group all solid triangles independently of color 2022-11-16 09:24:16 +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
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
bungoboingo
bb8d46a3fd Fixed fragment shader compatibility issues with GLES 3.0+ 2022-10-10 20:55:43 -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
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
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
40f45d7b7e Adds linear gradient support to 2D meshes in the canvas widget. 2022-09-29 11:15:35 -07:00
Richard
e31566d430 Improve shader version selection 2022-01-19 17:40:17 -03:00
Richard
381052c50e Split quad::Pipeline into core and compatibility 2022-01-19 17:40:17 -03:00
Héctor Ramón Jiménez
1916755b6b Limit border radius to max dimension in quad pipeline 2020-11-23 00:43:59 +01:00
Héctor Ramón Jiménez
e11b5c614f Revert "Target physical pixels for quads in iced_glow"
This reverts commit 45511a442f.
2020-05-28 22:57:30 +02:00
Héctor Ramón Jiménez
45511a442f Target physical pixels for quads in iced_glow 2020-05-27 23:17:21 +02:00
Héctor Ramón Jiménez
6f71a8e3d5 Use get_uniform_location for wider compatibility 2020-05-22 05:55:28 +02:00
Héctor Ramón Jiménez
60dcfc354e Draft triangle pipeline in iced_glow 2020-05-21 19:07:33 +02:00
Héctor Ramón Jiménez
d77492c0c3 Avoid relying origin_upper_left
It seems to cause considerable glitches when resizing.
2020-05-21 01:01:47 +02:00
Héctor Ramón Jiménez
d4743183d4 Draft first working version of iced_glow 🎉 2020-05-19 14:23:28 +02:00