Lines Matching defs:FbBits

85  * by this software; it must be log2(sizeof (FbBits) * 8)
99 #define FB_ALLONES ((FbBits) -1)
131 #define FbFullMask(n) ((n) == FB_UNIT ? FB_ALLONES : ((((FbBits) 1) << n) - 1))
135 typedef unsigned __int64 FbBits;
143 typedef unsigned long FbBits;
145 typedef unsigned long long FbBits;
151 typedef CARD32 FbBits;
155 typedef CARD16 FbBits;
159 typedef FbBits FbStip;
185 /* #define FbLeftBits(x,n) ((x) & ((((FbBits) 1) << (n)) - 1)) */
195 #define FbPatternOffsetBits (sizeof (FbBits) - 1)
305 case (sizeof (FbBits) - 7) | (1 << (FB_SHIFT - 3)): \
306 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
308 case (sizeof (FbBits) - 7) | (2 << (FB_SHIFT - 3)): \
309 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
310 FbStorePart(dst,sizeof (FbBits) - 6,CARD8,xor); \
312 case (sizeof (FbBits) - 7) | (3 << (FB_SHIFT - 3)): \
313 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
314 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
316 case (sizeof (FbBits) - 7) | (4 << (FB_SHIFT - 3)): \
317 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
318 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
319 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
321 case (sizeof (FbBits) - 7) | (5 << (FB_SHIFT - 3)): \
322 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
323 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
324 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
326 case (sizeof (FbBits) - 7) | (6 << (FB_SHIFT - 3)): \
327 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
328 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
329 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
330 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
332 case (sizeof (FbBits) - 7): \
333 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
334 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
335 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
337 case (sizeof (FbBits) - 6) | (1 << (FB_SHIFT - 3)): \
338 FbStorePart(dst,sizeof (FbBits) - 6,CARD8,xor); \
340 case (sizeof (FbBits) - 6) | (2 << (FB_SHIFT - 3)): \
341 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
343 case (sizeof (FbBits) - 6) | (3 << (FB_SHIFT - 3)): \
344 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
345 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
347 case (sizeof (FbBits) - 6) | (4 << (FB_SHIFT - 3)): \
348 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
349 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
351 case (sizeof (FbBits) - 6) | (5 << (FB_SHIFT - 3)): \
352 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
353 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
354 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
356 case (sizeof (FbBits) - 6): \
357 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
358 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
360 case (sizeof (FbBits) - 5) | (1 << (FB_SHIFT - 3)): \
361 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
363 case (sizeof (FbBits) - 5) | (2 << (FB_SHIFT - 3)): \
364 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
365 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
367 case (sizeof (FbBits) - 5) | (3 << (FB_SHIFT - 3)): \
368 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
369 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
371 case (sizeof (FbBits) - 5) | (4 << (FB_SHIFT - 3)): \
372 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
373 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
374 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
376 case (sizeof (FbBits) - 5): \
377 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
378 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
380 case (sizeof (FbBits) - 4) | (1 << (FB_SHIFT - 3)): \
381 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
383 case (sizeof (FbBits) - 4) | (2 << (FB_SHIFT - 3)): \
384 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
386 case (sizeof (FbBits) - 4) | (3 << (FB_SHIFT - 3)): \
387 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
388 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
390 case (sizeof (FbBits) - 4): \
391 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
419 case (sizeof (FbBits) - 3) | (1 << (FB_SHIFT - 3)): \
420 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
422 case (sizeof (FbBits) - 3) | (2 << (FB_SHIFT - 3)): \
423 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
424 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
426 case (sizeof (FbBits) - 2) | (1 << (FB_SHIFT - 3)): \
427 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
429 case sizeof (FbBits) - 3: \
430 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
431 case sizeof (FbBits) - 2: \
432 FbStorePart(dst,sizeof (FbBits) - 2,CARD16,xor); \
434 case sizeof (FbBits) - 1: \
435 FbStorePart(dst,sizeof (FbBits) - 1,CARD8,xor); \
485 * of the FbBits base unit, 'o' is the offset within that unit
503 #define FbLaneCase8(n,a,o) ((n) == 0x0ff ? (void) (*(FbBits *) ((a)+(o)) = fgxor) : \
608 typedef FbBits (*ReadMemoryProcPtr)(const void *src, int size);
609 typedef void (*WriteMemoryProcPtr)(void *dst, FbBits value, int size);
652 FbBits and, xor; /* reduced rop values */
653 FbBits bgand, bgxor; /* for stipples */
654 FbBits fg, bg, pm; /* expanded and filled */
703 (pointer) = (FbBits *) _pPix->devPrivate.ptr; \
704 (stride) = ((int) _pPix->devKind) / sizeof (FbBits); (void)(stride); \
773 FbBits pm,
868 fbDots8 (FbBits *dst,
878 FbBits and,
879 FbBits xor);
882 fbArc8 (FbBits *dst,
888 FbBits and,
889 FbBits xor);
892 fbGlyph8 (FbBits *dstLine,
896 FbBits fg,
942 fbDots16(FbBits *dst,
952 FbBits and,
953 FbBits xor);
956 fbArc16(FbBits *dst,
962 FbBits and,
963 FbBits xor);
966 fbGlyph16(FbBits *dstLine,
970 FbBits fg,
1017 fbDots24(FbBits *dst,
1027 FbBits and,
1028 FbBits xor);
1031 fbArc24(FbBits *dst,
1037 FbBits and,
1038 FbBits xor);
1041 fbGlyph24(FbBits *dstLine,
1045 FbBits fg,
1092 fbDots32(FbBits *dst,
1102 FbBits and,
1103 FbBits xor);
1106 fbArc32(FbBits *dst,
1112 FbBits and,
1113 FbBits xor);
1116 fbGlyph32(FbBits *dstLine,
1120 FbBits fg,
1140 fbBlt (FbBits *src,
1144 FbBits *dst,
1152 FbBits pm,
1159 fbBlt24 (FbBits *srcLine,
1163 FbBits *dstLine,
1171 FbBits pm,
1178 FbStride srcStride, /* in FbStip units, not FbBits units */
1182 FbStride dstStride, /* in FbStip units, not FbBits units */
1189 FbBits pm,
1199 FbBits *dst,
1207 FbBits fgand,
1208 FbBits fbxor,
1209 FbBits bgand,
1210 FbBits bgxor);
1217 FbBits *dst,
1218 FbStride dstStride, /* FbBits units per scanline */
1225 FbBits fgand, /* rrop values */
1226 FbBits fgxor,
1227 FbBits bgand,
1228 FbBits bgxor);
1232 fbBltPlane (FbBits *src,
1424 FbBits and,
1425 FbBits xor);
1525 FbBits pm,
1536 FbBits fg,
1537 FbBits bg,
1538 FbBits pm,
1628 fbDots (FbBits *dstOrig,
1638 FbBits andOrig,
1639 FbBits xorOrig);
1859 fbSolid (FbBits *dst,
1867 FbBits and,
1868 FbBits xor);
1872 fbSolid24 (FbBits *dst,
1879 FbBits and,
1880 FbBits xor);
1888 fbTransparentSpan (FbBits *dst,
1889 FbBits stip,
1890 FbBits fgxor,
1894 fbEvenStipple (FbBits *dst,
1906 FbBits fgand,
1907 FbBits fgxor,
1908 FbBits bgand,
1909 FbBits bgxor,
1915 fbOddStipple (FbBits *dst,
1928 FbBits fgand,
1929 FbBits fgxor,
1930 FbBits bgand,
1931 FbBits bgxor,
1937 fbStipple (FbBits *dst,
1951 FbBits fgand,
1952 FbBits fgxor,
1953 FbBits bgand,
1954 FbBits bgxor,
1964 fbEvenTile (FbBits *dst,
1971 FbBits *tile,
1976 FbBits pm,
1981 fbOddTile (FbBits *dst,
1988 FbBits *tile,
1994 FbBits pm,
2001 fbTile (FbBits *dst,
2008 FbBits *tile,
2014 FbBits pm,
2023 FbBits
2027 fbReduceRasterOp (int rop, FbBits fg, FbBits pm, FbBits *andp, FbBits *xorp);
2077 FbBits and,
2078 FbBits xor);