Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #70

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

linkmauve
Copy link

@linkmauve linkmauve commented Apr 27, 2024

Supersedes #69, while also updating glutin to 0.31 and winit to 0.30.

These currently require raw-window-handle to be at version 0.5 to interoperate, until glutin gets updated to use 0.6.

I had to remove support for headless rendering, but will try to add that back at some point, if possible using EGL_KHR_surfaceless_context to avoid the dependency on winit in that case.

The event loop now runs forever and gets started in main(), instead of the previous way where it ran on demand from the GltfViewer. This accommodates for platforms which don’t let us run it on demand.

The second commit implements touchpad gestures, and has been tested on Wayland against rust-windowing/winit#3656

spearman and others added 2 commits January 29, 2023 12:42
These currently require raw-window-handle to be at version 0.5 to
interoperate, until glutin gets updated to use 0.6.

I had to remove support for headless rendering, but will try to add that
back at some point, if possible using EGL_KHR_surfaceless_context to
avoid the dependency on winit in that case.

The event loop now runs forever and gets started in main(), instead of
the previous way where it ran on demand from the GltfViewer.  This
accommodates for platforms which don’t let us run it on demand.
@linkmauve linkmauve mentioned this pull request Apr 27, 2024
This has only been tested on Wayland against
rust-windowing/winit#3656 and allows much nicer
interactions when using a touchpad.

The values have been chosen based on what felt pleasant to use on my
Thinkpad x280, I haven’t given it much thought otherwise, and I expect
other touchpads would feel different.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants