summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2/egl_dri2.h
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2012-12-13 23:39:45 -0500
committerKristian Høgsberg <[email protected]>2013-01-10 15:58:05 -0500
commit4e42e569dd5643ff948ab4ee31dd16b1683f21fa (patch)
tree864a60c29a9f1818573d08da373a7fd3f29db0c9 /src/egl/drivers/dri2/egl_dri2.h
parent0ae81b8422e272e44ef40a09dc443c9014adbd0b (diff)
egl/gbm: Implement EGL_EXT_buffer_age
Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/egl/drivers/dri2/egl_dri2.h')
-rw-r--r--src/egl/drivers/dri2/egl_dri2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h
index 4b639974a2b..eb8c06e08a0 100644
--- a/src/egl/drivers/dri2/egl_dri2.h
+++ b/src/egl/drivers/dri2/egl_dri2.h
@@ -189,6 +189,7 @@ struct dri2_egl_surface
struct {
struct gbm_bo *bo;
int locked;
+ int age;
} color_buffers[3], *back, *current;
#ifndef HAVE_WAYLAND_PLATFORM
__DRIbuffer *dri_buffers[__DRI_BUFFER_COUNT];