Re: pixbuf<->cairo_surface_t conversion



On 09/03/10 04:17, Benjamin Otte wrote:
> - We convert pixbufs every single time we paint them
> This is important for performance considerations: We convert the pixbuf to an
> image surface every single time we paint it. So whatever we end up doing, it
> won't get any worse. Also, no one has complained yet.

Well, someone had this exact same problem on the XO yesterday.  Now, drawing a
pixbuf is inefficient in many other ways eve nif you cached a cairo image
surface: has to be uploaded to the X server and possibly blit'ed slowly to a
different format, which is exactly what would happen on the XO.

It's not like keeping a cairo_surface_t around solves most of the problem...

behdad


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]