Tartarus CVS: zap: christian
tartarus-commits@lists.tartarus.org
tartarus-commits@lists.tartarus.org
Tue, 26 Aug 2003 01:26:58 +0100
CVS Root: /home/cvs
Module: zap
Changes by: christian
Date: Tue Aug 26 2003 01:26:58 BST
Log message:
Add some code to profile functions, and use this to determine why DSAVDU mode was so slow. Turned out to be recaching the font on every redraw_area, so fix that. Also improve the algorithm used to determine what bpp to cache the font in - should use the redraw block, not the current screen mode.
Modified files:
sources/!ZapRedraw: MakeFile,fe1
sources/!ZapRedraw/h: ZapRedHdr,fff
sources/!ZapRedraw/s: Cache,fff Commands,fff DSARedraw,fff
ZapRedraw,fff
Links:
http://cvs.tartarus.org//zap/sources/%21ZapRedraw/MakeFile%2Cfe1.diff?r1=1.6&r2=1.7
http://cvs.tartarus.org//zap/sources/%21ZapRedraw/h/ZapRedHdr%2Cfff.diff?r1=1.8&r2=1.9
http://cvs.tartarus.org//zap/sources/%21ZapRedraw/s/Cache%2Cfff.diff?r1=1.11&r2=1.12
http://cvs.tartarus.org//zap/sources/%21ZapRedraw/s/Commands%2Cfff.diff?r1=1.5&r2=1.6
http://cvs.tartarus.org//zap/sources/%21ZapRedraw/s/DSARedraw%2Cfff.diff?r1=1.12&r2=1.13
http://cvs.tartarus.org//zap/sources/%21ZapRedraw/s/ZapRedraw%2Cfff.diff?r1=1.18&r2=1.19