Commit graph

13 commits

Author SHA1 Message Date
bungoboingo
9841d19381 Fixed issues with old GL versions ( <= 2.1 ) 2022-11-08 13:41:44 -08: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
b957453404
Run cargo fmt 2022-11-03 04:35:16 +01:00
shan
3e600fe775 Adjusted reexports for clarity. 2022-10-07 13:10:37 -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
9c7bf417ac Added support for gradients to respect current frame transform. 2022-10-06 18:59:54 -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
5d0fffc626 Fixed some importing issues since you can use a Shader::Gradient outside a Canvas widget, where it was previously only accessible. 2022-09-30 10:27:00 -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