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.
This commit is contained in:
committed by
PeterN
parent
ed325ada88
commit
db924a4681
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user