Commit graph

2668 commits

Author SHA1 Message Date
Bingus
aabc4e87b5
Merge branch 'master' into fear/linear-gradients 2022-10-07 16:58:45 -07:00
shan
7a124476b1 Jumped the gun on pushing; one more readability update :P 2022-10-07 16:57:29 -07:00
shan
fd5e1e5ab0 Adjusted gradient transform function to be more readable. 2022-10-07 16:55:55 -07:00
shan
a4a1262fa2 Fixed import issue with canvas in the gradient mod for situations where canvas feature is not enabled. 2022-10-07 16:28:13 -07:00
shan
215e6c95be More import adjusting. 2022-10-07 13:21:32 -07:00
shan
3e600fe775 Adjusted reexports for clarity. 2022-10-07 13:10:37 -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
Héctor Ramón
77c838011f
Merge pull request #1458 from AlistairKeiller/master
Fix wgpu README supported backends
2022-10-07 12:25:07 +02: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
9c7bf417ac Added support for gradients to respect current frame transform. 2022-10-06 18:59:54 -07:00
Alistair Keiller
520907e997 remove iced 2022-10-06 11:27:45 -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
f4878a1a66 Changed tesselation functions to take Vertex2D builder instead of using lyon's builtin Point type to avoid extra copies. 2022-10-06 08:04:43 -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
Héctor Ramón
cd5a5f2ed2
Merge pull request #1331 from ThisIsRex/master
`is_selected` property for `Radio` `StyleSheet`
2022-10-05 19:15:14 +02:00
MG_REX
dbd76ea21c
Derive Clone and Copy for toggler::Appearance 2022-10-05 19:08:07 +02:00
MG_REX
d95c216b2d
Add is_selected argument in radio::StyleSheet 2022-10-05 19:07:02 +02: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
Héctor Ramón
2278bade55
Merge pull request #1305 from artursapek/canvas-touch
Expose touch events in canvas widget
2022-10-04 18:20:14 +02:00
Héctor Ramón Jiménez
8c74464b0d
Fix clippy lints 2022-10-04 11:53:03 +02:00
Héctor Ramón Jiménez
ce2c795bda
Replace voronoi crate with voronator 2022-10-04 11:50:32 +02:00
Héctor Ramón Jiménez
ddb8f5b96c
Finish multitouch example 2022-10-04 11:35:22 +02:00
Artur Sapek
9d6834f250
vornoi experiment 2022-10-04 11:24:10 +02:00
Artur Sapek
fe17641d46
Working multitouch example 2022-10-04 11:23:03 +02:00
Artur Sapek
4a3c3e2a18
expose touch module 2022-10-04 11:15:36 +02:00
Artur Sapek
388b3c3b33
expose touch events in canvas widget 2022-10-04 11:15:35 +02:00
Héctor Ramón
5f758d847f
Merge pull request #1450 from xTeKc/readme
update: match test badge
2022-10-03 20:06:58 +02:00
xTeKc
12ff7964e8 update: match test badge 2022-10-02 16:48:33 -04: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
0f434c74d6 Removed some leftover debugging. 2022-09-29 16:11:05 -07:00
shan
734557bda5 Fixed issue where stops could be declared out of order in the builder but must be sorted before being passed to shader. 2022-09-29 14:01:57 -07:00
shan
91b5ab6ab3 Merge remote-tracking branch 'origin/fear/linear-gradients' into fear/linear-gradients
# Conflicts:
#	graphics/src/widget/canvas/frame.rs
2022-09-29 11:18:58 -07:00
shan
40f45d7b7e Adds linear gradient support to 2D meshes in the canvas widget. 2022-09-29 11:15:35 -07:00
shan
00a8a16712 Adds linear gradient support to 2D meshes in the canvas widget. 2022-09-29 10:52:58 -07:00
Héctor Ramón
97f385e093
Merge pull request #1230 from kaimast/feat/ignored_events
Pass ignored events to program
2022-09-28 19:52:00 +02:00
Kai Mast
c9b8dbdb7a
Return ignored events in program::State::update 2022-09-28 19:36:55 +02:00
Héctor Ramón
77800bcf6d
Merge pull request #1196 from aentity/application_feature
Add application feature, which allows to build freestanding wgpu app
2022-09-26 18:20:27 +02:00
Héctor Ramón
4aea743999
Merge pull request #1139 from thenlevy/fix_wgpu_integration
Fix wgpu integration example
2022-09-26 16:02:27 +02:00
Héctor Ramón Jiménez
98b5832917
Remove application feature from iced crate 2022-09-26 15:58:12 +02:00
aentity
78c9d5bedf
Add application feature, which allows to build freestanding wgpu app 2022-09-26 15:57:30 +02:00
nlevy
0412718080
Recreate Viewport on RedrawRequested in integration_wgpu 2022-09-26 15:43:52 +02:00
Héctor Ramón
3c2a8b70ad
Merge pull request #1445 from clarkmoody/tweak-sysinfo
Tweak System Information
2022-09-26 13:48:34 +02:00