summaryrefslogtreecommitdiff
path: root/src/blitter/common.hpp
AgeCommit message (Collapse)Author
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-01-24Codechange: [Blitter] Adjust line-drawing algorithm to reduce wasted ↵Jonathan G Rennison
off-screen work This clips the line segment to be within the screen area prior to pixel iteration.
2019-01-24Fix: [Blitter] Avoid signed overflow when drawing long linesJonathan G Rennison
2019-01-24Codechange: [Blitter] Change DrawLine to be templatedJonathan G Rennison
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.