Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: GTK client draws more slowly than it needs to (PR#899)
Home

[Freeciv-Dev] Re: GTK client draws more slowly than it needs to (PR#899)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Luke Lindsay <lindsal49@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: GTK client draws more slowly than it needs to (PR#899)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 21 Aug 2001 10:57:28 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Mon, Aug 20, 2001 at 11:59:47PM +0100, Luke Lindsay wrote:
> Apologies butting in without having looked at the code, but please hear me
> through..
> 
> I think it is clear that the GTK client strolls alot slower than it should
> do, but I would be surprised if creating a tile-cache as has been described
> would actually solve the problem or actually make much difference.
> 
> I would suggest solving it something like this:

[snip optimized clipping]

> I am sorry I am not able to submit a patch myself.  It would be
> fairly straight forward to do.  I am half way through doing exactly
> the same thing for the project I work on: the java client for
> freerails.  If anyone's interested in trying on the GTK client, I
> can point out my java implementation and answer any questions if it
> would be help.

There would some extra code needed in center_tile_mapcanvas() and the
passing of the old valid rectangle down to update_map_canvas(). Is
there a volunteer?

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "We just typed make..."
    -- Stephen Lambrigh, Director of Server Product Marketing at Informix,
                         about porting their Database to Linux


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