Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2000:
[Freeciv-Dev] Re: Memory leak fixed, new version uploaded
Home

[Freeciv-Dev] Re: Memory leak fixed, new version uploaded

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Andreas Kemnade <akemnade@xxxxxxxxxxx>
Cc: Nathan Lovell <lovell@xxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Memory leak fixed, new version uploaded
From: Tuomas Airaksinen <tuma@xxxxxxxxxxxx>
Date: Mon, 18 Dec 2000 22:01:23 +0200

On Sat, Dec 16, 2000 at 09:26:34PM +0100, Andreas Kemnade wrote:
> Nathan Lovell writes:
>  > 
>  > 
>  > > > The file freeciv-1.11.4-win.zip can be deleted (my internet connection
>  > > > has broken down while uploading).
>  > > > 
>  > > > I don't stop working on the native windows port (it is much faster
>  > > > than the windows-gtk port).
>  > > 
>  > > I wonder why is the windows port of gtk so slow then (fixing that bug 
> didn't 
>  > > speed up it at all, I suppose)?
>  > 
>  > Yes, I noticed that GTK is EXTREMELY slow.  Is the native windows port
>  > available for testing, then?
>  > 
> I think the way to draw (pix/bit)-maps with masks (=Icons on windows)
> is quite slow because gdk_gc_set_mask is quite complex and
> slow.

Why does the same thing then work _very_ fast on linux?

> Compare that code with the code of DrawIcon in the wine sources.
> It's much simpler. As gdk_gc_set_mask is not only used for drawing
> pixmaps like in freeciv, it has to be universal and cannot be as
> simple as DrawIcon.

I think there must be a bug, and the reason is above. Why would 
the same code work slower on other environment?

> I have put a test version at
> http://home.t-online.de/home/akemnade/incomplete-win-native.zip

I tested that, and saw that you had done very good work (although
some dialogs were still a bit ugly, but that's understandable). 
 
-- 
Terveisin   Tuomas Airaksinen        linux
Kotisivu:   http://tuma.cjb.net/      is all   
Sähköposti: tuma@xxxxxxxxxxxx          we   
Icq:        11870110, IRCnet: tuma      need 

Attachment: pgpbqCsfkcbLI.pgp
Description: PGP signature


[Prev in Thread] Current Thread [Next in Thread]