<div dir="ltr">I was looking for comments :)<br><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em dom., 31 de mar. de 2024 às 18:34, Thiago Milczarek Sayão <<a href="mailto:thiago.sayao@gmail.com">thiago.sayao@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<br><div><br></div><div>I am doing some efforts here:</div><div><a href="https://github.com/openjdk/jfx/pull/1381" target="_blank">https://github.com/openjdk/jfx/pull/1381</a><br></div><div><br></div><div>Why?</div><div><br></div><div>This is initial Wayland support work, since it will require EGL to draw to a Wayland surface. EGL is also supported on Xorg.</div><div>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.<br></div><div><br></div><div>The second step will be to implement a libwayland-client glass backend.</div><div><br></div><div>Some caveats I've found:<br></div><div>- PrismES2Defs.h -> too much #ifdefs <br></div><div>- Monocle also uses EGL so it feels somewhat duplicated</div><div>- 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.</div><div><br></div><div><br></div><div>-- Thiago.<br></div><div><br></div><div><br></div></div>
</blockquote></div>