Prefer EGL over GLX on Linux
Thiago Milczarek Sayão
thiago.sayao at gmail.com
Mon Apr 1 20:47:56 UTC 2024
I was looking for comments :)
Em dom., 31 de mar. de 2024 às 18:34, Thiago Milczarek Sayão <
thiago.sayao at gmail.com> escreveu:
> Hi,
>
> I am doing some efforts here:
> https://github.com/openjdk/jfx/pull/1381
>
> Why?
>
> This is initial Wayland support work, since it will require EGL to draw to
> a Wayland surface. EGL is also supported on Xorg.
> The idea is to prefer EGL and fallback to GLX as it's done in Gtk, for
> example. I don't know of an exact scenario where EGL will fail - maybe very
> old graphics cards.
>
> The second step will be to implement a libwayland-client glass backend.
>
> Some caveats I've found:
> - PrismES2Defs.h -> too much #ifdefs
> - Monocle also uses EGL so it feels somewhat duplicated
> - The Library loading only supports one lib and then falls back to
> software - in this case it's a three-phase loading: EGL, GLX, then SW. I
> will probably have to touch other platform code to isolate this.
>
>
> -- Thiago.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20240401/f6f92d79/attachment.htm>
More information about the openjfx-dev
mailing list