diff options
author | Jonathan G Rennison <j.g.rennison@gmail.com> | 2018-01-16 23:23:52 +0000 |
---|---|---|
committer | PeterN <peter@fuzzle.org> | 2019-01-24 11:12:06 +0000 |
commit | db924a4681f019a6372f5192693af5aede36d080 (patch) | |
tree | 210488cfd3c478b086e353c10826ee834d605d6b /projects/openttd_vs141.vcxproj | |
parent | ed325ada887f09904b3351020903899a033c6b51 (diff) | |
download | openttd-db924a4681f019a6372f5192693af5aede36d080.tar.xz |
Codechange: [Blitter] Change DrawLine to be templated
This is remove per-pixel overheads due to use of the SetPixel virtual
method.
These overheads included:
* expensive virtual method call which prevents inlining
* palette lookup for every pixel
* branch on whether palette animation is enabled on every pixel
Regenerate project files.
Diffstat (limited to 'projects/openttd_vs141.vcxproj')
-rw-r--r-- | projects/openttd_vs141.vcxproj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/openttd_vs141.vcxproj b/projects/openttd_vs141.vcxproj index 552b9b9a9..525119179 100644 --- a/projects/openttd_vs141.vcxproj +++ b/projects/openttd_vs141.vcxproj @@ -1201,8 +1201,8 @@ <ClInclude Include="..\src\blitter\8bpp_optimized.hpp" /> <ClCompile Include="..\src\blitter\8bpp_simple.cpp" /> <ClInclude Include="..\src\blitter\8bpp_simple.hpp" /> - <ClCompile Include="..\src\blitter\base.cpp" /> <ClInclude Include="..\src\blitter\base.hpp" /> + <ClInclude Include="..\src\blitter\common.hpp" /> <ClInclude Include="..\src\blitter\factory.hpp" /> <ClCompile Include="..\src\blitter\null.cpp" /> <ClInclude Include="..\src\blitter\null.hpp" /> |