Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2004:
[Freeciv-Dev] Re: (PR#7376) Unify dirty managment
Home

[Freeciv-Dev] Re: (PR#7376) Unify dirty managment

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: i-freeciv-lists@xxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#7376) Unify dirty managment
From: "Arnstein Lindgard" <a-l@xxxxxxx>
Date: Wed, 4 Feb 2004 09:46:28 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7376 >

On Wed, 4 Feb 2004 09:01:25 -0800 Jason Short wrote:

> This doesn't work.  For instance gui-gtk-2.0 uses a very different method
> of queing the areas to be flushed.

I think it should go. For animation, I'm setting up a timer to
guarantee redraws at ~60 fps. Seems like X writes to the actual
screen after only one gdk_draw_pixmap operation to the "window" in
gtk1, so several consequtive writes end up in different physical
redraw cycles, even if they come in a tight loop. In worst case it
can cause blinking/flickering. So it seems pointless to have a value
for NUM_DIRTY_RECTS bigger than 1.

At any rate, blitting the entire backing store to screen shouldn't
take much CPU or user time compared to updating tiles, and Christian
earlier confirmed that the scroller runs smoothly on a P233.


Arnstein




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