summaryrefslogtreecommitdiff
path: root/src/blitter
AgeCommit message (Collapse)Author
2014-01-13(svn r26253) -Codechange: remove margin limitation to preserve block type (MJP)rubidium
2014-01-13(svn r26252) -Codechange: deduplicate code for margin case (MJP)rubidium
2014-01-13(svn r26251) -Codechange: prepare Draw code for code deduplication (MJP)rubidium
2014-01-13(svn r26250) -Codechange: deduplicate darkening (e.g. shadow) code (MJP)rubidium
2014-01-13(svn r26249) -Codechange: simplify/cleanup ALPHA_BLEND macro (MJP)rubidium
2014-01-13(svn r26248) -Fix (r26223): missed compiler warning (MJP)rubidium
2014-01-13(svn r26247) -Fix [FS#5854, FS#5855]: Possible out of bounds reads with the ↵rubidium
sse blitters (MJP)
2014-01-03(svn r26223) -Codechange: Silence some compile warnings about unititialized ↵planetmaker
variables in the SSE blitters (MJP)
2014-01-03(svn r26222) -Codechange: use SSE instructions for transparent colour ↵rubidium
"remap" in the SSE2/SSSE3 blitters as well
2014-01-03(svn r26221) -Codechange: normalize constant names in anim-sse4 with the ↵rubidium
others (MJP)
2014-01-03(svn r26215) -Codechange: rework code so one can test if a blitter factory ↵rubidium
exists before attempting trying to instantiate an instance
2014-01-02(svn r26214) -Add: specialised animated SSE4 blitter (MJP)rubidium
With 32bpp base set about 15-20% faster in the Draw function (slower with 8bpp base set). Overall, with 32bpp base set, about 5% faster.
2014-01-02(svn r26213) -Add: specialised non-animated SSE4 blitter (MJP)rubidium
With 32bpp base set about 40% faster than 32bpp-optimized, or about 10% for 8bpp base sets in the Draw function. Respectively about 8 and 1% of total run time
2014-01-02(svn r26212) -Add: specialised non-animated SSSE3 blitter (MJP)rubidium
With 32bpp base set about 35% faster than 32bpp-optimized, or about 10% for 8bpp base sets in the Draw function. Respectively about 6 and 1% of total run time
2014-01-02(svn r26211) -Add: specialised non-animated SS2 blitter (MJP)rubidium
With 32bpp base set about 30% faster than 32bpp-optimized, or about 10% for 8bpp base sets in the Draw function. Respectively about 5 and 1% of total run time
2014-01-02(svn r26210) -Codechange: add infrastructure for not registering a blitterrubidium
2014-01-02(svn r26209) -Codechange: remove some template magic and simplify some coderubidium
2013-11-25(svn r26108) -Codechange: some coding style (whitespace)rubidium
2013-11-25(svn r26103) -Fix: prevent odd overflows due to integer promotionrubidium
2013-11-09(svn r25958) -Fix: overriding method of DrawLine was not updated when ↵rubidium
parameters were added making it non-functional
2013-10-23(svn r25911) -Add: Support for drawing dashed lines.fonsinchen
2013-10-06(svn r25820) -Codechange: More const-ness.frosch
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-10-17(svn r24610) -Change: [NewGRF] Set the reference brightness of 32bpp mask ↵frosch
recolouring to 128.
2012-04-10(svn r24111) -Codechange: use Colour more instead of manually bitstuffingrubidium
2012-02-25(svn r23989) -Fix-ish: Zero the offsets of disabled zoomlevels.frosch
2012-02-25(svn r23988) -Fix: Typo in comment.frosch
2012-02-11(svn r23927) -Fix [FS#5056]: 32bpp animated blitter was optimised a bit too ↵rubidium
far regarding not needing to update the colour mapping when (re)initialising the palette
2012-02-04(svn r23889) -Codechange: Centralise sprite resizing in one place. (peter1138)michi_cc
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2012-01-03(svn r23729) -Fix (r23670) [FS#4941]: if you increase the buffer size, also ↵truebrain
increase the bytes per pixel
2012-01-03(svn r23727) -Codechange: speedup the 32bpp palette animation by reducing ↵truebrain
the amount of compares. This is possible because the function is called with only 2 possible conditions: from 0 to 255 (full palette update, 8bpp only) or from PALETTE_ANIM_START to 255
2012-01-03(svn r23726) -Fix (r23670): Remove debugging code added accidentallypeter1138
2011-12-26(svn r23674) -Fix (r23670): Don't read invalid memory in the 32bpp simple ↵michi_cc
blitter.
2011-12-24(svn r23670) -Feature: Add ability to adjust brightness of colour after ↵peter1138
remapping for 32bpp sprites
2011-12-18(svn r23588) -Codechange: use the 'final' keyword so compiler can optimise ↵smatz
out some indirect calls
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-12-08(svn r23446) -Codechange: move _cur_palette and it's related first/count ↵rubidium
dirty variables into a single structure
2011-11-27(svn r23343) -Fix (r23332): Incorrect encoding of sprites with much ↵frosch
transparency.
2011-11-26(svn r23332) -Fix (r23316): Length of transparent pixels could exceed a ↵peter1138
byte. (frosch)
2011-11-24(svn r23315) -Codechange: Only encode sprites for zoom levels that will be used.peter1138
2011-11-23(svn r23311) -Remove: removed the silly blitter called 8bpp-debug. You can ↵truebrain
find him at the same place as you can find CTRL+D. Sorry for those who liked to trip while playing OpenTTD; I truly am sorry :D
2011-11-12(svn r23198) -Codechange: introduce a free that takes const pointers so we ↵rubidium
don't need to cast to void/non-const before being able to free
2011-11-12(svn r23194) -Codechange: don't cast away const needlesslyrubidium
2011-10-11(svn r23016) -Change: Disable palette animation for pixels with alpha, as ↵peter1138
the alpha and previous colour information will be lost when the palette is animated.
2011-10-04(svn r23000) -Feature: Base graphics sets can now specify a preferred ↵michi_cc
blitter which OpenTTD uses to decide which blitter to load.
2011-05-08(svn r22439) -Fix (r22291, r22426): Drawing lines of length zero failed.frosch
2011-05-05(svn r22426) -Fix (r22291): Drawing vertical and horizontal lines of width 1 ↵frosch
missed drawing the first pixel.
2011-05-04(svn r22419) -Change: Always use the DOS palette for drawing.frosch
-Remove: the '-i' option for palette selection.
2011-05-01(svn r22397) -Document: some tidbits of the blitter coderubidium