From 87dde5b1cd596c4008695ff2db9469f88c09f925 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 9 Feb 2011 15:30:20 +0100 Subject: egl_dri2: Use double buffering for window surfaces --- src/egl/drivers/dri2/egl_dri2.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/egl/drivers/dri2/egl_dri2.h') 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, -- cgit v1.2.3