[cairo] Lander Game

Alex Mac lots.of.mailing.lists at gmail.com
Mon Jan 8 15:29:43 PST 2007


On 08/01/07, Behdad Esfahbod <behdad at behdad.org> wrote:
> On Mon, 2007-01-08 at 18:07 -0500, Alex Mac wrote:
> >
> >
> > Anyway, rendering to an image surface only seems to provide a small
> > improvement in performance, It's still slower than Qt4.
>
> You shouldn't render to an image surface.  Do it to a surface created
> using cairo_surface_create_similar(), passing in your destination
> surface.  This way you get a pixmap in the X server instead of a local
> image, so the image does not have to be transferred to the X server at
> all.

that sounds better, but I cant see any way of doing that in pycairo.
Is it possible for whoever is in charge of pycairo to generate some
API docs for it?

> --
> behdad
> http://behdad.org/
>
> "Those who would give up Essential Liberty to purchase a little
>  Temporary Safety, deserve neither Liberty nor Safety."
>         -- Benjamin Franklin, 1759
>
>
>
>


More information about the cairo mailing list