summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglapi.h
diff options
context:
space:
mode:
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 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 */