[Scummvm-devel] cost of palette changes

Angus Lees alees at google.com
Mon Jun 28 23:56:00 CEST 2010


On Tue, Jun 29, 2010 at 06:48, Johannes Schickel <lordhoto at scummvm.org> wrote:
> I guess testing the engine on some small devices would be best to determine
> whether it works fine or not,

I can tell you that the Android port requires a complete screen redraw
on palette changes - ditto for anything else that doesn't support 8bit
palettes natively in hardware.

I think it comes down to what the alternative is.  If the entire
screen is changing anyway (eg: the DOTT swirly intro screen), then it
doesn't really matter whether you are using palette rotation or asking
the backend to update the entire screen some other way.  Palette
rotation to affect only a tiny portion of the screen would be
unfortunate.

 - Gus




More information about the Scummvm-devel mailing list