diff options
author | Thomas Hellstrom <[email protected]> | 2017-05-05 06:26:03 -0700 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2017-06-07 19:43:54 +0200 |
commit | 37e8341db4e9618fcd874c52aca57579f639bfe8 (patch) | |
tree | 39b050c163a793ae444086171b75f079ff4d6fee /src/mesa | |
parent | 48f4baf63f5a50503907e8b0ea475fd1465c0b1d (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 <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/common/drirc | 7 |
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> |