https://bugs.freedesktop.org/show_bug.cgi?id=103757
Bug ID: 103757
Summary: eglGetDisplay() is broken for Wayland
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: EGL/Wayland
Assignee: wayland-b...@lists.freedesktop.org
Reporter: m.olbr...@pengutronix.de
QA Contact: mesa-dev@lists.freedesktop.org
_eglNativePlatformDetectNativeDisplay() (called by eglGetDisplay()) detects
Wayland by checking if the native display object starts with a pointer to
wl_display_interface.
Unfortunately wl_display_interface is defined in both libwayland-server.so and
libwayland-client.so. libEGL links to both and in all my tests it always picks
the one from libwayland-server.so.
The wl_display object passed as native display however contains the version
from libwayland-client.so so the check fails.
There is an old thread about this[1] on the wayland-devel list, but it seems
nothing happened since then.
[1]
https://lists.freedesktop.org/archives/wayland-devel/2014-October/017783.html
--
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev