Héctor Ramón Jiménez
b0e8bafb6c
Bump versions 🎉
2022-11-10 01:20:11 +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
0a23f518c7
Remove redundant features in iced_wgpu and iced_glow
2022-11-05 03:26:19 +01:00
Héctor Ramón Jiménez
d3b613df44
Remove unnecessary dependencies from iced_glow
2022-11-05 03:22:06 +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
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
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
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
bungoboingo
67ab4fd8c0
Updated syntax for color stop iteration re: PR comments.
2022-10-18 18:05:53 -07:00
bungoboingo
c4565759e4
Cleaned up namespaces re: PR comments.
2022-10-18 15:18:37 -07:00
bungoboingo
bb8d46a3fd
Fixed fragment shader compatibility issues with GLES 3.0+
2022-10-10 20:55:43 -07:00
shan
215e6c95be
More import adjusting.
2022-10-07 13:21:32 -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
f9a6efcaa0
Fixed some more imports/documentation.
2022-10-06 19:41:00 -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
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
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
Poly
15f794b7a8
Address Clippy lints
2022-07-09 17:07:38 +02:00
Héctor Ramón Jiménez
664251f3f5
Draft first-class Theme support
...
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-14 01:56:32 +02:00
Héctor Ramón Jiménez
27fdc70756
Merge branch 'master' into dev/system-information
2022-05-04 17:19:28 +02:00
Héctor Ramón Jiménez
d23026d2dd
Bump versions 🎉
2022-05-02 22:07:53 +02:00
Richard
a4477723d4
Add logging to window and context creation
2022-05-02 16:03:08 -03:00
Héctor Ramón Jiménez
ab71e8ad14
Fix typo in README of iced_glow
2022-05-02 20:36:12 +02:00
Héctor Ramón Jiménez
aecbd46123
Replace hecrj in links with iced-rs
2022-05-02 20:26:59 +02:00
Héctor Ramón Jiménez
ac35fe3edf
Point repository links to 0.4 branch in documentation
2022-04-30 13:54:07 +02:00
Richard
005e516b5e
Rename get_information to fetch_information
2022-04-27 15:42:53 -03:00
Richard
984d1f375e
Move compositor module access from window to crate
2022-04-27 15:25:16 -03:00
Richard
5be1ac18fe
Rename GraphicsInformation to Information
2022-04-26 19:09:09 -03:00
Richard
2b4d8a7b26
Implement GraphicsInformation for iced_glow
2022-04-26 18:58:48 -03:00
Richard
764b424dfc
Add logging to window and context creation
2022-04-26 18:54:01 -03:00
Héctor Ramón Jiménez
12c1a3f829
Remove redundant widget modules in subcrates
...
Instead, we can define the type aliases just once in the root crate!
2022-03-09 14:10:15 +07:00
Héctor Ramón Jiménez
adce9e0421
Update Rust edition to 2021 🎉
2022-02-09 17:57:44 +07:00
Héctor Ramón Jiménez
1a737b8e20
Replace Zulip links with Discord
2022-01-31 21:18:39 +07:00
Kai Mast
f3fb00f838
Use glow_glyp in opengl_integration example
2022-01-28 21:37:16 +07:00
Vladyslav Nikonov
bdca20fc4a
Experimental wgpu WebGL backend support
...
- Added missing `draw_cache_align_4x4` call for `brush_glyph` on wasm32 target
- Added WebGL support to `integratio_wgpu` example
- Fixed test.yml CI workflow
- Removed spir-v shader in `integration_wgpu`; Fixed formatting
- Removed redundant `BoxStream` typedef
2022-01-28 21:37:14 +07:00
Richard
424e1d3fda
Add Shader and Version
...
to simplify and constrain `program::create`
2022-01-19 22:08:41 -03:00
Richard
46fb27b104
Update documentation for built-in renderers
2022-01-19 17:40:17 -03:00
Richard
01f67a2c1f
Export glow in iced_glow
2022-01-19 17:40:17 -03:00
Richard
e31566d430
Improve shader version selection
2022-01-19 17:40:17 -03:00