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)) {}
41 std::unique_ptr<Blitter>
CreateInstance()
override {
return std::make_unique<Blitter_32bppSSE2_Anim>(); }
A 32 bpp blitter with animation support.
The base factory, keeping track of all blitters.
virtual std::unique_ptr< 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...
bool HasCPUIDFlag(uint type, uint index, uint bit)
Check whether the current CPU has the given flag.