[Gtk-sharp-list] Drawing pixbufs to screen FAST..

Dan Winship danw@novell.com
Wed, 05 Jan 2005 14:11:48 -0500


On Thu, 2004-12-30 at 16:40 +0000, Eto wrote:
> The slow part is not generating the pixbuf, but rather, drawing it to screen.  
> In windows, this is extreemly fast and works like a charm.  
> 
> I am not scaling the image or anything, just using the Drawable.DrawPixbuf 
> method to output to screen (though, I would still like to be able to scale 
> the output).

Are you sure you're actually drawing it to the screen? Have you read the
bits of the gdk documentation about drawing and expose events and the
like? The problem might be that you're not invalidating the window, so
the drawing you do doesn't show up until some arbitrary time later.

-- Dan