summaryrefslogtreecommitdiff
path: root/src/blitter/32bpp_base.cpp
AgeCommit message (Collapse)Author
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.
2018-05-23Add: 32bpp SSE2 blitter palette animator (#6795)Jonathan G Rennison
Create a new blitter mode: 32bpp-sse2-anim, which is 32bpp-anim + this. 32bpp-sse2-anim is now used by default where 32bpp-anim would have been. Also use this with the 32bpp-sse4-anim blitter. See issue #6469.
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-04-10(svn r24111) -Codechange: use Colour more instead of manually bitstuffingrubidium
2011-12-08(svn r23448) -Fix: keep a local copy of the palette in the 32bpp animated ↵rubidium
blitter so changes of the palette data during the game don't influence drawing (with SDL)
2011-11-12(svn r23194) -Codechange: don't cast away const needlesslyrubidium
2011-04-02(svn r22288) -Codechange: Deduplicate Blitter_8bppBase::DrawLine() and ↵frosch
Blitter_32bppBase::DrawLine() into Blitter::DrawLine().
2010-01-23(svn r18907) -Cleanup: Smallmap was the last user of SetPixelIfEmpty().alberth
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-17(svn r11652) -Codechange: add the svn $ header for several filessmatz
2007-09-26(svn r11169) -Fix [FS#1255]: obiwan in Blitter::Drawline(), which caused it ↵rubidium
to clip too much at screen/viewport borders. Patch by frosch.
2007-08-10(svn r10837) -Fix [FS#1102]: DrawLine didn't bound-check the first pixel ↵truelight
that was drawn (frosch)
2007-06-21(svn r10241) -Codechange: CopyToBuffer now produces a buffer that is ↵truelight
unreadable from outside the blitter, so the blitter can store anything he likes -Codechange: added CopyImageToBuffer, which produces a readable buffer for screenshots -Fix: 32bpp-anim now holds animation on transparent objects to avoid strange graphical effects -Fix: 32bpp-anim now works correct on mouse-movement (it holds the palette animation correctly)
2007-06-19(svn r10216) -Fix: palette animation always redid all palette entries, where ↵truelight
in fact only a few indexes were needed -Codechange: allow blitters to handle palette animation internally or even disable it; 8bpp uses video-backend for palette animation
2007-06-18(svn r10206) -Codechange: more moving things to blitter-layer: ScrollBuffertruelight
2007-06-18(svn r10203) -Codechange: more moving things to blitter-layer: DrawLinetruelight
2007-06-18(svn r10201) -Codechange: Replace Blitter::SetHorizontalLine with ↵peter1138
Blitter::DrawRect, as the former was only used by the rectangle drawing code anyway. This lets us draw rectangles in one go.
2007-06-17(svn r10193) -Fix r10190: somehow an other partly-patch was applied tootruelight
2007-06-17(svn r10190) -Codechange: merged renderer and blitter to one single class ↵truelight
API: blitter -Codechange: introduced a hierachy of blitters to avoid a lot of code duplication Note: this allows much easier adding other types of video-drivers, like OpenGL