10#ifndef BLITTER_32BPP_SSE2_ANIM_HPP
11#define BLITTER_32BPP_SSE2_ANIM_HPP
20#define SSE_TARGET "sse2"
24#define FULL_ANIMATION 1
34 std::string_view
GetName()
override {
return "32bpp-sse2-anim"; }
40 FBlitter_32bppSSE2_Anim() :
BlitterFactory(
"32bpp-sse2-anim",
"32bpp partially SSE2 Animation Blitter (palette animation)",
HasCPUIDFlag(1, 3, 26)) {}
A 32 bpp blitter with animation support.
The base factory, keeping track of all blitters.
virtual Blitter * CreateInstance()=0
Create an instance of this Blitter-class.
The optimised 32 bpp blitter with palette animation.
std::string_view GetName() override
Get the name of the blitter, the same as the Factory-instance returns.
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...
How all blitters should look like.
bool HasCPUIDFlag(uint type, uint index, uint bit)
Check whether the current CPU has the given flag.
Information about the currently used palette.