xserver ChangeLog,3.303,3.304

David Reveman <xserver-commit-u7BhqnqprCWvj1b/[email protected]> Tue, 8 Mar 2005 00:30:49 -0800 (PST)
Newsgroups gmane.comp.freedesktop.xserver.cvs
Message-ID <[email protected]>
Committed by: davidr

Update of /cvs/xserver/xserver
In directory gabe:/tmp/cvs-serv12620

Modified Files:
	ChangeLog 
Log Message:
Fix Xgl glyph caching

Index: ChangeLog
===================================================================
RCS file: /cvs/xserver/xserver/ChangeLog,v
retrieving revision 3.303
retrieving revision 3.304
diff -u -d -r3.303 -r3.304
--- ChangeLog	8 Mar 2005 07:58:39 -0000	3.303
+++ ChangeLog	8 Mar 2005 08:30:47 -0000	3.304
@@ -1,5 +1,15 @@
 2005-03-08  David Reveman  <[email protected]>
 
+	* hw/xgl/xglglyph.c (xglGlyphCompareScore): Area cannot be replaced
+	if glyph serial is equal to the current glyph serial. If this is the
+	case we return 1, which means that this area comes out as the one with
+	greater score and will not be replaced.
+	(xglCacheGlyph): Initialize glyph serial to current glyph serial.
+	(xglUncachedGlyphs): 
+	(xglCachedGlyphs): Cleaned up use of glyph cache slightly.
+	(xglCachedGlyphs): Initialize extends.
+	(xglCachedGlyphs): Set noCache after restoring saved glyph operator.
+
 	* render/glyph.c (AddGlyph): Fix memory leak of glyph privates. 
 
 2005-03-02  Carl Worth  <[email protected]>