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

Thiago Milczarek Sayao tsayao at openjdk.org
Tue Apr 30 20:03:18 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 incrementally with four additional commits since the last revision:

 - Rollback file
 - rollback file
 - - Rollback EGL_DEFAULT_DISPLAY
   - Don't trust eglGetDisplay without platform
   - Rollback Use PBuffer as the dummy surface
 - Revert "- Use EGL_DEFAULT_DISPLAY"
   
   This reverts commit 0c78b7490aae221b8441028323bdfa7803e6252e.

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1381/files
  - new: https://git.openjdk.org/jfx/pull/1381/files/0c78b749..619ae9c4

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1381&range=07
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1381&range=06-07

  Stats: 115 lines in 11 files changed: 52 ins; 29 del; 34 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