-
-
Notifications
You must be signed in to change notification settings - Fork 483
Description
This issue tracks the implementation of my proposed Glutin 0.23 API as well as any discussion wrt
the API. PRs implementing these changes should be made against the v0.23_reworks branch. Changes to winit should be made against the winit-glutin-next branch.
To test the changes locally, the following repositories must be
git clone git@github.com:rust-windowing/glutin.git --branch v0.23_reworks
git clone git@github.com:rust-windowing/glutin_interface.git
git clone git@github.com:rust-windowing/glutin_x11_sym.git
git clone git@github.com:rust-windowing/winit_types.git
git clone git@github.com:rust-windowing/glutin_sys.git
git clone git@github.com:goddessfreya/winit.git --branch winit-glutin-next
git clone git@github.com:goddessfreya/gbm.rs.git --branch glutin-fun
Changelog summary: https://github.com/rust-windowing/glutin/blob/v0.23_reworks/CHANGELOG.md
Proposed API: https://gentz.rocks/files/1580623488/target/doc/glutin/index.html
Implemented for:
- X11 - EGL ([Squashed] 0.23 Api Changes #1239)
- X11 - GLX ([Squashed] 0.23 Api Changes #1239)
- X11 - GLX/EGL Pixmaps ([Squashed] 0.23 Api Changes #1239)
- Linux - EGLMesaSurfaceless ([Squashed] 0.23 Api Changes #1239)
- Linux - EGLExtDevice ([Squashed] 0.23 Api Changes #1239)
- Linux - GBM ([Squashed] 0.23 Api Changes #1239)
- Wayland - EGL ([Squashed] 0.23 Api Changes #1239)
- OSMesa ([Squashed] 0.23 Api Changes #1239)
- Windows - EGL
- Windows - WGL
- Windows - WGL/EGL Pixmaps
- MacOS
- iOS
- Android (In progress: Glutin0.23 android #1274 )
Additional tasks:
- Get CI running for
glutin_sys,winit_types,glutin_x11_sym, andglutin_interface. - Publish version ones of those crates.
- On X11, if RANDR based scale factor is higher than 20 reset it to 1 winit#1403
- Implement glutin_interface on this crate. Smithay/gbm.rs#2
Originally intended to resolve #1140 and #1136, this set of changes has quickly spiraled into also covering #1243, #81, #501, and #466.
I wanted to have at least one implementation of the API before bugging people with it, and, well, now I got two of the major platforms down (Wayland and X11) as well as a handful of smaller targets on Linux.
Before progressing forward, I'd like to get some input on the API, as well as other people implementing the other platforms (I don't want to do them).
And now to CC anyone who I think might even be remotely interested: @aleksijuvani, @chrisduerr, @dvc94ch, @hatoo, @hecrj, @icefoxen, @katyo, @kchibisov, @Lokathor, @mb64, @mtak-, @murarth, @Osspial, @vberger, @vbogaevsky