From 48f4baf63f5a50503907e8b0ea475fd1465c0b1d Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Fri, 5 May 2017 06:06:07 -0700 Subject: [PATCH] st/dri: Allow gallium drivers to turn off two GLX extensions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Allow gallium drivers to turn off GLX_EXT_buffer_age and GLX_OML_sync_control if needed, using driconf. Signed-off-by: Thomas Hellstrom Reviewed-by: Marek Olšák --- src/gallium/state_trackers/dri/dri_screen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/state_trackers/dri/dri_screen.c b/src/gallium/state_trackers/dri/dri_screen.c index fe6c491f116..a66689e99e9 100644 --- a/src/gallium/state_trackers/dri/dri_screen.c +++ b/src/gallium/state_trackers/dri/dri_screen.c @@ -56,6 +56,8 @@ const __DRIconfigOptionsExtension gallium_config_options = { DRI_CONF_BEGIN DRI_CONF_SECTION_PERFORMANCE DRI_CONF_MESA_GLTHREAD("false") + DRI_CONF_DISABLE_EXT_BUFFER_AGE("false") + DRI_CONF_DISABLE_OML_SYNC_CONTROL("false") DRI_CONF_SECTION_END DRI_CONF_SECTION_QUALITY -- 2.30.2