aboutsummaryrefslogtreecommitdiffstats
path: root/docs/specs
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2012-08-16 17:28:19 -0500
committerDaniel Stone <[email protected]>2016-12-05 16:01:21 +0000
commit8ca14b04e118a92ba0cdd64b81f1cb8407136bce (patch)
tree52157ef3ef02474a33d62dca412f83928dea1e53 /docs/specs
parentd09da32cfa52d6d47c300996cbb2efbbcf6c9f46 (diff)
add EGL_TEXTURE_EXTERNAL_WL to WL_bind_wayland_display spec
Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Daniel Stone <[email protected]>
Diffstat (limited to 'docs/specs')
-rw-r--r--docs/specs/WL_bind_wayland_display.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/specs/WL_bind_wayland_display.spec b/docs/specs/WL_bind_wayland_display.spec
index 4057b4e4bec..785489088a0 100644
--- a/docs/specs/WL_bind_wayland_display.spec
+++ b/docs/specs/WL_bind_wayland_display.spec
@@ -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