Lines Matching defs:FbBits

81  * by this software; it must be log2(sizeof (FbBits) * 8)
95 #define FB_ALLONES ((FbBits) -1)
127 #define FbFullMask(n) ((n) == FB_UNIT ? FB_ALLONES : ((((FbBits) 1) << n) - 1))
131 typedef unsigned __int64 FbBits;
139 typedef unsigned long FbBits;
141 typedef unsigned long long FbBits;
147 typedef CARD32 FbBits;
151 typedef CARD16 FbBits;
155 typedef FbBits FbStip;
181 /* #define FbLeftBits(x,n) ((x) & ((((FbBits) 1) << (n)) - 1)) */
191 #define FbPatternOffsetBits (sizeof (FbBits) - 1)
301 case (sizeof (FbBits) - 7) | (1 << (FB_SHIFT - 3)): \
302 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
304 case (sizeof (FbBits) - 7) | (2 << (FB_SHIFT - 3)): \
305 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
306 FbStorePart(dst,sizeof (FbBits) - 6,CARD8,xor); \
308 case (sizeof (FbBits) - 7) | (3 << (FB_SHIFT - 3)): \
309 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
310 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
312 case (sizeof (FbBits) - 7) | (4 << (FB_SHIFT - 3)): \
313 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
314 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
315 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
317 case (sizeof (FbBits) - 7) | (5 << (FB_SHIFT - 3)): \
318 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
319 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
320 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
322 case (sizeof (FbBits) - 7) | (6 << (FB_SHIFT - 3)): \
323 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
324 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
325 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
326 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
328 case (sizeof (FbBits) - 7): \
329 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
330 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
331 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
333 case (sizeof (FbBits) - 6) | (1 << (FB_SHIFT - 3)): \
334 FbStorePart(dst,sizeof (FbBits) - 6,CARD8,xor); \
336 case (sizeof (FbBits) - 6) | (2 << (FB_SHIFT - 3)): \
337 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
339 case (sizeof (FbBits) - 6) | (3 << (FB_SHIFT - 3)): \
340 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
341 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
343 case (sizeof (FbBits) - 6) | (4 << (FB_SHIFT - 3)): \
344 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
345 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
347 case (sizeof (FbBits) - 6) | (5 << (FB_SHIFT - 3)): \
348 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
349 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
350 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
352 case (sizeof (FbBits) - 6): \
353 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
354 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
356 case (sizeof (FbBits) - 5) | (1 << (FB_SHIFT - 3)): \
357 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
359 case (sizeof (FbBits) - 5) | (2 << (FB_SHIFT - 3)): \
360 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
361 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
363 case (sizeof (FbBits) - 5) | (3 << (FB_SHIFT - 3)): \
364 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
365 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
367 case (sizeof (FbBits) - 5) | (4 << (FB_SHIFT - 3)): \
368 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
369 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
370 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
372 case (sizeof (FbBits) - 5): \
373 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
374 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
376 case (sizeof (FbBits) - 4) | (1 << (FB_SHIFT - 3)): \
377 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
379 case (sizeof (FbBits) - 4) | (2 << (FB_SHIFT - 3)): \
380 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
382 case (sizeof (FbBits) - 4) | (3 << (FB_SHIFT - 3)): \
383 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
384 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
386 case (sizeof (FbBits) - 4): \
387 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
415 case (sizeof (FbBits) - 3) | (1 << (FB_SHIFT - 3)): \
416 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
418 case (sizeof (FbBits) - 3) | (2 << (FB_SHIFT - 3)): \
419 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
420 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
422 case (sizeof (FbBits) - 2) | (1 << (FB_SHIFT - 3)): \
423 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
425 case sizeof (FbBits) - 3: \
426 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
427 case sizeof (FbBits) - 2: \
428 FbStorePart(dst,sizeof (FbBits) - 2,CARD16,xor); \
430 case sizeof (FbBits) - 1: \
431 FbStorePart(dst,sizeof (FbBits) - 1,CARD8,xor); \
481 * of the FbBits base unit, 'o' is the offset within that unit
509 *(FbBits *) ((a)+(o)) = fgxor; \
620 typedef FbBits (*ReadMemoryProcPtr)(const void *src, int size);
621 typedef void (*WriteMemoryProcPtr)(void *dst, FbBits value, int size);
665 FbBits and, xor; /* reduced rop values */
666 FbBits bgand, bgxor; /* for stipples */
667 FbBits fg, bg, pm; /* expanded and filled */
718 (pointer) = (FbBits *) (pixmap)->devPrivate.ptr; \
719 (stride) = ((int) (pixmap)->devKind) / sizeof (FbBits); (void)(stride); \
788 FbBits pm,
883 fbDots8 (FbBits *dst,
893 FbBits and,
894 FbBits xor);
897 fbArc8 (FbBits *dst,
903 FbBits and,
904 FbBits xor);
907 fbGlyph8 (FbBits *dstLine,
911 FbBits fg,
957 fbDots16(FbBits *dst,
967 FbBits and,
968 FbBits xor);
971 fbArc16(FbBits *dst,
977 FbBits and,
978 FbBits xor);
981 fbGlyph16(FbBits *dstLine,
985 FbBits fg,
1032 fbDots24(FbBits *dst,
1042 FbBits and,
1043 FbBits xor);
1046 fbArc24(FbBits *dst,
1052 FbBits and,
1053 FbBits xor);
1056 fbGlyph24(FbBits *dstLine,
1060 FbBits fg,
1107 fbDots32(FbBits *dst,
1117 FbBits and,
1118 FbBits xor);
1121 fbArc32(FbBits *dst,
1127 FbBits and,
1128 FbBits xor);
1131 fbGlyph32(FbBits *dstLine,
1135 FbBits fg,
1155 fbBlt (FbBits *src,
1159 FbBits *dst,
1167 FbBits pm,
1174 fbBlt24 (FbBits *srcLine,
1178 FbBits *dstLine,
1186 FbBits pm,
1193 FbStride srcStride, /* in FbStip units, not FbBits units */
1197 FbStride dstStride, /* in FbStip units, not FbBits units */
1204 FbBits pm,
1214 FbBits *dst,
1222 FbBits fgand,
1223 FbBits fbxor,
1224 FbBits bgand,
1225 FbBits bgxor);
1232 FbBits *dst,
1233 FbStride dstStride, /* FbBits units per scanline */
1240 FbBits fgand, /* rrop values */
1241 FbBits fgxor,
1242 FbBits bgand,
1243 FbBits bgxor);
1247 fbBltPlane (FbBits *src,
1442 FbBits and,
1443 FbBits xor);
1543 FbBits pm,
1554 FbBits fg,
1555 FbBits bg,
1556 FbBits pm,
1646 fbDots (FbBits *dstOrig,
1656 FbBits andOrig,
1657 FbBits xorOrig);
1861 fbSolid (FbBits *dst,
1869 FbBits and,
1870 FbBits xor);
1874 fbSolid24 (FbBits *dst,
1881 FbBits and,
1882 FbBits xor);
1890 fbTransparentSpan (FbBits *dst,
1891 FbBits stip,
1892 FbBits fgxor,
1896 fbEvenStipple (FbBits *dst,
1908 FbBits fgand,
1909 FbBits fgxor,
1910 FbBits bgand,
1911 FbBits bgxor,
1917 fbOddStipple (FbBits *dst,
1930 FbBits fgand,
1931 FbBits fgxor,
1932 FbBits bgand,
1933 FbBits bgxor,
1939 fbStipple (FbBits *dst,
1953 FbBits fgand,
1954 FbBits fgxor,
1955 FbBits bgand,
1956 FbBits bgxor,
1966 fbEvenTile (FbBits *dst,
1973 FbBits *tile,
1978 FbBits pm,
1983 fbOddTile (FbBits *dst,
1990 FbBits *tile,
1996 FbBits pm,
2003 fbTile (FbBits *dst,
2010 FbBits *tile,
2016 FbBits pm,
2025 extern _X_EXPORT FbBits
2029 fbReduceRasterOp (int rop, FbBits fg, FbBits pm, FbBits *andp, FbBits *xorp);
2079 FbBits and,
2080 FbBits xor);