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

Author: Kamil Páral <kamil.pa...@gmail.com>
Date:   Tue Jul 25 21:28:40 2017 +0200

drirc: whitelist glthread for Overlord 1+2, Oil Rush, War Thunder, Saints Row 2

Performance delta on Core i5-4570 + Radeon R9 270:
    Overlord: +20% in certain locations
    Overlord II: +20% in certain locations
    Oil Rush: +12% in most locations
    War Thunder: +4-9% in benchmarks
    Saints Row 2: +10-35% in certain locations

---

 src/mesa/drivers/dri/common/drirc | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/common/drirc 
b/src/mesa/drivers/dri/common/drirc
index c9fcb59d82..30ac9c839b 100644
--- a/src/mesa/drivers/dri/common/drirc
+++ b/src/mesa/drivers/dri/common/drirc
@@ -187,9 +187,24 @@ TODO: document the other workarounds.
         <application name="Euro Truck Simulator 2" executable="eurotrucks2">
             <option name="mesa_glthread" value="true"/>
         </application>
-       <application name="War Thunder (Wine)" executable="aces.exe">
+        <application name="Overlord" executable="overlord.i386">
             <option name="mesa_glthread" value="true"/>
-       </application>
+        </application>
+        <application name="Overlord 2" executable="overlord2.i386">
+            <option name="mesa_glthread" value="true"/>
+        </application>
+        <application name="Oil Rush" executable="OilRush_x86">
+            <option name="mesa_glthread" value="true"/>
+        </application>
+        <application name="War Thunder" executable="aces">
+            <option name="mesa_glthread" value="true"/>
+        </application>
+        <application name="Saints Row 2" executable="saintsrow2.i386">
+            <option name="mesa_glthread" value="true"/>
+        </application>
+        <application name="War Thunder (Wine)" executable="aces.exe">
+            <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">

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

Reply via email to