Module: Mesa Branch: master Commit: 8ca14b04e118a92ba0cdd64b81f1cb8407136bce URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ca14b04e118a92ba0cdd64b81f1cb8407136bce
Author: Rob Clark <robdcl...@gmail.com> Date: Thu Aug 16 17:28:19 2012 -0500 add EGL_TEXTURE_EXTERNAL_WL to WL_bind_wayland_display spec Signed-off-by: Rob Clark <robdcl...@gmail.com> Reviewed-by: Daniel Stone <dani...@collabora.com> --- docs/specs/WL_bind_wayland_display.spec | 5 +++++ include/EGL/eglmesaext.h | 1 + 2 files changed, 6 insertions(+) diff --git a/docs/specs/WL_bind_wayland_display.spec b/docs/specs/WL_bind_wayland_display.spec index 4057b4e..7854890 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 diff --git a/include/EGL/eglmesaext.h b/include/EGL/eglmesaext.h index 188452e..405d0e9 100644 --- a/include/EGL/eglmesaext.h +++ b/include/EGL/eglmesaext.h @@ -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; _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit