10 #ifndef BLITTER_32BPP_SSE2_ANIM_HPP
11 #define BLITTER_32BPP_SSE2_ANIM_HPP
19 #ifndef FULL_ANIMATION
20 #define FULL_ANIMATION 1
30 const char *
GetName()
override {
return "32bpp-sse2-anim"; }
36 FBlitter_32bppSSE2_Anim() :
BlitterFactory(
"32bpp-sse2-anim",
"32bpp partially SSE2 Animation Blitter (palette animation)",
HasCPUIDFlag(1, 3, 26)) {}
virtual Blitter * CreateInstance()=0
Create an instance of this Blitter-class.
How all blitters should look like.
The base factory, keeping track of all blitters.
void PaletteAnimate(const Palette &palette) override
Called when the 8bpp palette is changed; you should redraw all pixels on the screen that are equal to...
const char * GetName() override
Get the name of the blitter, the same as the Factory-instance returns.
The optimised 32 bpp blitter with palette animation.
Information about the currently used palette.
bool HasCPUIDFlag(uint type, uint index, uint bit)
Check whether the current CPU has the given flag.