summaryrefslogtreecommitdiff
path: root/source.list
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-01-02 16:48:16 +0000
committerrubidium <rubidium@openttd.org>2014-01-02 16:48:16 +0000
commit3c94485ba0dcf8bb26f94f3a8e74369cd5619c01 (patch)
tree1c45ff84d185eac6392ea561cf7eb7ceb53b709d /source.list
parentc98a94da447a34f33894f3d5a7ec7cbe869a726a (diff)
downloadopenttd-3c94485ba0dcf8bb26f94f3a8e74369cd5619c01.tar.xz
(svn r26205) -Feature: SSE 4.1 sprite sorter, improving the sorting performance significantly (MJP)
For example with GCC 4.8, x86_64 Linux, Intel i5-3337U this patch improves the performance of Pile, Treham and Hamac test save games by about 10% in over-all run time at fast forward at 1920x1080 when zoomed out and when trees are not disabled.
Diffstat (limited to 'source.list')
-rw-r--r--source.list4
1 files changed, 4 insertions, 0 deletions
diff --git a/source.list b/source.list
index d327f0dd9..4fde7fcae 100644
--- a/source.list
+++ b/source.list
@@ -111,6 +111,9 @@ townname.cpp
vehicle.cpp
vehiclelist.cpp
viewport.cpp
+#if SSE
+viewport_sprite_sorter_sse4.cpp
+#end
waypoint.cpp
widget.cpp
window.cpp
@@ -374,6 +377,7 @@ vehicle_gui_base.h
vehicle_type.h
vehiclelist.h
viewport_func.h
+viewport_sprite_sorter.h
viewport_type.h
water.h
waypoint_base.h