diff options
author | Arnaud Vrac <avrac@freebox.fr> | 2014-08-25 20:56:45 +0200 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2014-08-27 16:44:31 +0300 |
commit | 3c40f368eb662299ac4cf17f15f6cb8487ce081d (patch) | |
tree | ec46a9bc6298b5fd0b76b0d42ad56598fead5620 /src | |
parent | 38d90be5bbe8fe25aee762228b80aa0bb385f8f9 (diff) | |
download | weston-3c40f368eb662299ac4cf17f15f6cb8487ce081d.tar.gz |
nested: add missing egl extension declaration
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/weston-egl-ext.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/weston-egl-ext.h b/src/weston-egl-ext.h index 8ddf97f0..48883233 100644 --- a/src/weston-egl-ext.h +++ b/src/weston-egl-ext.h @@ -51,7 +51,15 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQueryWaylandBufferWL(EGLDisplay dpy, struct wl_ 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_resource *buffer, EGLint attribute, EGLint *value); +#endif + +#ifndef EGL_WL_create_wayland_buffer_from_image +#define EGL_WL_create_wayland_buffer_from_image 1 +#ifdef EGL_EGLEXT_PROTOTYPES +EGLAPI struct wl_buffer * EGLAPIENTRY eglCreateWaylandBufferFromImageWL(EGLDisplay dpy, EGLImageKHR image); +#endif +typedef struct wl_buffer * (EGLAPIENTRYP PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWL) (EGLDisplay dpy, EGLImageKHR image); #endif #ifndef EGL_TEXTURE_EXTERNAL_WL |