Re: gtk+ and gtk-engines slow



On 23 Jan, kevin scribbled:
->  Well, If you dont use the cache, the pixmap engine is worthless. It is far to slow
->  to use even on a dual 350. With the cache it is at least useable.

please look at gnome-libs/libgnomeui/gnome-init.c: line 198
                        gdk_imlib_set_cache_info (0, 1);

it checks if preferences say to disable the imlbi pixmap cache then
sets this - what mgiuel doest realise is ther ALREAYd IS an IMLIb
PREFERENCES PROGRAM

imlib_config

it lets the usre turn on and off the pixmap cache and image cache and
set their sizes and everything - thsi overrides any of that and makes
it useless. This is what I woudl call nasty programming. EVERY gnome
app has now as a reult pixmap caching turned off because there is no
way for a user to turn it on - and the imlbi config program is useless
due to this overriding of user preferences. Imlib has and has had user
prefs since the dawn of time for a reason.

I'm going to disable this code in gnome-libs and I don't see ANY good
reasonf or it to be re-renabled. it only leads to horrendous
performance issues.


->  
->  raster@redhat.com wrote:
->  
->  > On 22 Jan, Fox, Kevin M scribbled:
->  > ->  I just tried it as well. It does speed up the computer significantly. :)
->  > ->  If the cache is so much faster, shouldn't it default to cache instead of
->  > ->  defaulting to no cache?
->  >
->  > talk to miguel - he believes the cache is useless. I disagree - it is
->  > why I implimented a cache. I have VERY good reasons for doing stuff
->  > often - most of the time no-one realises until somehting else goes
->  > wrong :(.
->  >
->  > ->  > -----Original Message-----
->  > ->  > From:     Richard Hult [SMTP:rhult@hem2.passagen.se]
->  > ->  > Sent:     Friday, January 22, 1999 8:56 PM
->  > ->  > To:       miguel@nuclecu.unam.mx
->  > ->  > Subject:  RE: gtk+ and gtk-engines slow
->  > ->  >
->  > ->  >
->  > ->  > > Can you put this in your ~/.gnome/Gnome file:
->  > ->  > >
->  > ->  > > [Cache]
->  > ->  > > Disable_Imlib_Cache=0
->  > ->  >
->  > ->  > I suppose you mean this one, right? (I tried that one you suggested but
->  > ->  > I couldn't notice any difference)
->  > ->  >
->  > ->  > [UI_GnomeApp]
->  > ->  > Disable_Imlib_cache=false
->  > ->  >
->  > ->  > At least that's the one I tried. The pixmap engine is now faster! And it
->  > ->  > probably makes sense to cache the pixmaps that is used all the time
->  > ->  > everywhere in all apps... So maybe the pixmap-engine  pixmaps should be
->  > ->  > cached even if the user doesn't want the actuall apps to cache their
->  > ->  > pixmaps.
->  > ->  >
->  > ->  > It's still a bit slow to be usable though... And I'm pretty sure that
->  > ->  > it's been faster a while ago.
->  > ->  >
->  > ->  > By the way, if the cache is disabled, you can easily see how
->  > ->  > inefficient the pixmap theme is. When resizing apps, the widgets get
->  > ->  > redrawn between 2 and 3 times.
->  > ->  >
->  > ->  > Richard.
->  > ->  >
->  > ->  > ps this is with all the newest stuff from cvs on a RH5.2, i386, P166 w/
->  > ->  > 96MB.
->  > ->  >
->  > ->  >
->  > ->  >
->  > ->  > --
->  > ->  >         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
->  > ->  >          To unsubscribe: mail gnome-list-request@gnome.org with
->  > ->  >                        "unsubscribe" as the Subject.
->  > ->
->  > ->
->  >
->  > --
->  > --------------- Codito, ergo sum - "I code, therefore I am" --------------------
->  > raster@rasterman.com       /\___ /\ ___/||\___ ____/|/\___  raster@redhat.com
->  > Carsten Haitzler           | _ //__\\ __||_ __\\ ___|| _ /  Red Hat Advanced
->  > 218/21 Conner Drive        || // __ \\_ \ | |   \ _/_|| /   Development Labs
->  > Chapel Hill NC 27514 USA   ||\\\/  \//__/ |_|   /___/||\\   919 547 0012 ext 282
->  > +1 (919) 929 9443, 801 4392   For pure Enlightenment   http://www.rasterman.com/
->  >
->  >               \|/ ____ \|/  For those of you unaware. This face here is in fact
->  >               "@'/ ,. \@"   a Linux Kernel Error Message.
->  >               /_| \__/ |_\
->  >                  \__U_/
->  >
->  >
->  > --
->  >         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
->  >          To unsubscribe: mail gnome-list-request@gnome.org with
->  >                        "unsubscribe" as the Subject.

-- 
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
raster@rasterman.com       /\___ /\ ___/||\___ ____/|/\___  raster@redhat.com
Carsten Haitzler           | _ //__\\ __||_ __\\ ___|| _ /  Red Hat Advanced
218/21 Conner Drive        || // __ \\_ \ | |   \ _/_|| /   Development Labs
Chapel Hill NC 27514 USA   ||\\\/  \//__/ |_|   /___/||\\   919 547 0012 ext 282
+1 (919) 929 9443, 801 4392   For pure Enlightenment   http://www.rasterman.com/

              \|/ ____ \|/  For those of you unaware. This face here is in fact
	      "@'/ ,. \@"   a Linux Kernel Error Message.
	      /_| \__/ |_\
		 \__U_/
							   



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