You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Basically my dream is that
glutin
does not need to depend on a particular version ofwinit
, it just does the OpenGL context setup andwinit
's windowing and event loop and stuff is all independent of it.glutin
just takes araw-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 itsraw-window-handle
towinit
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.The text was updated successfully, but these errors were encountered: