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

Decouple this from winit #1243

Closed
icefoxen opened this issue Nov 30, 2019 · 1 comment
Closed

Decouple this from winit #1243

icefoxen opened this issue Nov 30, 2019 · 1 comment

Comments

@icefoxen
Copy link

Basically my dream is that glutin does not need to depend on a particular version of winit, it just does the OpenGL context setup and winit's windowing and event loop and stuff is all independent of it. glutin just takes a raw-window-handle and does its magic.

Per conversations on Discord, this is Tricky 'cause on some platforms the OpenGL context setup needs to happen at window creation time, you can't create a window and then throw an OpenGL context into it later. So glutin would need to create a window and then pass its raw-window-handle to winit for it to do its magic. For my purposes this seems fine, and apparently bullet point 2 in this issue has similar problems, so this may be something we want to do anyway.

@goddessfreya goddessfreya added this to the Next Release (v0.23) milestone Nov 30, 2019
@goddessfreya
Copy link
Contributor

Implemented for v0.24. See #1271. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants