xserver ChangeLog,3.199,3.200

Eric Anholt xserver-commit at pdx.freedesktop.org
Tue Jun 29 13:37:53 PDT 2004


Committed by: anholt

Update of /cvs/xserver/xserver
In directory pdx:/tmp/cvs-serv3878

Modified Files:
	ChangeLog 
Log Message:
Add an offscreen area scoring to improve choosing offscreen areas to
kick out when allocation can't find a free area of the requested size.
When offscreen pixmaps get used, the offscreen area's score is increased
by a constant value.  Every certain number of increases, all offscreen
area scores get decreased by a fraction.  When choosing a set of areas
to remove for a new allocation, the set of areas with the smallest total
score is chosen for removal.  While this is not the smartest system, it
prevents things like always removing the first offscreen area in memory
(likely the most recent) to be kicked out when doing replacing.


Index: ChangeLog
===================================================================
RCS file: /cvs/xserver/xserver/ChangeLog,v
retrieving revision 3.199
retrieving revision 3.200
diff -u -d -r3.199 -r3.200
--- ChangeLog	28 Jun 2004 00:48:51 -0000	3.199
+++ ChangeLog	29 Jun 2004 20:37:50 -0000	3.200
@@ -1,3 +1,19 @@
+2004-06-29  root  <set EMAIL_ADDRESS environment variable>
+
+	* hw/kdrive/src/kaa.c: (kaaPixmapUseScreen):
+	* hw/kdrive/src/kdrive.h:
+	* hw/kdrive/src/koffscreen.c: (KdOffscreenAlloc),
+	(KdOffscreenFree), (KdOffscreenMarkUsed), (KdOffscreenInit):
+	Add an offscreen area scoring to improve choosing offscreen areas to
+	kick out when allocation can't find a free area of the requested size.
+	When offscreen pixmaps get used, the offscreen area's score is increased
+	by a constant value.  Every certain number of increases, all offscreen
+	area scores get decreased by a fraction.  When choosing a set of areas
+	to remove for a new allocation, the set of areas with the smallest total
+	score is chosen for removal.  While this is not the smartest system, it
+	prevents things like always removing the first offscreen area in memory
+	(likely the most recent) to be kicked out when doing replacing.
+
 2004-06-27  Keith Packard  <keithp at keithp.com>
 
 	* hw/kdrive/ati/ati.c: (ATICardInit), (ATISetOffscreen),




More information about the xserver-commit mailing list