Lines Matching defs:FbBits

51  * by this software; it must be log2(sizeof (FbBits) * 8)
65 #define FB_ALLONES ((FbBits) -1)
100 #define FbFullMask(n) ((n) == FB_UNIT ? FB_ALLONES : ((((FbBits) 1) << n) - 1))
104 typedef unsigned __int64 FbBits;
113 typedef unsigned long FbBits;
115 typedef unsigned long long FbBits;
121 typedef CARD32 FbBits;
125 typedef CARD16 FbBits;
129 typedef FbBits FbStip;
155 /* #define FbLeftBits(x,n) ((x) & ((((FbBits) 1) << (n)) - 1)) */
165 #define FbPatternOffsetBits (sizeof (FbBits) - 1)
275 case (sizeof (FbBits) - 7) | (1 << (FB_SHIFT - 3)): \
276 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
278 case (sizeof (FbBits) - 7) | (2 << (FB_SHIFT - 3)): \
279 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
280 FbStorePart(dst,sizeof (FbBits) - 6,CARD8,xor); \
282 case (sizeof (FbBits) - 7) | (3 << (FB_SHIFT - 3)): \
283 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
284 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
286 case (sizeof (FbBits) - 7) | (4 << (FB_SHIFT - 3)): \
287 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
288 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
289 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
291 case (sizeof (FbBits) - 7) | (5 << (FB_SHIFT - 3)): \
292 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
293 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
294 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
296 case (sizeof (FbBits) - 7) | (6 << (FB_SHIFT - 3)): \
297 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
298 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
299 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
300 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
302 case (sizeof (FbBits) - 7): \
303 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
304 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
305 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
307 case (sizeof (FbBits) - 6) | (1 << (FB_SHIFT - 3)): \
308 FbStorePart(dst,sizeof (FbBits) - 6,CARD8,xor); \
310 case (sizeof (FbBits) - 6) | (2 << (FB_SHIFT - 3)): \
311 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
313 case (sizeof (FbBits) - 6) | (3 << (FB_SHIFT - 3)): \
314 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
315 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
317 case (sizeof (FbBits) - 6) | (4 << (FB_SHIFT - 3)): \
318 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
319 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
321 case (sizeof (FbBits) - 6) | (5 << (FB_SHIFT - 3)): \
322 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
323 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
324 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
326 case (sizeof (FbBits) - 6): \
327 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
328 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
330 case (sizeof (FbBits) - 5) | (1 << (FB_SHIFT - 3)): \
331 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
333 case (sizeof (FbBits) - 5) | (2 << (FB_SHIFT - 3)): \
334 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
335 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
337 case (sizeof (FbBits) - 5) | (3 << (FB_SHIFT - 3)): \
338 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
339 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
341 case (sizeof (FbBits) - 5) | (4 << (FB_SHIFT - 3)): \
342 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
343 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
344 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
346 case (sizeof (FbBits) - 5): \
347 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
348 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
350 case (sizeof (FbBits) - 4) | (1 << (FB_SHIFT - 3)): \
351 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
353 case (sizeof (FbBits) - 4) | (2 << (FB_SHIFT - 3)): \
354 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
356 case (sizeof (FbBits) - 4) | (3 << (FB_SHIFT - 3)): \
357 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
358 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
360 case (sizeof (FbBits) - 4): \
361 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
389 case (sizeof (FbBits) - 3) | (1 << (FB_SHIFT - 3)): \
390 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
392 case (sizeof (FbBits) - 3) | (2 << (FB_SHIFT - 3)): \
393 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
394 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
396 case (sizeof (FbBits) - 2) | (1 << (FB_SHIFT - 3)): \
397 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
399 case sizeof (FbBits) - 3: \
400 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
401 case sizeof (FbBits) - 2: \
402 FbStorePart(dst,sizeof (FbBits) - 2,CARD16,xor); \
404 case sizeof (FbBits) - 1: \
405 FbStorePart(dst,sizeof (FbBits) - 1,CARD8,xor); \
455 * of the FbBits base unit, 'o' is the offset within that unit
473 #define FbLaneCase8(n,a,o) ((n) == 0x0ff ? (*(FbBits *) ((a)+(o)) = fgxor) : \
618 FbBits and, xor; /* reduced rop values */
619 FbBits bgand, bgxor; /* for stipples */
620 FbBits fg, bg, pm; /* expanded and filled */
679 (pointer) = (FbBits *) _pPix->devPrivate.ptr; \
680 (stride) = ((int) _pPix->devKind) / sizeof (FbBits); (void)(stride); \
754 FbBits pm,
849 fbDots8 (FbBits *dst,
859 FbBits and,
860 FbBits xor);
863 fbArc8 (FbBits *dst,
869 FbBits and,
870 FbBits xor);
873 fbGlyph8 (FbBits *dstLine,
877 FbBits fg,
923 fbDots16(FbBits *dst,
933 FbBits and,
934 FbBits xor);
937 fbArc16(FbBits *dst,
943 FbBits and,
944 FbBits xor);
947 fbGlyph16(FbBits *dstLine,
951 FbBits fg,
998 fbDots24(FbBits *dst,
1008 FbBits and,
1009 FbBits xor);
1012 fbArc24(FbBits *dst,
1018 FbBits and,
1019 FbBits xor);
1022 fbGlyph24(FbBits *dstLine,
1026 FbBits fg,
1073 fbDots32(FbBits *dst,
1083 FbBits and,
1084 FbBits xor);
1087 fbArc32(FbBits *dst,
1093 FbBits and,
1094 FbBits xor);
1097 fbGlyph32(FbBits *dstLine,
1101 FbBits fg,
1121 fbBlt (FbBits *src,
1125 FbBits *dst,
1133 FbBits pm,
1140 fbBlt24 (FbBits *srcLine,
1144 FbBits *dstLine,
1152 FbBits pm,
1159 FbStride srcStride, /* in FbStip units, not FbBits units */
1163 FbStride dstStride, /* in FbStip units, not FbBits units */
1170 FbBits pm,
1180 FbBits *dst,
1188 FbBits fgand,
1189 FbBits fbxor,
1190 FbBits bgand,
1191 FbBits bgxor);
1198 FbBits *dst,
1199 FbStride dstStride, /* FbBits units per scanline */
1206 FbBits fgand, /* rrop values */
1207 FbBits fgxor,
1208 FbBits bgand,
1209 FbBits bgxor);
1213 fbBltPlane (FbBits *src,
1419 FbBits and,
1420 FbBits xor);
1520 FbBits pm,
1531 FbBits fg,
1532 FbBits bg,
1533 FbBits pm,
1621 fbDots (FbBits *dstOrig,
1631 FbBits andOrig,
1632 FbBits xorOrig);
1830 fbSolid (FbBits *dst,
1838 FbBits and,
1839 FbBits xor);
1843 fbSolid24 (FbBits *dst,
1850 FbBits and,
1851 FbBits xor);
1859 fbTransparentSpan (FbBits *dst,
1860 FbBits stip,
1861 FbBits fgxor,
1865 fbEvenStipple (FbBits *dst,
1877 FbBits fgand,
1878 FbBits fgxor,
1879 FbBits bgand,
1880 FbBits bgxor,
1886 fbOddStipple (FbBits *dst,
1899 FbBits fgand,
1900 FbBits fgxor,
1901 FbBits bgand,
1902 FbBits bgxor,
1908 fbStipple (FbBits *dst,
1922 FbBits fgand,
1923 FbBits fgxor,
1924 FbBits bgand,
1925 FbBits bgxor,
1935 fbEvenTile (FbBits *dst,
1942 FbBits *tile,
1946 FbBits pm,
1951 fbOddTile (FbBits *dst,
1958 FbBits *tile,
1964 FbBits pm,
1971 fbTile (FbBits *dst,
1978 FbBits *tile,
1984 FbBits pm,
1993 FbBits
1997 fbReduceRasterOp (int rop, FbBits fg, FbBits pm, FbBits *andp, FbBits *xorp);
2042 FbBits and,
2043 FbBits xor);