summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2/egl_dri2.h
diff options
context:
space:
mode:
authorBenjamin Franzke <[email protected]>2011-02-09 15:30:20 +0100
committerKristian Høgsberg <[email protected]>2011-02-10 23:07:01 -0500
commit87dde5b1cd596c4008695ff2db9469f88c09f925 (patch)
treeb736f36e0181ed25ee77fa02dc120674de750603 /src/egl/drivers/dri2/egl_dri2.h
parent71fa2270293f7e3aa8e42b397bebb24d3fcd9b1f (diff)
egl_dri2: Use double buffering for window surfaces
Diffstat (limited to 'src/egl/drivers/dri2/egl_dri2.h')
-rw-r--r--src/egl/drivers/dri2/egl_dri2.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h
index 72e887c95b0..1656a50c013 100644
--- a/src/egl/drivers/dri2/egl_dri2.h
+++ b/src/egl/drivers/dri2/egl_dri2.h
@@ -139,7 +139,8 @@ struct dri2_egl_buffer {
struct dri2_egl_config
{
_EGLConfig base;
- const __DRIconfig *dri_config;
+ const __DRIconfig *dri_single_config;
+ const __DRIconfig *dri_double_config;
};
struct dri2_egl_image
@@ -163,7 +164,7 @@ dri2_create_screen(_EGLDisplay *disp);
struct dri2_egl_config *
dri2_add_config(_EGLDisplay *disp, const __DRIconfig *dri_config, int id,
- int depth, EGLint surface_type);
+ int depth, EGLint surface_type, const EGLint *attr_list);
_EGLImage *
dri2_create_image_khr(_EGLDriver *drv, _EGLDisplay *disp,