I was thinking: Suppose we (I?

) make a version of EasyCE that supports palettized devices. It could be done like this: We start with a palette (I'll get to that in a moment). For each of the 65536 possible 16bit colors we look up the best match in the palette. When we need to display a 16bit image, all we have to do is lookup each 16bit color in this array to obtain a reasonable match in the table. The table is just 64Kb, so this could work.<br><br>The palette is determined 'sometimes', for example, when you just loaded a new level backdrop. The image is quantized, using an octree or whatever, so that a decent palette is generated that can be used to display that image in 8-bit mode. A call to 'generate_palette' or whatever should not take longer than 500ms or so.<br><br>This could work, and all apps could work just fine on 8-bit devices. EasyCE could start with a generic palette; apps can be optimized for 8-bit devices by just calling 'generate_palette' with the right timing.<br><br>Hm.

Could be cool.