Re: Very slow gdk_draw_pixbuf

2005-09-05 Thread Juhana Sadeharju
>From: Barry Demchak <[EMAIL PROTECTED]> > >I am trying to use gdk_draw_pixbuf to render a .PNG into a window via a >pixmap. (Actually, this is a much simplified case of trying to use librsvg >to render into a window.) [ ... ] > pixbuf = gdk_pixbuf_new_from_file((gchar *) "mapserv.png", NULL)

Re: Very slow gdk_draw_pixbuf

2005-09-01 Thread Barry Demchak
Hi, John -- The Linux guy and I investigated this somewhat thoroughly. It doesn't happen on any machine but mine. And if I SSH to another server, it doesn't happen either. So, there's something peculiar to my machine ... running Win2K, Radeon 7800, IBM Thinkpad, 1700MHz. And it's even strang

Re: Very slow gdk_draw_pixbuf

2005-09-01 Thread John Cupitt
Hi Barry, I think there must be something rather broken with your GTK install. I changed your example like this: #ifdef DRAW_PIXBUF if (pixbuf == NULL) pixbuf = gdk_pixbuf_new_from_file((gchar *) "mapserv.png", NULL); if (pixbuf) { GTimer *timer; timer = g_timer_new(); gdk_d