summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-01-02 23:52:13 +0000
committerrubidium <rubidium@openttd.org>2014-01-02 23:52:13 +0000
commit4c84d13454414b84b72540265b793aeec938cdd3 (patch)
treea69300b5060379854a96a10bbe1fa786011403dc /projects
parent78df732a7b7e987b66c85eeb243ce5e0dd59d3a6 (diff)
downloadopenttd-4c84d13454414b84b72540265b793aeec938cdd3.tar.xz
(svn r26214) -Add: specialised animated SSE4 blitter (MJP)
With 32bpp base set about 15-20% faster in the Draw function (slower with 8bpp base set). Overall, with 32bpp base set, about 5% faster.
Diffstat (limited to 'projects')
-rw-r--r--projects/openttd_vs100.vcxproj2
-rw-r--r--projects/openttd_vs100.vcxproj.filters6
-rw-r--r--projects/openttd_vs80.vcproj8
-rw-r--r--projects/openttd_vs90.vcproj8
4 files changed, 24 insertions, 0 deletions
diff --git a/projects/openttd_vs100.vcxproj b/projects/openttd_vs100.vcxproj
index dccd6adb2..127077c77 100644
--- a/projects/openttd_vs100.vcxproj
+++ b/projects/openttd_vs100.vcxproj
@@ -1115,6 +1115,8 @@
<ClCompile Include="..\src\script\api\script_window.cpp" />
<ClCompile Include="..\src\blitter\32bpp_anim.cpp" />
<ClInclude Include="..\src\blitter\32bpp_anim.hpp" />
+ <ClCompile Include="..\src\blitter\32bpp_anim_sse4.cpp" />
+ <ClInclude Include="..\src\blitter\32bpp_anim_sse4.hpp" />
<ClCompile Include="..\src\blitter\32bpp_base.cpp" />
<ClInclude Include="..\src\blitter\32bpp_base.hpp" />
<ClCompile Include="..\src\blitter\32bpp_optimized.cpp" />
diff --git a/projects/openttd_vs100.vcxproj.filters b/projects/openttd_vs100.vcxproj.filters
index d40f97328..7ecffde58 100644
--- a/projects/openttd_vs100.vcxproj.filters
+++ b/projects/openttd_vs100.vcxproj.filters
@@ -2574,6 +2574,12 @@
<ClInclude Include="..\src\blitter\32bpp_anim.hpp">
<Filter>Blitters</Filter>
</ClInclude>
+ <ClCompile Include="..\src\blitter\32bpp_anim_sse4.cpp">
+ <Filter>Blitters</Filter>
+ </ClCompile>
+ <ClInclude Include="..\src\blitter\32bpp_anim_sse4.hpp">
+ <Filter>Blitters</Filter>
+ </ClInclude>
<ClCompile Include="..\src\blitter\32bpp_base.cpp">
<Filter>Blitters</Filter>
</ClCompile>
diff --git a/projects/openttd_vs80.vcproj b/projects/openttd_vs80.vcproj
index cadc6a966..a343c5acf 100644
--- a/projects/openttd_vs80.vcproj
+++ b/projects/openttd_vs80.vcproj
@@ -3803,6 +3803,14 @@
>
</File>
<File
+ RelativePath=".\..\src\blitter\32bpp_anim_sse4.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\blitter\32bpp_anim_sse4.hpp"
+ >
+ </File>
+ <File
RelativePath=".\..\src\blitter\32bpp_base.cpp"
>
</File>
diff --git a/projects/openttd_vs90.vcproj b/projects/openttd_vs90.vcproj
index 04f1eec2d..0faf59fbf 100644
--- a/projects/openttd_vs90.vcproj
+++ b/projects/openttd_vs90.vcproj
@@ -3800,6 +3800,14 @@
>
</File>
<File
+ RelativePath=".\..\src\blitter\32bpp_anim_sse4.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\blitter\32bpp_anim_sse4.hpp"
+ >
+ </File>
+ <File
RelativePath=".\..\src\blitter\32bpp_base.cpp"
>
</File>