eglGetDisplay(EGL_DEFAULT_DISPLAY)

Thiago Milczarek SayĆ£o <[email protected]> Tue, 30 Apr 2024 09:58:32 -0300
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CAAP_wunz8kUJfKrMZ51_We=87a_AZzqV7ajTsQNEqpN_NWr_rw@mail.gmail.com>
--0000000000000ace7306174fee51
Content-Type: text/plain; charset="UTF-8"

Hi,

I'm looking the docs at
https://registry.khronos.org/EGL/sdk/docs/man/html/eglGetDisplay.xhtml

But I'm still in doubt how it actually works, especially on Mesa.

Will it detect which platform it's on if I pass EGL_DEFAULT_DISPLAY ? For
example, if I want to use the same code for Wayland and X11.

Thanks!

--0000000000000ace7306174fee51
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>I&#39;m looking the docs at</div><d=
iv><a href=3D"https://registry.khronos.org/EGL/sdk/docs/man/html/eglGetDisp=
lay.xhtml">https://registry.khronos.org/EGL/sdk/docs/man/html/eglGetDisplay=
.xhtml</a><br></div><div><br></div><div>But I&#39;m still in doubt how it a=
ctually works, especially on Mesa.</div><div><br></div><div>Will it detect =
which=C2=A0platform=C2=A0it&#39;s on if I pass EGL_DEFAULT_DISPLAY ? For ex=
ample, if I want to use the same code for Wayland and X11.</div><div><br></=
div><div>Thanks!</div><div><br></div></div>

--0000000000000ace7306174fee51--