-
Notifications
You must be signed in to change notification settings - Fork 60
Decouple display and window handles #92
Copy link
Copy link
Closed
Description
When user wants to deal with platform specific code they most of the time need raw display, like e.g. wl_display. However RawWindowHandle provides with both of them.
I'd suggest to logically split them into RawDisplayHandle and RawWindowHandle, where RawDisplayHandle would have only reference to display and RawWindowHandle could have only window, like wl_surface or be the way it is right now?
The issue I'm having is that I want Display on every platform, but I don't want surface, since the surface isn't yet created.
For example winit could implement raw_display_handle on event loop, so I can pass to e.g. glutin.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels