wgpu/.github
Marijn Suijten 690a3fb3fb
[wgpu-hal] Upgrade glutin to 0.31 (#6150)
* [wgpu-hal] Upgrade `glutin` to `0.31`

`glutin 0.30` onwards completely refactored its internals to no longer
be reliant on `winit`, as they (by default) have no direct relation
except needing to perform _some_ operations (platform-specific) at
strategic times in window creation and event loop handling.  Most of
that is handled by a new `glutin-winit` introp crate, while the core
`glutin` crate now exclusively focuses on wrapping the various OpenGL
context APIs (CGL, EGL, WGL, ...).

This does result in a little more verbose handling to get the right
`GLDisplay`, `GLConfig`, `GLContext` and `GLSurface`, but gives much
more control and makes all intricacies more explicit.  Most of the
code was copied from `glutin 0.31`'s example crate, with the code for
transparency support removed.

Note that the example doesn't at all handle event loop events properly:
resizes and redraws are not listened to, and mobile-specific surface
events (`Resumed` and `Suspended`) are equally ignored.

* [wgpu-hal] Implement proper `Surface` availability semantics in `raw-gles` example
2024-08-27 13:05:47 -04:00
..
ISSUE_TEMPLATE Misc Repo Cleanup Tasks (#4579) 2023-10-27 00:15:51 -04:00
workflows build(deps): bump crate-ci/typos from 1.23.6 to 1.24.1 (#6160) 2024-08-26 12:01:06 -04:00
CODEOWNERS Update CODEOWNERS 2023-10-27 15:49:15 -04:00
dependabot.yml [wgpu-hal] Upgrade glutin to 0.31 (#6150) 2024-08-27 13:05:47 -04:00
pull_request_template.md Fix typo in pull request template. (#4712) 2023-11-17 14:59:20 -05:00