On Wed, 9 Oct 2024 13:27:02 GMT, Thiago Milczarek Sayao <tsa...@openjdk.org> 
wrote:

>> 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 two 
> additional commits since the last revision:
> 
>  - Remove unused externs
>  - Destroy DrawableInfo properly

I am still unsure whether we want to proceed with this at this time. Until we 
get to the point of knowing which direction we will go for an eventual pure 
Wayland port, this seems premature. If and when this does go forward, I would 
rather see EGL initially be done as a fallback, along with a switch to enable 
it, rather than introducing it and making it the default at the same time. That 
would be the usual way to introduce a new mode of operation like this.

@lukostyra and @arapte will want to comment as well.

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

PR Comment: https://git.openjdk.org/jfx/pull/1381#issuecomment-2433114037

Reply via email to