[xserver-commit] xserver/include scrnintstr.h,1.13,1.14
Keith Packard
xserver-commit@pdx.freedesktop.org
Thu, 15 Jan 2004 00:53:47 -0800
Committed by: keithp
Update of /cvs/xserver/xserver/include
In directory pdx:/tmp/cvs-serv2073/include
Modified Files:
scrnintstr.h
Log Message:
2004-01-15 Keith Packard <keithp@keithp.com>
* composite/compinit.c: (compAddArgbVisual):
* dix/colormap.c:
* fb/fbcmap.c: (fbInitVisuals):
* include/scrnintstr.h:
Add alphaMask to visual so that pixel allocations for ARGB
visuals can include an opaque pixel value.
Index: scrnintstr.h
===================================================================
RCS file: /cvs/xserver/xserver/include/scrnintstr.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- scrnintstr.h 11 Sep 2003 05:12:51 -0000 1.13
+++ scrnintstr.h 15 Jan 2004 08:53:45 -0000 1.14
@@ -75,6 +75,10 @@
* it may have more or fewer */
unsigned long redMask, greenMask, blueMask;
int offsetRed, offsetGreen, offsetBlue;
+#ifdef COMPOSITE
+ unsigned long alphaMask;
+ int offsetAlpha;
+#endif
} VisualRec;
typedef struct _Depth {