[CF-Devel] smoothing screenshots

crossfire-devel-admin at archives.real-time.com crossfire-devel-admin at archives.real-time.com
Tue Jul 15 07:51:11 CDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le Dimanche 13 Juillet 2003 22:28, Tim Rightnour a écrit :
>
     
      On 12-Jul-03 Todd Mitchell wrote:
     
     >
     
      > Well things progress.  I put up a wack of screen shots up at
     
     >
     
     
     >
     
      So I've tried using the smoothing code, and it slows my client to an
     
     >
     
      absolute crawl.  So bad, that shutting it off takes 2 minutes, for all the
     
     >
     
      clicks to register and the little menu to come up.  I have a 1.4Ghz Athlon,
     
     >
     
      so somthing isn't right here.  Once it finishes smoothing an area.. it's ok
     
     >
     
      for a few seconds.. but most of the time it's unusable.
     
     >
     
     
     

The fact is, in the worst cases, when drawing a square of the system, 
smoothing need to draw 8 times more than the classical way. This is because 
in the worst case a square is surrounded by 8 different smoothing squares.
However, checks here show, in some case where half the picture is made of 
identical sea (this mean cases where on half the picture ther is no smoothing 
to do) a high peak in XFree86 CPU consumption. I investigate it to see if i 
didn't make something wrong. 
Don't forget the client uses gtk, which is not known to be a fast always 
changing pictures, library. SDL client should work far better.
Anyway, there is perhaps someting to fix there. up to 15% CPU consumption on a 
2Ghz processor is too much.

>
     
      Admittedly though, it looks gorgeous.
     
     >
     
     
     >
     
      ---
     
     >
     
      Tim Rightnour <
      
      root at garbled.net
      
      >
     
     >
     
      NetBSD: Free multi-architecture OS 
      
      http://www.netbsd.org/
      
      
     >
     
      NetBSD supported hardware database:
     
     >
     
     
      http://mail-index.netbsd.org/cgi-bin/hw.cgi
      
      
     >
     
     
     >
     
      _______________________________________________
     
     >
     
      crossfire-devel mailing list
     
     >
     
     
      crossfire-devel at lists.real-time.com
      
      
     >
     
     
      https://mailman.real-time.com/mailman/listinfo/crossfire-devel
      
      
     -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/E/jEHHGOa1Q2wXwRAkwnAJ9qd8qG4nriDmC1snofrdavnCnnIwCfXBfw
iTT+M5BGX5ljWkgYJ2780Z8=
=tFYY
-----END PGP SIGNATURE-----


_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list