diff --git a/src/backends/meta-egl-ext.h b/src/backends/meta-egl-ext.h index d93d757a7..8705e7d5b 100644 --- a/src/backends/meta-egl-ext.h +++ b/src/backends/meta-egl-ext.h @@ -66,6 +66,7 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYWAYLANDBUFFERWL) (EGLDisplay dpy, st #ifndef EGL_EXT_stream_acquire_mode #define EGL_EXT_stream_acquire_mode 1 #define EGL_CONSUMER_AUTO_ACQUIRE_EXT 0x332B +#define EGL_RESOURCE_BUSY_EXT 0x3353 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERACQUIREATTRIBEXTPROC) (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); #ifdef EGL_EGLEXT_PROTOTYPES EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireAttribEXT (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); diff --git a/src/backends/meta-egl.c b/src/backends/meta-egl.c index 92613db64..b618d97de 100644 --- a/src/backends/meta-egl.c +++ b/src/backends/meta-egl.c @@ -133,6 +133,8 @@ get_egl_error_str (EGLint error_number) break; case EGL_BAD_OUTPUT_LAYER_EXT: return "An EGLOutputLayerEXT argument does not name a valid EGL output layer."; + case EGL_RESOURCE_BUSY_EXT: + return "The operation could not be completed on the requested resource because it is temporary unavailable."; default: return "Unknown error"; break;