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

Integrate with raw-window-handle crate #112

Open
ebkalderon opened this issue Apr 21, 2021 · 0 comments
Open

Integrate with raw-window-handle crate #112

ebkalderon opened this issue Apr 21, 2021 · 0 comments

Comments

@ebkalderon
Copy link
Owner

ebkalderon commented Apr 21, 2021

Currently, this library does not provide any type-safe bindings for various kinds of window handles like we do with DevicePointer, opting to use a basic type alias instead for simplicity. Exposing such a type-safe wrapper has been a desirable goal since this library was first created. Thankfully, the existing raw-window-handle crate should fill this gap and appears to be used among several popular window libraries and graphics frameworks.

We could gate this with an off-by-default feature flag so that the extra dependency doesn't get pulled in unnecessarily.

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

No branches or pull requests

1 participant