Re: [Gimp-developer] Gimp on OS X (was: Re: Misnamed structure element in SFScript structure?)

2004-02-06 Thread Sven Neumann
Hi,

[EMAIL PROTECTED] ( Marc) (A.) (Lehmann ) writes:

  BTW: In OSX gtk 2 has really sucky rendering performance compared
  to gtk 1.
 
 The same is true for gtk+ on other X11 platforms (but it's usually
 bearable, but very noticable). The biggest offender is font drawing:
 Xft is a rather slow design already and the (very good!) i18n
 features of gtk+2 seem to cost even further cycles.
 
 It helps to a) avoid antialiasing (small effect) b) use x fonts (big
 effect).

If fonts are rendered using XRender, font rendering shouldn't be a
major problem. But I don't have any numbers to base this on.

 There might be other slowdowns, but I think fonts and themes are the
 predominant offenders that make gtk+2 so slow.

I think what's slowing gtk+2 down is the back-buffering on the client
side. Every expose event causes a pixmap to be allocated. Drawing
operations are then redirected to that pixmap and finally the pixmap
is blitted to the screen. This makes the display flicker-free but
can bring down performance quite badly.

Another slowness is the treeview. There's a major speedup possible by
fixing the row heights and Wwe could do this for The GIMP but it will
need GTK+-2.4.

There's also some possible optimizations in our preview code. At the
moment we sometimes convert a GdkPixbuf to a TempBuf when we could
render the pixbuf directly. Perhaps we can improve this for GIMP-2.2
but I doubt that it will make a noticeable difference.


Sven
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


[Gimp-developer] Gimp on OS X (was: Re: Misnamed structure element in SFScript structure?)

2004-02-05 Thread Daniel Egger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Feb 5, 2004, at 5:20 pm, Sven Neumann wrote:

Are there any numbers you can base this statement on? I don't think
this assumption is correct. Not that it would matter much but I doubt
there are more Win32 GIMP users than Linux GIMP users. I'd also like
to get an idea of the number of MacOS X GIMP users.
FWIW I'm using GIMP 1.2 under OS X and suspect that there might be
a few freaks who do so, too simply because it's easily to install
if there's fink on the machine. On the other hand there're probably
not to many professionals doing this because fink is too much
Unixish for UI attracted persons and Photoshop is still the
standard; and no, Mac professionals normally don't care much about
prices as far as maximum productivity and creativity is concerned.
I do realize that things are shifting a bit now that Macs start
providing better bang for the buck. :)
BTW: In OSX gtk 2 has really sucky rendering performance compared
to gtk 1. I haven't tried GIMP v2 as of yet but other applications'
UIs like gnumeric and evolution are simply slow on my new PowerBook
which is certainly not a weak performer. FWIW one can feel the
performance difference between my old PowerBook under Linux and
the new PowerBook under OS X with the same applications. This is
quite a showstopper for GIMP v2.
Unfortunately I've no idea how to profile the X communication to
possibly find the bottleneck. Any ideas?
- --
Servus,
  Daniel
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)
iQEVAwUBQCJ5EDBkNMiD99JrAQLMWggAwplnURivogW16c4EeeXs/c6kRnd6h72u
ym5jEIERhdW8nnHjvBrcgaJXBpJV2S/A5ykny9OX7dGiz44TZ6xrX9riJsPIj74P
+MTN4cmcyHjrzUybHX4h3wbv/cbc59LoZY1freDWo1HMdt5+kbJdPMSD6hvgUjs0
1pii3ZMy6iPM/C+936H9EDjlJLm5vG2FCPD4vwaSKHDEs3tEeXstlnXsQClvi1eO
IB9HSY2/0qVNFnCZZl+xZpaBnAxsqg+r8Z168WeltNNC8zThPyQQYooxL2u9xrhW
pXe983du5k2EsET5Z4iKZL3lUd+Cq0CS4wH4AJfp/OwzZL7R5vxs9A==
=EGy7
-END PGP SIGNATURE-
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer