summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common/drirc
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2017-05-05 06:26:03 -0700
committerThomas Hellstrom <thellstrom@vmware.com>2017-06-07 19:43:54 +0200
commit37e8341db4e9618fcd874c52aca57579f639bfe8 (patch)
tree39b050c163a793ae444086171b75f079ff4d6fee /src/mesa/drivers/dri/common/drirc
parent48f4baf63f5a50503907e8b0ea475fd1465c0b1d (diff)
dri: Turn of a couple of glx extensions for gnome-shell on vmwgfx.
Increases performance on vmwgfx since we're avoiding full buffer damage and since we can't sync to vertical retrace anyway. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/mesa/drivers/dri/common/drirc')
-rw-r--r--src/mesa/drivers/dri/common/drirc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/drirc b/src/mesa/drivers/dri/common/drirc
index d820462fad0..b6c3c6a5db7 100644
--- a/src/mesa/drivers/dri/common/drirc
+++ b/src/mesa/drivers/dri/common/drirc
@@ -152,4 +152,11 @@ TODO: document the other workarounds.
<option name="glsl_zero_init" value="true"/>
</application>
</device>
+ <!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.-->
+ <device driver="vmwgfx">
+ <application name="gnome-shell" executable="gnome-shell">
+ <option name="glx_disable_ext_buffer_age" value="true" />
+ <option name="glx_disable_oml_sync_control" value="true" />
+ </application>
+ </device>
</driconf>