aboutsummaryrefslogtreecommitdiff
path: root/mesalib/include/EGL/eglmesaext.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-07-12 07:54:33 +0200
committermarha <marha@users.sourceforge.net>2012-07-12 07:54:33 +0200
commit0d90d39cece3eb381fe59941059eca1782b556b4 (patch)
tree752bee3a7f4ed2d1a212714fd55be38dbfaeb7a4 /mesalib/include/EGL/eglmesaext.h
parent2bb6be5a068a918bf74a18a41ed1f2537cd68382 (diff)
parent165450290d6c26756ede118f52ba2164abce7c9a (diff)
downloadvcxsrv-0d90d39cece3eb381fe59941059eca1782b556b4.tar.gz
vcxsrv-0d90d39cece3eb381fe59941059eca1782b556b4.tar.bz2
vcxsrv-0d90d39cece3eb381fe59941059eca1782b556b4.zip
Merge remote-tracking branch 'origin/released'
Diffstat (limited to 'mesalib/include/EGL/eglmesaext.h')
-rw-r--r--mesalib/include/EGL/eglmesaext.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/mesalib/include/EGL/eglmesaext.h b/mesalib/include/EGL/eglmesaext.h
index 52dd5b108..74d8ced37 100644
--- a/mesalib/include/EGL/eglmesaext.h
+++ b/mesalib/include/EGL/eglmesaext.h
@@ -113,13 +113,27 @@ typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETDRMDISPLAYMESA) (int fd);
#define EGL_WL_bind_wayland_display 1
#define EGL_WAYLAND_BUFFER_WL 0x31D5 /* eglCreateImageKHR target */
+#define EGL_WAYLAND_PLANE_WL 0x31D6 /* eglCreateImageKHR target */
+
+#define EGL_WAYLAND_BUFFER_COMPONENTS_WL 0x31D7 /* eglQueryWaylandBufferWL attribute */
+
+#define EGL_WAYLAND_BUFFER_RGB_WL 0x31D8
+#define EGL_WAYLAND_BUFFER_RGBA_WL 0x31D9
+#define EGL_WAYLAND_BUFFER_Y_U_V_WL 0x31Da
+#define EGL_WAYLAND_BUFFER_Y_UV_WL 0x31Db
+#define EGL_WAYLAND_BUFFER_Y_XUXV_WL 0x31Dc
+
struct wl_display;
+struct wl_buffer;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglBindWaylandDisplayWL(EGLDisplay dpy, struct wl_display *display);
EGLAPI EGLBoolean EGLAPIENTRY eglUnbindWaylandDisplayWL(EGLDisplay dpy, struct wl_display *display);
+EGLAPI EGLBoolean EGLAPIENTRY eglQueryWaylandBufferWL(EGLDisplay dpy, struct wl_buffer *buffer, EGLint attribute, EGLint *value);
#endif
typedef EGLBoolean (EGLAPIENTRYP PFNEGLBINDWAYLANDDISPLAYWL) (EGLDisplay dpy, struct wl_display *display);
typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNBINDWAYLANDDISPLAYWL) (EGLDisplay dpy, struct wl_display *display);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYWAYLANDBUFFERWL) (EGLDisplay dpy, struct wl_buffer *buffer, EGLint attribute, EGLint *value);
+
#endif
#ifndef EGL_NOK_swap_region