Skip to content

Conversation

@notgull
Copy link
Member

@notgull notgull commented Apr 30, 2024

This commit bumps winit, which is used in some examples, to version
v0.30.

This new version comes with many new changes; mainly the move away from
closures towards applications. In order to work with this, I create a
simple "winit_app" module that allows the examples to simply and easily
create winit applications. It takes two closures: one that initializes
some state on resume, and another that handles events.

I've found this approach reduces diff noise by a lot.

Benchmarks still use deprecated functions for now.

WIP for now until I test it

This commit bumps winit, which is used in some examples, to version
v0.30.

This new version comes with many new changes; mainly the move away from
closures towards applications. In order to work with this, I create a
simple "winit_app" module that allows the examples to simply and easily
create winit applications. It takes two closures: one that initializes
some state on resume, and another that handles events.

I've found this approach reduces diff noise by a lot.

Benchmarks still use deprecated functions for now.

Signed-off-by: John Nunley <dev@notgull.net>
notgull added 4 commits April 29, 2024 18:00
Signed-off-by: John Nunley <dev@notgull.net>
Signed-off-by: John Nunley <dev@notgull.net>
Signed-off-by: John Nunley <dev@notgull.net>
Signed-off-by: John Nunley <dev@notgull.net>
@notgull notgull marked this pull request as ready for review April 30, 2024 01:40
@notgull notgull requested a review from john01dav as a code owner April 30, 2024 01:40
@notgull notgull requested review from daxpedda and ids1024 and removed request for ids1024 and john01dav April 30, 2024 01:40
notgull added 2 commits May 5, 2024 14:44
Signed-off-by: John Nunley <dev@notgull.net>
Signed-off-by: John Nunley <dev@notgull.net>
@notgull notgull requested a review from daxpedda May 6, 2024 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants