-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
Implement an EGL driver #68944
Implement an EGL driver #68944
Conversation
04c8cfd
to
4724ec0
Compare
7a05e74
to
66547c9
Compare
Marking as a draft until I'm sure that EGL loading works well enough. |
66547c9
to
7f2c6d2
Compare
Seems to work fine now after a brief testing. |
Seems to work fine now after a brief testing. |
905902e
to
84d14a8
Compare
84d14a8
to
682f9f0
Compare
This is needed by Wayland and could potentially be used by other platforms too, such as Android. This driver has been written in a platform-agnostic way, requiring the implementing platform to create a platform-specific manager inheriting from the EGLManager class, implementing the `_get_platform_extension_*` methods. It also includes its own GLAD loader and some extra logic for loading it automatically.
Is it will be merged when #57025 will be ready? |
@stalkerg well it's needed for the Wayland backend to work so in one way or another... yes. Note though that this code has been also merged into #72831 which will probably get merged way before the Wayland PR is ready (time is little and this stuff takes time to polish), so this one might be closed if that happens. |
Since #72831 got merged, maybe we can rebase and see if there's any diff. |
This PR isn't meant to be merged as-is, as no current code references it.
This is needed by Wayland and could potentially be used by other platforms too, such as Android.
This driver has been written in a platform-agnostic way, requiring the implementing platform to create a platform-specific manager inheriting from the EGLManager class, implementing the
_get_platform_extension_*
methods.It also includes its GLAD loader, currently only checking the Wayland platform extension.