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

Replacing backend::egl with glutin #954

Open
i509VCB opened this issue Mar 18, 2023 · 0 comments
Open

Replacing backend::egl with glutin #954

i509VCB opened this issue Mar 18, 2023 · 0 comments

Comments

@i509VCB
Copy link
Member

i509VCB commented Mar 18, 2023

Since glutin 0.30 the library no longer depends on winit and is usable in any context where a RawDisplayHandle and RawWindowHandle is available. This would mean that Smithay would be able to delete the vast majority of it's own EGL code use glutin's code.

In the case of Smithay, we would only need to egl API from glutin: https://docs.rs/glutin/0.30.7/glutin/api/egl/index.html

There are some things we to add upstream to glutin in order to complete this:

And obviously not regress this issue: #447

We might not however be able to delete that module completely, but we can simply just provide extension traits and some other smaller things there.

cc @kchibisov, @Drakulix

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

No branches or pull requests

1 participant