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 */
717 (pointer) = (FbBits *) (pixmap)->devPrivate.ptr; \
718 (stride) = ((int) (pixmap)->devKind) / sizeof (FbBits); (void)(stride); \
787 FbBits pm,
882 fbDots8 (FbBits *dst,
892 FbBits and,
893 FbBits xor);
896 fbArc8 (FbBits *dst,
902 FbBits and,
903 FbBits xor);
906 fbGlyph8 (FbBits *dstLine,
910 FbBits fg,
956 fbDots16(FbBits *dst,
966 FbBits and,
967 FbBits xor);
970 fbArc16(FbBits *dst,
976 FbBits and,
977 FbBits xor);
980 fbGlyph16(FbBits *dstLine,
984 FbBits fg,
1031 fbDots24(FbBits *dst,
1041 FbBits and,
1042 FbBits xor);
1045 fbArc24(FbBits *dst,
1051 FbBits and,
1052 FbBits xor);
1055 fbGlyph24(FbBits *dstLine,
1059 FbBits fg,
1106 fbDots32(FbBits *dst,
1116 FbBits and,
1117 FbBits xor);
1120 fbArc32(FbBits *dst,
1126 FbBits and,
1127 FbBits xor);
1130 fbGlyph32(FbBits *dstLine,
1134 FbBits fg,
1154 fbBlt (FbBits *src,
1158 FbBits *dst,
1166 FbBits pm,
1173 fbBlt24 (FbBits *srcLine,
1177 FbBits *dstLine,
1185 FbBits pm,
1192 FbStride srcStride, /* in FbStip units, not FbBits units */
1196 FbStride dstStride, /* in FbStip units, not FbBits units */
1203 FbBits pm,
1213 FbBits *dst,
1221 FbBits fgand,
1222 FbBits fbxor,
1223 FbBits bgand,
1224 FbBits bgxor);
1231 FbBits *dst,
1232 FbStride dstStride, /* FbBits units per scanline */
1239 FbBits fgand, /* rrop values */
1240 FbBits fgxor,
1241 FbBits bgand,
1242 FbBits bgxor);
1246 fbBltPlane (FbBits *src,
1441 FbBits and,
1442 FbBits xor);
1542 FbBits pm,
1553 FbBits fg,
1554 FbBits bg,
1555 FbBits pm,
1645 fbDots (FbBits *dstOrig,
1655 FbBits andOrig,
1656 FbBits xorOrig);
1860 fbSolid (FbBits *dst,
1868 FbBits and,
1869 FbBits xor);
1873 fbSolid24 (FbBits *dst,
1880 FbBits and,
1881 FbBits xor);
1889 fbTransparentSpan (FbBits *dst,
1890 FbBits stip,
1891 FbBits fgxor,
1895 fbEvenStipple (FbBits *dst,
1907 FbBits fgand,
1908 FbBits fgxor,
1909 FbBits bgand,
1910 FbBits bgxor,
1916 fbOddStipple (FbBits *dst,
1929 FbBits fgand,
1930 FbBits fgxor,
1931 FbBits bgand,
1932 FbBits bgxor,
1938 fbStipple (FbBits *dst,
1952 FbBits fgand,
1953 FbBits fgxor,
1954 FbBits bgand,
1955 FbBits bgxor,
1965 fbEvenTile (FbBits *dst,
1972 FbBits *tile,
1977 FbBits pm,
1982 fbOddTile (FbBits *dst,
1989 FbBits *tile,
1995 FbBits pm,
2002 fbTile (FbBits *dst,
2009 FbBits *tile,
2015 FbBits pm,
2024 extern _X_EXPORT FbBits
2028 fbReduceRasterOp (int rop, FbBits fg, FbBits pm, FbBits *andp, FbBits *xorp);
2078 FbBits and,
2079 FbBits xor);