Lines Matching defs:FbBits

49  * by this software; it must be log2(sizeof (FbBits) * 8)
63 #define FB_ALLONES ((FbBits) -1)
98 #define FbFullMask(n) ((n) == FB_UNIT ? FB_ALLONES : ((((FbBits) 1) << n) - 1))
102 typedef unsigned __int64 FbBits;
109 typedef unsigned long FbBits;
111 typedef unsigned long long FbBits;
117 typedef CARD32 FbBits;
121 typedef CARD16 FbBits;
125 typedef FbBits FbStip;
151 /* #define FbLeftBits(x,n) ((x) & ((((FbBits) 1) << (n)) - 1)) */
161 #define FbPatternOffsetBits (sizeof (FbBits) - 1)
271 case (sizeof (FbBits) - 7) | (1 << (FB_SHIFT - 3)): \
272 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
274 case (sizeof (FbBits) - 7) | (2 << (FB_SHIFT - 3)): \
275 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
276 FbStorePart(dst,sizeof (FbBits) - 6,CARD8,xor); \
278 case (sizeof (FbBits) - 7) | (3 << (FB_SHIFT - 3)): \
279 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
280 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
282 case (sizeof (FbBits) - 7) | (4 << (FB_SHIFT - 3)): \
283 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
284 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
285 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
287 case (sizeof (FbBits) - 7) | (5 << (FB_SHIFT - 3)): \
288 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
289 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
290 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
292 case (sizeof (FbBits) - 7) | (6 << (FB_SHIFT - 3)): \
293 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
294 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
295 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
296 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
298 case (sizeof (FbBits) - 7): \
299 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
300 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
301 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
303 case (sizeof (FbBits) - 6) | (1 << (FB_SHIFT - 3)): \
304 FbStorePart(dst,sizeof (FbBits) - 6,CARD8,xor); \
306 case (sizeof (FbBits) - 6) | (2 << (FB_SHIFT - 3)): \
307 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
309 case (sizeof (FbBits) - 6) | (3 << (FB_SHIFT - 3)): \
310 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
311 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
313 case (sizeof (FbBits) - 6) | (4 << (FB_SHIFT - 3)): \
314 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
315 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
317 case (sizeof (FbBits) - 6) | (5 << (FB_SHIFT - 3)): \
318 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
319 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
320 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
322 case (sizeof (FbBits) - 6): \
323 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
324 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
326 case (sizeof (FbBits) - 5) | (1 << (FB_SHIFT - 3)): \
327 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
329 case (sizeof (FbBits) - 5) | (2 << (FB_SHIFT - 3)): \
330 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
331 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
333 case (sizeof (FbBits) - 5) | (3 << (FB_SHIFT - 3)): \
334 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
335 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
337 case (sizeof (FbBits) - 5) | (4 << (FB_SHIFT - 3)): \
338 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
339 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
340 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
342 case (sizeof (FbBits) - 5): \
343 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
344 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
346 case (sizeof (FbBits) - 4) | (1 << (FB_SHIFT - 3)): \
347 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
349 case (sizeof (FbBits) - 4) | (2 << (FB_SHIFT - 3)): \
350 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
352 case (sizeof (FbBits) - 4) | (3 << (FB_SHIFT - 3)): \
353 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
354 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
356 case (sizeof (FbBits) - 4): \
357 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
385 case (sizeof (FbBits) - 3) | (1 << (FB_SHIFT - 3)): \
386 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
388 case (sizeof (FbBits) - 3) | (2 << (FB_SHIFT - 3)): \
389 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
390 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
392 case (sizeof (FbBits) - 2) | (1 << (FB_SHIFT - 3)): \
393 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
395 case sizeof (FbBits) - 3: \
396 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
397 case sizeof (FbBits) - 2: \
398 FbStorePart(dst,sizeof (FbBits) - 2,CARD16,xor); \
400 case sizeof (FbBits) - 1: \
401 FbStorePart(dst,sizeof (FbBits) - 1,CARD8,xor); \
451 * of the FbBits base unit, 'o' is the offset within that unit
469 #define FbLaneCase8(n,a,o) ((n) == 0x0ff ? (*(FbBits *) ((a)+(o)) = fgxor) : \
608 FbBits and, xor; /* reduced rop values */
609 FbBits bgand, bgxor; /* for stipples */
610 FbBits fg, bg, pm; /* expanded and filled */
654 (pointer) = (FbBits *) _pPix->devPrivate.ptr; \
655 (stride) = ((int) _pPix->devKind) / sizeof (FbBits); \
728 FbBits pm,
823 fbDots8 (FbBits *dst,
831 FbBits and,
832 FbBits xor);
835 fbArc8 (FbBits *dst,
841 FbBits and,
842 FbBits xor);
845 fbGlyph8 (FbBits *dstLine,
849 FbBits fg,
895 fbDots16(FbBits *dst,
903 FbBits and,
904 FbBits xor);
907 fbArc16(FbBits *dst,
913 FbBits and,
914 FbBits xor);
917 fbGlyph16(FbBits *dstLine,
921 FbBits fg,
968 fbDots24(FbBits *dst,
976 FbBits and,
977 FbBits xor);
980 fbArc24(FbBits *dst,
986 FbBits and,
987 FbBits xor);
990 fbGlyph24(FbBits *dstLine,
994 FbBits fg,
1041 fbDots32(FbBits *dst,
1049 FbBits and,
1050 FbBits xor);
1053 fbArc32(FbBits *dst,
1059 FbBits and,
1060 FbBits xor);
1063 fbGlyph32(FbBits *dstLine,
1067 FbBits fg,
1087 fbBlt (FbBits *src,
1091 FbBits *dst,
1099 FbBits pm,
1106 fbBlt24 (FbBits *srcLine,
1110 FbBits *dstLine,
1118 FbBits pm,
1125 FbStride srcStride, /* in FbStip units, not FbBits units */
1129 FbStride dstStride, /* in FbStip units, not FbBits units */
1136 FbBits pm,
1146 FbBits *dst,
1154 FbBits fgand,
1155 FbBits fbxor,
1156 FbBits bgand,
1157 FbBits bgxor);
1164 FbBits *dst,
1165 FbStride dstStride, /* FbBits units per scanline */
1172 FbBits fgand, /* rrop values */
1173 FbBits fgxor,
1174 FbBits bgand,
1175 FbBits bgxor);
1179 fbBltPlane (FbBits *src,
1385 FbBits and,
1386 FbBits xor);
1486 FbBits pm,
1497 FbBits fg,
1498 FbBits bg,
1499 FbBits pm,
1587 fbDots (FbBits *dstOrig,
1595 FbBits andOrig,
1596 FbBits xorOrig);
1794 fbSolid (FbBits *dst,
1802 FbBits and,
1803 FbBits xor);
1807 fbSolid24 (FbBits *dst,
1814 FbBits and,
1815 FbBits xor);
1823 fbTransparentSpan (FbBits *dst,
1824 FbBits stip,
1825 FbBits fgxor,
1829 fbEvenStipple (FbBits *dst,
1841 FbBits fgand,
1842 FbBits fgxor,
1843 FbBits bgand,
1844 FbBits bgxor,
1850 fbOddStipple (FbBits *dst,
1863 FbBits fgand,
1864 FbBits fgxor,
1865 FbBits bgand,
1866 FbBits bgxor,
1872 fbStipple (FbBits *dst,
1886 FbBits fgand,
1887 FbBits fgxor,
1888 FbBits bgand,
1889 FbBits bgxor,
1899 fbEvenTile (FbBits *dst,
1906 FbBits *tile,
1910 FbBits pm,
1915 fbOddTile (FbBits *dst,
1922 FbBits *tile,
1928 FbBits pm,
1935 fbTile (FbBits *dst,
1942 FbBits *tile,
1948 FbBits pm,
1957 FbBits
1961 fbReduceRasterOp (int rop, FbBits fg, FbBits pm, FbBits *andp, FbBits *xorp);
2006 FbBits and,
2007 FbBits xor);