glx/dri: Add a driconf option to disable GLX_SGI_video_sync
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 26 Feb 2018 13:27:40 +0000 (14:27 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 8 Mar 2018 06:26:29 +0000 (07:26 +0100)
commitf4070956d4cd06b27c596ff4780b945537ceb84f
treebed11d8c7f0bab0a8b5a3ded89b6cedc44599381
parent0c90264da4139805d34f530485a678c53809932e
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 <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
src/glx/dri2_glx.c
src/glx/dri3_glx.c
src/util/xmlpool/t_options.h