diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2012-07-10 15:51:13 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-07-10 15:56:12 -0400 |
commit | 76574d1fb7457a0aef14d2fcca6c66f3ffe97cf9 (patch) | |
tree | 7e6135483a17de9b81c5ba71661febabfaf0235d /src/weston-egl-ext.h | |
parent | faf91854a857900f0f92710bd90522aa23d59723 (diff) |
Update weston-egl-ext.h with EGL_WL_bind_wayland_display changes
Diffstat (limited to 'src/weston-egl-ext.h')
-rw-r--r-- | src/weston-egl-ext.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/weston-egl-ext.h b/src/weston-egl-ext.h index cd8995f..100b9f1 100644 --- a/src/weston-egl-ext.h +++ b/src/weston-egl-ext.h @@ -34,13 +34,27 @@ #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 #endif |