[cairo] Background image
lots.of.mailing.lists at gmail.com
Sat Feb 17 08:58:25 PST 2007
> It's quite possible that you don't have to use the glitz backend to
> get a nice speedup. Alex Mac recently sped up his lander game from 6
> fps to 70 fps by just optimizing his own code to use cairo more
> The lander game (with full source code):
> The cairo thread about optimizing the game:
> If you share your code (and maybe some profiles, too), it's likely
> that someone on this list will also help you get better performance
> without having to use a different backend.
To save you reading the whole thread the moral of the story is this:
cache static content as rasters and only render what has changed.
You should also try using native (Xlib) surfaces instead of image surfaces.
More information about the cairo