Mesa (master): drirc: whitelist glthread for Civilization 5

Marek Olšák mareko at kemper.freedesktop.org
Fri Jul 14 21:42:40 UTC 2017


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

Author: Edmondo Tommasina <edmondo.tommasina at gmail.com>
Date:   Sun Jul  9 21:43:09 2017 +0200

drirc: whitelist glthread for Civilization 5

Performance delta on AMD Phenom II X3 720

    Civilization 5: +28%

Signed-off-by: Marek Olšák <marek.olsak at amd.com>

---

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

diff --git a/src/mesa/drivers/dri/common/drirc b/src/mesa/drivers/dri/common/drirc
index 69b735ce70..418e159e81 100644
--- a/src/mesa/drivers/dri/common/drirc
+++ b/src/mesa/drivers/dri/common/drirc
@@ -175,6 +175,9 @@ TODO: document the other workarounds.
         <application name="Borderlands 2" executable="Borderlands2">
             <option name="mesa_glthread" value="true"/>
         </application>
+        <application name="Civilization 5" executable="Civ5XP">
+            <option name="mesa_glthread" value="true"/>
+        </application>
     </device>
     <!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.-->
     <device driver="vmwgfx">




More information about the mesa-commit mailing list