Skip to content

Commit

Permalink
wayland-egl: Remove EGL_EXT_present_opaque from client extension list
Browse files Browse the repository at this point in the history
   EGL_EXT_present_opaque is an EGL display extension, and was erroneously
   added to both the display extension list and the client extension
   list, causing a failure of the ES CTS on L4T's Jenkins server. This
   change removes it from the client extension list.
  • Loading branch information
Austin Shafer authored and Erik Kurzinger committed May 31, 2022
1 parent e1165ad commit c6fb3d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/wayland-egldisplay.c
Original file line number Diff line number Diff line change
Expand Up @@ -1020,16 +1020,16 @@ const char* wlEglQueryStringExport(void *data,

switch (name) {
case EGL_EXT_PLATFORM_PLATFORM_CLIENT_EXTENSIONS:
res = isEGL15 ? "EGL_EXT_present_opaque EGL_KHR_platform_wayland EGL_EXT_platform_wayland" :
"EGL_EXT_present_opaque EGL_EXT_platform_wayland";
res = isEGL15 ? "EGL_KHR_platform_wayland EGL_EXT_platform_wayland" :
"EGL_EXT_platform_wayland";
break;

case EGL_EXT_PLATFORM_DISPLAY_EXTENSIONS:
if (dpy == EGL_NO_DISPLAY) {
/* This should return all client extensions, which for now is
* equivalent to EXTERNAL_PLATFORM_CLIENT_EXTENSIONS */
res = isEGL15 ? "EGL_EXT_present_opaque EGL_KHR_platform_wayland EGL_EXT_platform_wayland" :
"EGL_EXT_present_opaque EGL_EXT_platform_wayland";
res = isEGL15 ? "EGL_KHR_platform_wayland EGL_EXT_platform_wayland" :
"EGL_EXT_platform_wayland";
} else {
/*
* Check whether the given display supports EGLStream
Expand Down

0 comments on commit c6fb3d3

Please sign in to comment.