summaryrefslogtreecommitdiffstats
path: root/src/util/xmlpool/t_options.h
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2018-02-26 14:27:40 +0100
committerThomas Hellstrom <[email protected]>2018-03-08 07:26:29 +0100
commitf4070956d4cd06b27c596ff4780b945537ceb84f (patch)
treebed11d8c7f0bab0a8b5a3ded89b6cedc44599381 /src/util/xmlpool/t_options.h
parent0c90264da4139805d34f530485a678c53809932e (diff)
glx/dri: Add a driconf option to disable GLX_SGI_video_sync
Drivers on virtual hardware don't want to expose this extension to GLX compositors, similarly to GLX_OML_sync_control, since that significantly increases latency. Signed-off-by: Thomas Hellstrom <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Sinclair Yeh <[email protected]> Reviewed-by: Deepak Rawat <[email protected]>
Diffstat (limited to 'src/util/xmlpool/t_options.h')
-rw-r--r--src/util/xmlpool/t_options.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/xmlpool/t_options.h b/src/util/xmlpool/t_options.h
index 5f377c9dcd5..3ada813d639 100644
--- a/src/util/xmlpool/t_options.h
+++ b/src/util/xmlpool/t_options.h
@@ -346,6 +346,11 @@ DRI_CONF_OPT_BEGIN_B(glx_disable_oml_sync_control, def) \
DRI_CONF_DESC(en, gettext("Disable the GLX_OML_sync_control extension")) \
DRI_CONF_OPT_END
+#define DRI_CONF_DISABLE_SGI_VIDEO_SYNC(def) \
+DRI_CONF_OPT_BEGIN_B(glx_disable_sgi_video_sync, def) \
+ DRI_CONF_DESC(en, gettext("Disable the GLX_SGI_video_sync extension")) \
+DRI_CONF_OPT_END
+
/**
* \brief Software-fallback options. To allow using features (like