diff options
author | Kristian Høgsberg <[email protected]> | 2012-12-13 15:59:24 -0500 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2013-01-04 11:20:12 -0500 |
commit | 0725f2d654bfa4b24059e71572e2ad90baac7031 (patch) | |
tree | f5c85706aa6b41a607ac2da9bdbb64fae156564b /src/egl/main/eglapi.h | |
parent | f79739ebdd17b55c6a416e2772b28e3d9c30ec07 (diff) |
egl: Add extension infrastructure for EGL_EXT_buffer_age
Diffstat (limited to 'src/egl/main/eglapi.h')
-rw-r--r-- | src/egl/main/eglapi.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/egl/main/eglapi.h b/src/egl/main/eglapi.h index ec3ad7ec973..85b8f1a8db1 100644 --- a/src/egl/main/eglapi.h +++ b/src/egl/main/eglapi.h @@ -128,6 +128,10 @@ typedef EGLBoolean (*QueryWaylandBufferWL_t)(_EGLDriver *drv, _EGLDisplay *displ typedef EGLBoolean (*PostSubBufferNV_t)(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *surface, EGLint x, EGLint y, EGLint width, EGLint height); +typedef EGLint (*QueryBufferAge_t)(_EGLDriver *drv, + _EGLDisplay *dpy, _EGLSurface *surface); + + /** * The API dispatcher jumps through these functions */ @@ -204,6 +208,8 @@ struct _egl_api #endif PostSubBufferNV_t PostSubBufferNV; + + QueryBufferAge_t QueryBufferAge; }; #endif /* EGLAPI_INCLUDED */ |