xserver/hw/xgl xgl.h,1.6,1.7 xgltrap.c,1.1,1.2

David Reveman xserver-commit at pdx.freedesktop.org
Tue Feb 1 13:22:05 PST 2005


Committed by: davidr

Update of /cvs/xserver/xserver/hw/xgl
In directory gabe:/tmp/cvs-serv32622/hw/xgl

Modified Files:
	xgl.h xgltrap.c 
Log Message:
Use negative stride for trapezoid masks in Xgl

Index: xgl.h
===================================================================
RCS file: /cvs/xserver/xserver/hw/xgl/xgl.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- xgl.h	26 Jan 2005 10:58:52 -0000	1.6
+++ xgl.h	1 Feb 2005 21:22:02 -0000	1.7
@@ -337,7 +337,7 @@
     int		      score;
     Bool	      acceleratedTile;
     pointer	      bits;
-    unsigned int      stride;
+    int		      stride;
     DamagePtr	      pDamage;
     BoxRec	      damageBox;
     BoxRec	      bitBox;

Index: xgltrap.c
===================================================================
RCS file: /cvs/xserver/xserver/hw/xgl/xgltrap.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- xgltrap.c	26 Jan 2005 10:58:52 -0000	1.1
+++ xgltrap.c	1 Feb 2005 21:22:02 -0000	1.2
@@ -74,10 +74,9 @@
 
 	pPixmapPriv->target = xglPixmapTargetNo;
 
-	/* force negative stride
+	/* force negative stride */
 	if (pPixmapPriv->stride > 0)
 	    pPixmapPriv->stride = -pPixmapPriv->stride;
-	*/
     }
     
     pGC = GetScratchGC (pPixmap->drawable.depth, pScreen);



More information about the xserver-commit mailing list