Lines Matching refs:FbBits

81  * by this software; it must be log2(sizeof (FbBits) * 8)
95 #define FB_ALLONES ((FbBits) -1)
116 #define FbFullMask(n) ((n) == FB_UNIT ? FB_ALLONES : ((((FbBits) 1) << n) - 1))
120 typedef unsigned __int64 FbBits;
128 typedef unsigned long FbBits;
130 typedef unsigned long long FbBits;
136 typedef CARD32 FbBits;
140 typedef CARD16 FbBits;
144 typedef FbBits FbStip;
170 /* #define FbLeftBits(x,n) ((x) & ((((FbBits) 1) << (n)) - 1)) */
180 #define FbPatternOffsetBits (sizeof (FbBits) - 1)
281 case (sizeof (FbBits) - 7) | (1 << (FB_SHIFT - 3)): \
282 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
284 case (sizeof (FbBits) - 7) | (2 << (FB_SHIFT - 3)): \
285 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
286 FbStorePart(dst,sizeof (FbBits) - 6,CARD8,xor); \
288 case (sizeof (FbBits) - 7) | (3 << (FB_SHIFT - 3)): \
289 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
290 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
292 case (sizeof (FbBits) - 7) | (4 << (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,CARD8,xor); \
297 case (sizeof (FbBits) - 7) | (5 << (FB_SHIFT - 3)): \
298 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
299 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
300 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
302 case (sizeof (FbBits) - 7) | (6 << (FB_SHIFT - 3)): \
303 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
304 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
305 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
306 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
308 case (sizeof (FbBits) - 7): \
309 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
310 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
311 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
313 case (sizeof (FbBits) - 6) | (1 << (FB_SHIFT - 3)): \
314 FbStorePart(dst,sizeof (FbBits) - 6,CARD8,xor); \
316 case (sizeof (FbBits) - 6) | (2 << (FB_SHIFT - 3)): \
317 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
319 case (sizeof (FbBits) - 6) | (3 << (FB_SHIFT - 3)): \
320 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
321 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
323 case (sizeof (FbBits) - 6) | (4 << (FB_SHIFT - 3)): \
324 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
325 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
327 case (sizeof (FbBits) - 6) | (5 << (FB_SHIFT - 3)): \
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) - 6): \
333 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
334 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
336 case (sizeof (FbBits) - 5) | (1 << (FB_SHIFT - 3)): \
337 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
339 case (sizeof (FbBits) - 5) | (2 << (FB_SHIFT - 3)): \
340 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
341 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
343 case (sizeof (FbBits) - 5) | (3 << (FB_SHIFT - 3)): \
344 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
345 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
347 case (sizeof (FbBits) - 5) | (4 << (FB_SHIFT - 3)): \
348 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
349 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
350 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
352 case (sizeof (FbBits) - 5): \
353 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
354 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
356 case (sizeof (FbBits) - 4) | (1 << (FB_SHIFT - 3)): \
357 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
359 case (sizeof (FbBits) - 4) | (2 << (FB_SHIFT - 3)): \
360 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
362 case (sizeof (FbBits) - 4) | (3 << (FB_SHIFT - 3)): \
363 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
364 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
366 case (sizeof (FbBits) - 4): \
367 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
395 case (sizeof (FbBits) - 3) | (1 << (FB_SHIFT - 3)): \
396 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
398 case (sizeof (FbBits) - 3) | (2 << (FB_SHIFT - 3)): \
399 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
400 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
402 case (sizeof (FbBits) - 2) | (1 << (FB_SHIFT - 3)): \
403 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
405 case sizeof (FbBits) - 3: \
406 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
407 case sizeof (FbBits) - 2: \
408 FbStorePart(dst,sizeof (FbBits) - 2,CARD16,xor); \
410 case sizeof (FbBits) - 1: \
411 FbStorePart(dst,sizeof (FbBits) - 1,CARD8,xor); \
460 * of the FbBits base unit, 'o' is the offset within that unit
488 *(FbBits *) ((a)+(o)) = fgxor; \
596 typedef FbBits (*ReadMemoryProcPtr)(const void *src, int size);
597 typedef void (*WriteMemoryProcPtr)(void *dst, FbBits value, int size);
639 FbBits and, xor; /* reduced rop values */
640 FbBits bgand, bgxor; /* for stipples */
641 FbBits fg, bg, pm; /* expanded and filled */
691 (pointer) = (FbBits *) (pixmap)->devPrivate.ptr; \
692 (stride) = ((int) (pixmap)->devKind) / sizeof (FbBits); (void)(stride); \
761 FbBits pm,
856 fbDots8 (FbBits *dst,
866 FbBits and,
867 FbBits xor);
870 fbArc8 (FbBits *dst,
876 FbBits and,
877 FbBits xor);
880 fbGlyph8 (FbBits *dstLine,
884 FbBits fg,
930 fbDots16(FbBits *dst,
940 FbBits and,
941 FbBits xor);
944 fbArc16(FbBits *dst,
950 FbBits and,
951 FbBits xor);
954 fbGlyph16(FbBits *dstLine,
958 FbBits fg,
1005 fbDots24(FbBits *dst,
1015 FbBits and,
1016 FbBits xor);
1019 fbArc24(FbBits *dst,
1025 FbBits and,
1026 FbBits xor);
1029 fbGlyph24(FbBits *dstLine,
1033 FbBits fg,
1080 fbDots32(FbBits *dst,
1090 FbBits and,
1091 FbBits xor);
1094 fbArc32(FbBits *dst,
1100 FbBits and,
1101 FbBits xor);
1104 fbGlyph32(FbBits *dstLine,
1108 FbBits fg,
1128 fbBlt (FbBits *src,
1132 FbBits *dst,
1140 FbBits pm,
1147 fbBlt24 (FbBits *srcLine,
1151 FbBits *dstLine,
1159 FbBits pm,
1166 FbStride srcStride, /* in FbStip units, not FbBits units */
1170 FbStride dstStride, /* in FbStip units, not FbBits units */
1177 FbBits pm,
1187 FbBits *dst,
1195 FbBits fgand,
1196 FbBits fbxor,
1197 FbBits bgand,
1198 FbBits bgxor);
1204 FbBits *dst,
1205 FbStride dstStride, /* FbBits units per scanline */
1212 FbBits fgand, /* rrop values */
1213 FbBits fgxor,
1214 FbBits bgand,
1215 FbBits bgxor);
1218 fbBltPlane (FbBits *src,
1413 FbBits and,
1414 FbBits xor);
1514 FbBits pm,
1525 FbBits fg,
1526 FbBits bg,
1527 FbBits pm,
1617 fbDots (FbBits *dstOrig,
1627 FbBits andOrig,
1628 FbBits xorOrig);
1832 fbSolid (FbBits *dst,
1840 FbBits and,
1841 FbBits xor);
1844 fbSolid24 (FbBits *dst,
1851 FbBits and,
1852 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,
1947 FbBits pm,
1952 fbOddTile (FbBits *dst,
1959 FbBits *tile,
1965 FbBits pm,
1972 fbTile (FbBits *dst,
1979 FbBits *tile,
1985 FbBits pm,
1994 extern _X_EXPORT FbBits
1998 fbReduceRasterOp (int rop, FbBits fg, FbBits pm, FbBits *andp, FbBits *xorp);
2048 FbBits and,
2049 FbBits xor);