Re: gdk pixmap routines speed [Was: GTK widget: Round dial]
- From: raster redhat com
- To: miguel nuclecu unam mx
- cc: sopwith cuc edu, gnome nuclecu unam mx, gtk-list redhat com
- Subject: Re: gdk pixmap routines speed [Was: GTK widget: Round dial]
- Date: Fri, 9 Jan 1998 15:22:06 -0500 (EST)
On 9 Jan, Miguel de Icaza shouted:
->
-> > One thing that gdk does need is much faster
-> > ()
-> > and
-> > gdk_pixmap_create_from_xpm_d()
-> > functions - they are way too slow. I'll bet imlib has a something you can
-> > drop in to replace this and quadruple performance...? ;)
->
-> Agreed. The current implementation take about 1 second to execute on
-> a 486 to load a 48x48 pixmap.
yeah.. i heard.. yuk! :(
-> On an 433Mhz/Alpha, loading 50 bitmaps takes about 5 seconds.
->
-> Someone told me that the xpm support on gdk at some point used
-> libXpm. Is there any chance to put this code back in gtk? We could
-> add an autoconf test and use Xpm if available, otherwise the slow
-> implementations are used.
Well i'm adding imlib as a "gdk_imlib_*" functions to some .c files..
if it goes into gdk or not i don't know.. but i'm working// i coudl
look at libxpm code and snarf the xpm loading stuff.. reh-ack it..
clean it and dump it into imlib... the "gdk_pixmap_create_from_xpm"
function coudl then just bie a simple wrapper of 3 imlib functions.
-> best wishes,
-> Miguel.
--
+------------------------------------------------------------------------------+
|raster@rasterman.com /\___ /\ ___/||\___ ____/|/\___ raster@redhat.com |
|Carsten Haitzler | _ //__\\ __||_ __\\ ___|| _ / Red Hat Advanced |
|218/21 Conner Drive || // __ \\_ \ | | \ _/_|| / Development Labs |
|Chapel Hill NC 27514 USA ||\\\/ \//__/ |_| /___/||\\ +1 919 547 0012 282 |
| For pure Enlightenment http://www.rasterman.com/ |
+-============================================================================-+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]