FS#6469 - Add a 32bpp SSE2 palette animator.

Attached to Project: OpenTTD
Opened by J G Rennison (JGR) - Wednesday, 25 May 2016, 18:55 GMT
Type Patch
Category Core
Status New
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Add a 32bpp SSE2 palette animator. When tested this was approximately ~4x faster than 32bpp-anim's palette animator.

Create a new blitter mode: 32bpp-sse2-anim, which is 32bpp-anim + this palette animator.
32bpp-sse2-anim is now used by default where 32bpp-anim would have been.
Also use this palette animator with the 32bpp-sse4-anim blitter.

This changes the alignment requirement of the palette animation buffer and each line within in, which is the reason for the buffer offset changes in other parts of the blitters.

This does not change rendering or other non palette-animation blitter functionality.
This task depends upon