Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2005:
[Freeciv-Dev] (PR#12151) map scrolling interrupted
Home

[Freeciv-Dev] (PR#12151) map scrolling interrupted

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: chrisk@xxxxxxxxx
Subject: [Freeciv-Dev] (PR#12151) map scrolling interrupted
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 10 Feb 2005 12:36:53 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12151 >

> [chrisk - Mon Feb 07 10:27:26 2005]:
> 
> 
> CVS 07 FEB 2005 GTK2 HEAD
> 
> When I move the main map (soft scroll), the execution occurs in two steps,
> which looks very ugly.

This happens with mapview sliding.  The problem is when the FPS drops
below 10 the sliding becomes counter-productive (more confusing than
helpful).  FPS depends heavily on tileset, computer power, and screen
resolution/window size.  I think gdk isn't accelerated so a graphics
card will make no difference.

There is code that counts up the FPS on each slide.  Search
mapview_common.c for "FPS" and change the LOG_DEBUG message to a
LOG_NORMAL to enable it.  Perhaps we should automatically disable it if
it is too slow.

Recent/ongoing changes to the drawing code (so-called "queued drawing")
will speed up refreshes dramatically (up to 100x) but will have no
effect on sliding speed.  However I do have some changes planned (after
discussions with Per and Vasco) that could speed up sliding speed a bit.

-jason




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