Re: Speed of Gdk-Pixbuf Vs. GdkRGB

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

 



Steffen, John,

> If you need to render the pixbuf often and don't need blending, you
> should consider to draw it to an offscreen pixmap (a GdkPixmap) and
> use that to blit the image to the screen.

I'm a little confused now!   In my original posting I mentioned that I usually
"define a backing pixmap in a 'configure' callback, draw the graphical content into 
the pixmap, then copy it to the drawing-area in one go in an 'expose' callback".
I guess this is what you are recommending I do.

John Cupitt mentioned in a previous posting in this thread that "Gtk now does this 
for you" which suggests to me that if I'm using my own backing pixmap and Gtk is 
using *its* own backing pixmap, there's some redundancy...!  So what's the answer?

Sorry to labour the point, I'd just like to be sure I understand what's going on. :)

Regards,

-- 
David J. Singer
doc@xxxxxxxxxxxxxxxxxx
"Time flies like an arrow, fruit flies like a banana"

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux