diff options
author | Fredrik Höglund <[email protected]> | 2011-12-14 21:24:09 +0100 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2011-12-20 17:04:46 +0800 |
commit | 7d46b45c5bd7d1ab3e32a2722ca65061ca80dc34 (patch) | |
tree | 0b93d727b5eb9e34f0a115abf51ee965488e528e /src/egl/main/eglapi.h | |
parent | f63e129d5fef73b0710d294ddc19440d9d388836 (diff) |
egl: add EGL_NV_post_sub_buffer
v2: Handle EGL_POST_SUB_BUFFER_SUPPORTED_NV in
_eglParseSurfaceAttribList()
Signed-off-by: Fredrik Höglund <[email protected]>
[olv: remove #ifdef checks]
Diffstat (limited to 'src/egl/main/eglapi.h')
-rw-r--r-- | src/egl/main/eglapi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/egl/main/eglapi.h b/src/egl/main/eglapi.h index 8b62c125e83..14085cb4d83 100644 --- a/src/egl/main/eglapi.h +++ b/src/egl/main/eglapi.h @@ -125,6 +125,8 @@ typedef EGLBoolean (*BindWaylandDisplayWL_t)(_EGLDriver *drv, _EGLDisplay *disp, typedef EGLBoolean (*UnbindWaylandDisplayWL_t)(_EGLDriver *drv, _EGLDisplay *disp, struct wl_display *display); #endif +typedef EGLBoolean (*PostSubBufferNV_t)(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *surface, EGLint x, EGLint y, EGLint width, EGLint height); + /** * The API dispatcher jumps through these functions */ @@ -198,6 +200,8 @@ struct _egl_api BindWaylandDisplayWL_t BindWaylandDisplayWL; UnbindWaylandDisplayWL_t UnbindWaylandDisplayWL; #endif + + PostSubBufferNV_t PostSubBufferNV; }; #endif /* EGLAPI_INCLUDED */ |