RFR: 8329820: [Linux] Prefer EGL over GLX [v18]

Thiago Milczarek Sayao tsayao at openjdk.org
Wed Oct 9 10:23:40 UTC 2024


> Wayland implementation will require EGL. 
> 
> EGL works with Xorg as well. The idea is to be EGL first and if it fails, fallback to GLX. A force flag `prism.es2.forceGLX=true` is available.
> 
> 
> 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)

Thiago Milczarek Sayao has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 14 commits:

 - Destroy DrawableInfo properly
 - Merge branch 'master' into egl
   
   # Conflicts:
   #	tests/system/src/test/java/test/launchertest/Util.java
 - Fix crash when running `SetSceneScalingTest`
 - Merge branch 'master' into egl
 - Merge branch 'refs/heads/master' into egl
 - Merge branch 'refs/heads/master' into egl
 - Merge branch 'refs/heads/master' into egl
 - Merge branch 'refs/heads/master' into egl
 - Use prismES2EGLX11 as build name
 - Merge branch 'master' into egl
 - ... and 4 more: https://git.openjdk.org/jfx/compare/1637f775...099d406a

-------------

Changes: https://git.openjdk.org/jfx/pull/1381/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1381&range=17
  Stats: 2494 lines in 35 files changed: 1893 ins; 509 del; 92 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