(svn r10216) -Fix: palette animation always redid all palette entries, where in fact only a few indexes were needed

-Codechange: allow blitters to handle palette animation internally or even disable it; 8bpp uses video-backend for palette animation
This commit is contained in:
truelight
2007-06-19 15:04:08 +00:00
parent b63c8b8342
commit cd10965a27
12 changed files with 115 additions and 28 deletions

View File

@@ -182,3 +182,13 @@ int Blitter_8bppBase::BufferSize(int width, int height)
{
return width * height;
}
void Blitter_8bppBase::PaletteAnimate(uint start, uint count)
{
/* Video backend takes care of the palette animation */
}
Blitter::PaletteAnimation Blitter_8bppBase::UsePaletteAnimation()
{
return Blitter::PALETTE_ANIMATION_VIDEO_BACKEND;
}