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
@@ -948,8 +948,8 @@ blitter/8bpp_optimized.hpp
|
||||
blitter/8bpp_simple.cpp
|
||||
blitter/8bpp_simple.hpp
|
||||
#end
|
||||
blitter/base.cpp
|
||||
blitter/base.hpp
|
||||
blitter/common.hpp
|
||||
blitter/factory.hpp
|
||||
blitter/null.cpp
|
||||
blitter/null.hpp
|
||||
|
||||
Reference in New Issue
Block a user