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.
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