Re: Efficient image drawing

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

 



On Thu, 2006-04-27 at 05:20 -0500, Paul Davis wrote:
> Howdy,
> 
> I'm developing a video playback app and I'm a bit curious to see if 
> there's a better way to render images to the screen.  As it is now I'm 
> using the Gtkmm objects and copying images from my non-standard format 
> in a GdkPixbuf and then drawing to a GtkDrawingArea using 
> gdk_draw_rgb_image_dithalign.
[snip]

This documentation suggests that GdkPixbuf doesn't need to copy the
data:
http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/gdk-pixbuf-creating.html#gdk-pixbuf-new-from-data

Maybe if you implemented a GdkPixbuf backend for your custom format, you
could save on some slow memory copying.

-- 
Murray Cumming
murrayc@xxxxxxxxxxx
www.murrayc.com
www.openismus.com

_______________________________________________

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