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

OpenGL: Migrate code to use EGL instead of GLX/GLES #681

Open
kblaschke opened this issue Jan 7, 2023 · 0 comments
Open

OpenGL: Migrate code to use EGL instead of GLX/GLES #681

kblaschke opened this issue Jan 7, 2023 · 0 comments
Milestone

Comments

@kblaschke
Copy link
Member

kblaschke commented Jan 7, 2023

Currently, projectM uses GLX or GLES on Linux. Since both APIs are highly specialized (GLX for the X Window System/X11, GLES for embedded devices like RPi and also WebGL), plus future Linux desktops will at some point switch to Wayland (which doesn't support GLX at all and requires EGL to be used), it makes sense to remove any code that's specific to one of these APIs and fully migrate to the EGL API/headers.

Note: This change will require changes to applications using projectM, as they'd need to create an EGL context specifically. Because of this breaking change, I suggest to implement this feature alongside adding Vulkan/Metal rendering support and then update projectM to the next major version, as covered by issue #683.

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