Add: A 32 bpp blitter that uses the animation buffer from the video backend to speed up palette animation.

This commit is contained in:
Michael Lutz
2021-01-16 16:43:44 +01:00
parent ae7c63cc35
commit 94d8acb7d0
7 changed files with 607 additions and 3 deletions

View File

@@ -27,6 +27,9 @@ public:
const char *GetName() override { return "32bpp-optimized"; }
template <BlitterMode mode> void Draw(const Blitter::BlitterParams *bp, ZoomLevel zoom);
protected:
template <bool Tpal_to_rgb> Sprite *EncodeInternal(const SpriteLoader::Sprite *sprite, AllocatorProc *allocator);
};
/** Factory for the optimised 32 bpp blitter (without palette animation). */