[Mesa-dev] [Bug 103757] eglGetDisplay() is broken for Wayland
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Nov 15 12:03:13 UTC 2017
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-bugs at lists.freedesktop.org
Reporter: m.olbrich at pengutronix.de
QA Contact: mesa-dev at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171115/3add4105/attachment.html>
More information about the mesa-dev
mailing list