egl/android: support for EGL_KHR_partial_update
[mesa.git] / src / egl / main / eglsurface.h
index f13cf49741b4872bd41740250989079f8027c9d8..c53e8d00671f6814c7c5b3599051920c7f92af29 100644 (file)
@@ -82,6 +82,18 @@ struct _egl_surface
 
    EGLint SwapInterval;
 
+   /* EGL_KHR_partial_update
+    * True if the damage region is already set
+    * between frame boundaries.
+    */
+   EGLBoolean SetDamageRegionCalled;
+
+   /* EGL_KHR_partial_update
+    * True if the buffer age is read by the client
+    * between frame boundaries.
+    */
+   EGLBoolean BufferAgeRead;
+
    /* True if the surface is bound to an OpenGL ES texture */
    EGLBoolean BoundToTexture;