Re: Performance issue with new gtk 2.0 for win32

"J. Ali Harlow" <[email protected]>
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
On 2002.12.03 14:37 Allin Cottrell wrote:
> Tor, any thoughts on this?  Is it possible that those of us seeing the
> slowdown have something wrong with our pango setup?  I notice that on
> your downloads page you refer to the gnuwin32 FreeType2 package and
> say this is "used by GTK+ 2.0".  Hmm, I don't have that installed on
> Windows and it doesn't seem to be missed...

One obvious possibility is that the slowdown is only seen on
Windows 9x and not 2K/XP. Extract from Tor's post:

2002-11-14  Tor Lillqvist  <[email protected]>

        Start implementing all fill styles (i.e. tiled, stippled, and
        opaque stippled in addition to the plain solid style) in the Win32
        backend in an elegant and generic way. For now only did the
        draw_rectangle() and draw_glyphs() methods. The rest will
        follow. Previously some of the drawing methods implemented opaque
        stippling, but not tiles or non-opaque stippling.

        Seems to work fine, now the check marks show up in check buttons,
        the stippled background and stippled text in gtk-demo's Text
        Widget look as they should, and GtkText's line wrap arrow shows
        correctly instead of an ugly rectangle.

        The implementation does do a lot of pixmap handling and blitting
        back and forth, especially on Win9x. But performance is hopefully
        not an issue. I don't think many applications do a lot of tiled or
        stippled drawing.

-- 
Ali Harlow                              Email: [email protected]
Research programmer                     Tel:   (020) 7040 4348
Applied Vision Research Centre          Intl: +44 20 7040 4348
City University                         Fax:   (020) 7040 5515
London                                  Intl: +44 20 7040 5515
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.