Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] Re: different iso drawing algorithms
Home

[Freeciv-Dev] Re: different iso drawing algorithms

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: different iso drawing algorithms
From: Jason Short <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: 13 Dec 2002 06:51:33 -0500

On Fri, 2002-12-13 at 06:31, Raimar Falke wrote:
> On Fri, Dec 13, 2002 at 10:35:53AM +0100, Raimar Falke wrote:
> >     Using a mask with gdk_draw_pixmap doesn't slow gdk_draw_pixmap down.
> 
> this and the statement "the iso code only doubles the number of calls
> of some functions in the worst case but on most functions the number
> of calls are the same as in the iso case" leaves me which the big
> question: why is the iso-mode slower by factor 30?

Using the blending mask on tiles definitely slows things down - these
sprites are not drawn at all in non-iso mode.  The blending mask means
we only need half as many tiles in the tileset, but there is extra
overhead in drawing.

jason



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