GdkPixbuf is slow?
- From: Andreas Røsdal <andrearo stud ntnu no>
- To: gtk-app-devel-list gnome org
- Cc: gtk-list gnome org
- Subject: GdkPixbuf is slow?
- Date: Wed, 18 Aug 2004 20:25:47 +0200 (CEST)
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]