[Scummvm-devel] cost of palette changes

Robert Špalek rspalek at gmail.com
Tue Jun 29 00:50:17 CEST 2010


On Mon, Jun 28, 2010 at 3:02 PM, Max Horn <max at quendi.de> wrote:

> * Palette updates on modern systems are not "free" like you may remember
> from your old Amiga/Atari/IBM PC/...
> * Still, it's not so bad, unless you do many, many *many* palette changes
> per second, and run on low end hardware such as a Nintendo DS
> * However, in most cases your user won't be able to see more than 30 FPS
> anyway, so in the end it should be possible to do palette changes just fine
>

that's my case: I just want to do 15-phase fading with short delays
essentially just for redrawing the screen.  if the complete redraw is slow,
then the fading will be a bit slower, but that doesn't bother me at all.  my
question was meant to make sure that the complete palette change is not
ridiculously slow (such as much slower than a regular redraw of the complete
screen), which might be the case if it was implemented really badly.

thank you,
-- 
Robert Špalek <rspalek at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20100628/a952b862/attachment.html>


More information about the Scummvm-devel mailing list