After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772422 - Use eglGetPlatformDisplay
Use eglGetPlatformDisplay
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2016-10-04 17:22 UTC by Adam Jackson
Modified: 2017-02-07 13:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
0001-Use-eglGetPlatformDisplay.patch (1.69 KB, patch)
2016-10-04 17:22 UTC, Adam Jackson
none Details | Review
0001-Use-eglGetPlatformDisplay.patch (4.05 KB, patch)
2016-10-11 14:33 UTC, Adam Jackson
committed Details | Review

Description Adam Jackson 2016-10-04 17:22:07 UTC
Created attachment 336922 [details] [review]
0001-Use-eglGetPlatformDisplay.patch

Use the API that doesn't force libEGL to guess what kind of display it's been handed.
Comment 1 Adam Jackson 2016-10-11 14:33:23 UTC
Created attachment 337441 [details] [review]
0001-Use-eglGetPlatformDisplay.patch

Updated version is more paranoid about extension checks and will fall back to the EXT extension if the KHR one isn't available.
Comment 2 Simon McVittie 2017-02-07 11:02:38 UTC
According to https://bugs.debian.org/854446 this is necessary when using a Mesa built with libglvnd.
Comment 3 Rui Matos 2017-02-07 13:39:23 UTC
Review of attachment 337441 [details] [review]:

Sorry that this got forgotten. It looks fine, thanks.

I'll push both changes to stable but only the cogl-winsys-egl-x11 part to master since we already have equivalent code in the native renderer there