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
513 *(FbBits *) ((a)+(o)) = fgxor; \
620 typedef FbBits (*ReadMemoryProcPtr)(const void *src, int size);
621 typedef void (*WriteMemoryProcPtr)(void *dst, FbBits value, int size);
664 FbBits and, xor; /* reduced rop values */
665 FbBits bgand, bgxor; /* for stipples */
666 FbBits fg, bg, pm; /* expanded and filled */
717 (pointer) = (FbBits *) (pixmap)->devPrivate.ptr; \
718 (stride) = ((int) (pixmap)->devKind) / sizeof (FbBits); (void)(stride); \
788 FbBits pm,
885 fbDots8 (FbBits *dst,
895 FbBits and,
896 FbBits xor);
899 fbArc8 (FbBits *dst,
905 FbBits and,
906 FbBits xor);
909 fbGlyph8 (FbBits *dstLine,
913 FbBits fg,
959 fbDots16(FbBits *dst,
969 FbBits and,
970 FbBits xor);
973 fbArc16(FbBits *dst,
979 FbBits and,
980 FbBits xor);
983 fbGlyph16(FbBits *dstLine,
987 FbBits fg,
1034 fbDots24(FbBits *dst,
1044 FbBits and,
1045 FbBits xor);
1048 fbArc24(FbBits *dst,
1054 FbBits and,
1055 FbBits xor);
1058 fbGlyph24(FbBits *dstLine,
1062 FbBits fg,
1109 fbDots32(FbBits *dst,
1119 FbBits and,
1120 FbBits xor);
1123 fbArc32(FbBits *dst,
1129 FbBits and,
1130 FbBits xor);
1133 fbGlyph32(FbBits *dstLine,
1137 FbBits fg,
1157 fbBlt (FbBits *src,
1161 FbBits *dst,
1169 FbBits pm,
1176 fbBlt24 (FbBits *srcLine,
1180 FbBits *dstLine,
1188 FbBits pm,
1195 FbStride srcStride, /* in FbStip units, not FbBits units */
1199 FbStride dstStride, /* in FbStip units, not FbBits units */
1206 FbBits pm,
1216 FbBits *dst,
1224 FbBits fgand,
1225 FbBits fbxor,
1226 FbBits bgand,
1227 FbBits bgxor);
1234 FbBits *dst,
1235 FbStride dstStride, /* FbBits units per scanline */
1242 FbBits fgand, /* rrop values */
1243 FbBits fgxor,
1244 FbBits bgand,
1245 FbBits bgxor);
1249 fbBltPlane (FbBits *src,
1444 FbBits and,
1445 FbBits xor);
1545 FbBits pm,
1556 FbBits fg,
1557 FbBits bg,
1558 FbBits pm,
1648 fbDots (FbBits *dstOrig,
1658 FbBits andOrig,
1659 FbBits xorOrig);
1863 fbSolid (FbBits *dst,
1871 FbBits and,
1872 FbBits xor);
1876 fbSolid24 (FbBits *dst,
1883 FbBits and,
1884 FbBits xor);
1892 fbTransparentSpan (FbBits *dst,
1893 FbBits stip,
1894 FbBits fgxor,
1898 fbEvenStipple (FbBits *dst,
1910 FbBits fgand,
1911 FbBits fgxor,
1912 FbBits bgand,
1913 FbBits bgxor,
1919 fbOddStipple (FbBits *dst,
1932 FbBits fgand,
1933 FbBits fgxor,
1934 FbBits bgand,
1935 FbBits bgxor,
1941 fbStipple (FbBits *dst,
1955 FbBits fgand,
1956 FbBits fgxor,
1957 FbBits bgand,
1958 FbBits bgxor,
1968 fbEvenTile (FbBits *dst,
1975 FbBits *tile,
1980 FbBits pm,
1985 fbOddTile (FbBits *dst,
1992 FbBits *tile,
1998 FbBits pm,
2005 fbTile (FbBits *dst,
2012 FbBits *tile,
2018 FbBits pm,
2027 extern _X_EXPORT FbBits
2031 fbReduceRasterOp (int rop, FbBits fg, FbBits pm, FbBits *andp, FbBits *xorp);
2081 FbBits and,
2082 FbBits xor);