Commit graph

64 commits

Author SHA1 Message Date
bungoboingo
4b6d3797d4
Restructured everything to make profiling a feature of iced_winit. 2023-01-09 18:52:38 +01:00
Bingus
c5cd236b73
Initial profiling support for Iced. 2023-01-09 18:52:38 +01:00
Héctor Ramón Jiménez
6bb01b7276
Fix clippy lints for Rust 1.66 2022-12-20 11:31:25 +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
93e309f491
Reuse last set pipeline for triangle in iced_wgpu 2022-11-03 05:06:09 +01:00
Héctor Ramón Jiménez
99cf98971d
Rename buffers module to buffer
... and move `StaticBuffer` to nested `static` module
2022-11-03 05:00:35 +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
b957453404
Run cargo fmt 2022-11-03 04:35:16 +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
f9a6efcaa0 Fixed some more imports/documentation. 2022-10-06 19:41:00 -07:00
shan
72feba51be Fixed some imports/documentation. 2022-10-06 19:13:40 -07:00
shan
cb7c467654 Fixed lint issues & cleaned up some documentation. 2022-10-06 07:28:05 -07:00
shan
e540b7f642 Fixed issue with offsets not being reset properly leading to borked draws. 2022-10-05 11:23:36 -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
0f434c74d6 Removed some leftover debugging. 2022-09-29 16:11:05 -07:00
shan
40f45d7b7e Adds linear gradient support to 2D meshes in the canvas widget. 2022-09-29 11:15:35 -07:00
Poly
15f794b7a8
Address Clippy lints 2022-07-09 17:07:38 +02:00
Cupnfish
c148557cab update wgpu to 0.13 2022-07-02 15:39:42 +08:00
Cory Forsstrom
aae880ca5d Fix alpha blending for wgpu msaa 2022-06-16 12:26:03 -07:00
Poly
23ef0143ed
Update wgpu 0.12 2022-01-04 16:15:44 +07:00
Poly
18753b77fc wgpu: Update to 0.10 2021-08-19 03:06:38 +02:00
Poly
a53e7559fe Use vertex_attr_array macro 2021-06-22 11:23:11 +02:00
Héctor Ramón
ebec84ea7c Revert "Remove padding from triangle"
This reverts commit 2d549d806c.
2021-05-21 20:29:17 +07:00
Dispersia
2d549d806c Remove padding from triangle 2021-05-19 21:09:19 -07:00
Héctor Ramón
cf6af4c256 Use latest wgpu releases instead of patched sources 2021-05-19 17:18:43 +07:00
Héctor Ramón
8b7452a55d Fix formatting with cargo fmt 2021-05-19 16:26:04 +07:00
Dispersia
c719091c3d Add staging belt fix 2021-04-12 22:06:16 -07:00
Dispersia
9a2c78c405 Upgrade wgpu 2021-04-11 18:55:57 -07:00
Héctor Ramón Jiménez
ffdf87fbe2 Use lowercase in wgpu labels for consistency 2021-02-06 15:39:06 +01:00
Poly
e2595ac0aa [wgpu 0.7] Update triangle.rs 2021-02-03 20:06:07 +01:00
Héctor Ramón Jiménez
9d4f664c94 Update bytemuck and remove zerocopy in iced_wgpu 2020-11-10 20:06:24 +01:00
Héctor Ramón Jiménez
44118263b5 Add labels to iced_wgpu internals 2020-08-31 14:41:41 +02:00
Héctor Ramón Jiménez
07880c392c Turn consecutive if-lets into pattern match 2020-08-27 19:40:42 +02:00
Héctor Ramón Jiménez
7559e4fb30 Set offsets in buffer slices in iced_wgpu 2020-08-27 19:35:24 +02:00
Héctor Ramón Jiménez
8d605be4e3 Use wgpu::Color::TRANSPARENT 2020-08-27 19:30:56 +02:00
Héctor Ramón Jiménez
b689778ed9 Remove redundant depth bias fields in iced_wgpu 2020-08-27 19:15:05 +02:00
Héctor Ramón Jiménez
67d90e3946 Update wgpu to 0.6 in iced_wgpu 2020-08-27 13:03:42 +02:00
Héctor Ramón Jiménez
ab53df8e9d Recreate uniforms BindGroup when necessary 2020-06-23 21:11:13 +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
1dd79c4697 Use built-in OpenGL multisampling in iced_glow 2020-05-22 19:15:39 +02:00
Héctor Ramón Jiménez
a1a5fcfd46 Refactor Viewport and Compositor 2020-05-20 20:28:35 +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
38c4dd5fdb Reduce initial size of triangle buffers in iced_wgpu 2020-04-29 23:49:37 +02:00
Héctor Ramón Jiménez
e65585ae17 Clip and cull Mesh2D primitives in iced_wgpu 2020-04-28 04:41:09 +02:00