Commit graph

27 commits

Author SHA1 Message Date
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
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
bungoboingo
c4565759e4 Cleaned up namespaces re: PR comments. 2022-10-18 15:18:37 -07:00
shan
215e6c95be More import adjusting. 2022-10-07 13:21:32 -07:00
shan
cb7c467654 Fixed lint issues & cleaned up some documentation. 2022-10-06 07:28:05 -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
Richard
424e1d3fda Add Shader and Version
to simplify and constrain `program::create`
2022-01-19 22:08:41 -03: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
795da598e0 Update glow to 0.5 in iced_glow 2020-07-27 23:01:30 +02:00
Héctor Ramón Jiménez
94af348846 Rename Rectangle::round to snap
Also use `ceil` instead of `round`.
Closes #380.
2020-06-02 04:38:55 +02:00
Héctor Ramón Jiménez
d6bf8955db Use published glow and glow_glyph versions 2020-05-22 19:17:07 +02:00
Héctor Ramón Jiménez
1dd79c4697 Use built-in OpenGL multisampling in iced_glow 2020-05-22 19:15:39 +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
c5545c7a73 Implement MSAA for triangle meshes in iced_glow 2020-05-22 01:16:12 +02:00
Héctor Ramón Jiménez
bbfb1c040c Update to latest glow 2020-05-21 19:50:53 +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
720e7756f2 Move Layer to iced_graphics 2020-05-19 23:19:39 +02:00
Héctor Ramón Jiménez
05af8d00d4 Draft new iced_graphics crate 🎉 2020-05-19 17:15:44 +02:00
Héctor Ramón Jiménez
d4743183d4 Draft first working version of iced_glow 🎉 2020-05-19 14:23:28 +02:00