GdkPixbuf is slow?



Hi!
I've tried to use Gtk to render some graphics in a strategy game with
isometric tiles, however, the the rendering is terribly slow at the
moment.

The current code can be downloaded from www.stud.ntnu.no/~andrearo/rts.zip
(Just unzip, run configure and make, and the game should run...)

I think the bottle-neck is my use of gdk_draw_pixbuf(), which is used to
render the pixbuf to the drawing area. Is this the preferred way to render
a pixbuf?

Try the game, enjoy :)

Andreas Røsdal





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