summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglapi.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-12-13 15:59:24 -0500
committerKristian Høgsberg <krh@bitplanet.net>2013-01-04 11:20:12 -0500
commit0725f2d654bfa4b24059e71572e2ad90baac7031 (patch)
treef5c85706aa6b41a607ac2da9bdbb64fae156564b /src/egl/main/eglapi.h
parentf79739ebdd17b55c6a416e2772b28e3d9c30ec07 (diff)
downloadexternal_mesa3d-0725f2d654bfa4b24059e71572e2ad90baac7031.zip
external_mesa3d-0725f2d654bfa4b24059e71572e2ad90baac7031.tar.gz
external_mesa3d-0725f2d654bfa4b24059e71572e2ad90baac7031.tar.bz2
egl: Add extension infrastructure for EGL_EXT_buffer_age
Diffstat (limited to 'src/egl/main/eglapi.h')
-rw-r--r--src/egl/main/eglapi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/egl/main/eglapi.h b/src/egl/main/eglapi.h
index ec3ad7e..85b8f1a 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 */