[Bug 62109] Redrawing is very slow over network connection

Mauricio Piacentini mauricio at tabuleiro.com
Fri Aug 25 19:35:48 UTC 2006


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=62109         
mauricio tabuleiro com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
      everconfirmed|0                           |1



------- Additional Comments From mauricio tabuleiro com  2006-08-25 21:35 -------
Yes, I have noticed this already, and you are right about the source of the problem. The whole field is redrawn when tiles are added or removed, this has to do with calculation of shadows, among other issues. We definately need to optmize this.
I am working on enhancements for KMahjongg in KDE4, you can read more about this at
http://tsdgeos.blogspot.com/2006/08/kmahjongg-revamp.html

I will definately try to address this issue, by enabling partial invalidation of the rects, and more selective redrawing. I noticed that in my new test build (using SVG and big tiles) that this issue is even more important with scalable tilesets. When the play field are gets bigger (1200X700 for example) redraws are slow even on the local machine, and cpu usage spikes to 50% or more when the game is simply blinking the hint tile. 

Too bad the resolution is not simple, it basically involves rewriting the drawing code... It will take a while, but I plan to have it ready for KDE4.



More information about the pkg-kde-bugs-fwd mailing list