mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 01:48:55 +00:00
egl: Add EGL_RESOURCE_BUSY_EXT error
This change adds both the error code and description for EGL_RESOURCE_BUSY_EXT, recently added to the EGL_EXT_stream_acquire_mode extension: https://github.com/aritger/eglstreams-kms-example/blob/master/proposed-extensions/EGL_EXT_stream_acquire_mode.txt https://bugzilla.gnome.org/show_bug.cgi?id=779112
This commit is contained in:
parent
09fa27cd09
commit
58043cbc8b
@ -66,6 +66,7 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYWAYLANDBUFFERWL) (EGLDisplay dpy, st
|
|||||||
#ifndef EGL_EXT_stream_acquire_mode
|
#ifndef EGL_EXT_stream_acquire_mode
|
||||||
#define EGL_EXT_stream_acquire_mode 1
|
#define EGL_EXT_stream_acquire_mode 1
|
||||||
#define EGL_CONSUMER_AUTO_ACQUIRE_EXT 0x332B
|
#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);
|
typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERACQUIREATTRIBEXTPROC) (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list);
|
||||||
#ifdef EGL_EGLEXT_PROTOTYPES
|
#ifdef EGL_EGLEXT_PROTOTYPES
|
||||||
EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireAttribEXT (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list);
|
EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireAttribEXT (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list);
|
||||||
|
@ -133,6 +133,8 @@ get_egl_error_str (EGLint error_number)
|
|||||||
break;
|
break;
|
||||||
case EGL_BAD_OUTPUT_LAYER_EXT:
|
case EGL_BAD_OUTPUT_LAYER_EXT:
|
||||||
return "An EGLOutputLayerEXT argument does not name a valid EGL output layer.";
|
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:
|
default:
|
||||||
return "Unknown error";
|
return "Unknown error";
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user