Optimization in Multimedia
Cairo on N770 is really sloowww. Luckily I found that reducing nested clip depth speeds it up greatly, so rectangle+fill instead of paint.
Save cached images as scaled ones, saving CPU on each paint.
Unfortunately that means no convenient scale/translate on cairo_t, but calculate the positions and sizes while painting