Module: Mesa
Branch: master
Commit: b8b0a3dc5cf195cc22317f3aae14399160fdc03e
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8b0a3dc5cf195cc22317f3aae14399160fdc03e

Author: Thomas Hellstrom <thellst...@vmware.com>
Date:   Tue May 16 07:25:12 2017 -0700

dri/vmwgfx: Disable a couple of glx extensions also for Ubuntu unity / compiz

It appears like the GLX_EXT_buffer_age extension also prevents Compiz /
Ubuntu Unity from performing partial buffer swaps when it otherwise
feels like doing so. So try to get them back again. We also disable
GLX_OML_sync_control since it appears it had a favourable impact on
gnome-shell.

Signed-off-by: Thomas Hellstrom <thellst...@vmware.com>
Reviewed-by: Sinclair Yeh <s...@vmware.com>

---

 src/mesa/drivers/dri/common/drirc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/mesa/drivers/dri/common/drirc 
b/src/mesa/drivers/dri/common/drirc
index b6c3c6a5db..5152b207eb 100644
--- a/src/mesa/drivers/dri/common/drirc
+++ b/src/mesa/drivers/dri/common/drirc
@@ -158,5 +158,9 @@ TODO: document the other workarounds.
             <option name="glx_disable_ext_buffer_age" value="true" />
             <option name="glx_disable_oml_sync_control" value="true" />
         </application>
+       <application name="Compiz" executable="Compiz">
+            <option name="glx_disable_ext_buffer_age" value="true" />
+           <option name="glx_disable_oml_sync_control" value="true" />
+        </application>
     </device>
 </driconf>

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to