add EGL_TEXTURE_EXTERNAL_WL to WL_bind_wayland_display spec
authorRob Clark <robdclark@gmail.com>
Thu, 16 Aug 2012 22:28:19 +0000 (17:28 -0500)
committerDaniel Stone <daniels@collabora.com>
Mon, 5 Dec 2016 16:01:21 +0000 (16:01 +0000)
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
docs/specs/WL_bind_wayland_display.spec
include/EGL/eglmesaext.h

index 4057b4e4bece13eab2f5c30d5d8f26fccc0ebcc8..785489088a0e272aa5dc6f3f6ba5485bedf58702 100644 (file)
@@ -75,6 +75,7 @@ New Tokens
         EGL_TEXTURE_Y_U_V_WL                    0x31D7
         EGL_TEXTURE_Y_UV_WL                     0x31D8
         EGL_TEXTURE_Y_XUXV_WL                   0x31D9
+        EGL_TEXTURE_EXTERNAL_WL                 0x31DA
 
     Accepted in the <attribute> parameter of eglQueryWaylandBufferWL:
 
@@ -148,6 +149,10 @@ Additions to the EGL 1.4 Specification:
                 Two planes, samples Y from the first plane to r in
                 the shader, U and V from the second plane to g and a.
 
+        EGL_TEXTURE_EXTERNAL_WL
+                Treated as a single plane texture, but sampled with
+                samplerExternalOES according to OES_EGL_image_external
+
     After querying the wl_buffer layout, create EGLImages for the
     planes by calling eglCreateImageKHR with wl_buffer as
     EGLClientBuffer, EGL_WAYLAND_BUFFER_WL as the target, NULL
index 188452ee0fe9e5cf6d5c518a35283c667111eada..405d0e9ee4d9a12c4b07a755f90300d4b6548865 100644 (file)
@@ -52,6 +52,7 @@ extern "C" {
 #define EGL_TEXTURE_Y_U_V_WL            0x31D7
 #define EGL_TEXTURE_Y_UV_WL             0x31D8
 #define EGL_TEXTURE_Y_XUXV_WL           0x31D9
+#define EGL_TEXTURE_EXTERNAL_WL         0x31DA
 
 struct wl_display;
 struct wl_resource;