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

Enable transparent background support in our X11 EGL backend. #18

Closed
nullgemm opened this issue Nov 5, 2023 · 1 comment
Closed

Enable transparent background support in our X11 EGL backend. #18

nullgemm opened this issue Nov 5, 2023 · 1 comment

Comments

@nullgemm
Copy link
Owner

nullgemm commented Nov 5, 2023

Currently, it is not possible to get a transparent background when using EGL with X11. This issue has been known since forever and a fix was already in development when this project started four years ago. At the time of writing, it is still being discussed.

Why is this still not fixed?

We need to wait for a fix to be merged in mesa. Discussion about it is happening here:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9989

@nullgemm
Copy link
Owner Author

Mesa PR #9989 finally got approved last saturday after 11 years of development, so I implemented EGL transparency in 3eccc34. Until the next mesa release, it is possible to test this change easily under Arch using Laurent Carlier's mesa-git Pacman repo. For compatibility reasons, we will keep falling back to opaque contexts for the next few years in case people run old mesa versions.

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