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
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 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
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
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
2c7c42ee93
Move image/svg handling into iced_graphics
...
The `TextureStore` trait is implemented by the atlas, and can also be
implemented in the glow renderer or in a software renderer.
The API here may be improved in the future, but API stability is
presumably not a huge issue since these types will only be used by
renderer backends.
2022-11-05 03:19:37 +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
921c94162e
Merge branch 'master' into fear/linear-gradients
2022-11-03 05:09:07 +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
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
Héctor Ramón Jiménez
20a0577034
Reuse last buffer in Frame if mesh_style matches
2022-11-03 04:33:54 +01:00
Héctor Ramón Jiménez
8f6af6bbfc
Fix inconsistent version format for raw-window-handle dependency
2022-11-01 19:20:27 +01:00
Héctor Ramón Jiménez
bea5882c58
Remove inconsistent wgpu imports
2022-11-01 19:20:27 +01:00
Wyatt Herkamp
0a12590b6f
Update wgpu to 0.14 and wgpu_glyph to 0.18
2022-11-01 19:20:23 +01:00
bungoboingo
c4565759e4
Cleaned up namespaces re: PR comments.
2022-10-18 15:18:37 -07:00
Bingus
aabc4e87b5
Merge branch 'master' into fear/linear-gradients
2022-10-07 16:58:45 -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
Alistair Keiller
c9641b0b5d
add a link to wgpu supported platforms list
2022-10-06 11:22:27 -07:00
Alistair Keiller
013c1f1f89
remove DX11 support from wgpu
2022-10-06 09:55:20 -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
f7ce7244d0
Adjusted gradient uniforms to be more tightly packed.
2022-10-05 11:32:59 -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
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
Héctor Ramón Jiménez
33a24b5821
Run cargo fmt
2022-07-09 17:07:40 +02:00
Poly
15f794b7a8
Address Clippy lints
2022-07-09 17:07:38 +02:00
Héctor Ramón Jiménez
fa55dff61d
Merge branch 'master' into theming
2022-07-08 19:31:45 +02:00
Héctor Ramón Jiménez
9adc20922d
Replace name abbreviation in iced_wgpu
2022-07-03 15:48:32 +02:00