RFR: 8329820: [Linux] Prefer EGL over GLX
Thiago Milczarek Sayao
tsayao at openjdk.org
Sat Apr 6 16:31:26 UTC 2024
GLX is X only while EGL is need for Wayland and also works with X.org.
I know there are limitations on Xorg and I still need to investigate it.
GLX replacement for Xorg is not mandatory - this can be further discussed.
This is a work in progress and it's on the first step (making it work).
See:
[Switching the Linux graphics stack from GLX to EGL](https://mozillagfx.wordpress.com/2021/10/30/switching-the-linux-graphics-stack-from-glx-to-egl/)
[Prefer EGL to GLX for the GL support on X11](https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3540)
-------------
Commit messages:
- - Review points
- Rework native library loading because it can now vary
- Refactor common functionality
- Try EGL and fallback to GLX
- Allow both EGL and GLX
- Allow both EGL and GLX
- Allow both EGL and GLX
- Allow both EGL and GLX
- Merge branch 'master' into egl
- Merge branch 'master' into egl
- ... and 1 more: https://git.openjdk.org/jfx/compare/eca32354...e8330501
Changes: https://git.openjdk.org/jfx/pull/1381/files
Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1381&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8329820
Stats: 2352 lines in 35 files changed: 1771 ins; 486 del; 95 mod
Patch: https://git.openjdk.org/jfx/pull/1381.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1381/head:pull/1381
PR: https://git.openjdk.org/jfx/pull/1381
More information about the openjfx-dev
mailing list