Lines Matching defs:FbBits

79  * by this software; it must be log2(sizeof (FbBits) * 8)
92 #define FB_ALLONES ((FbBits) -1)
107 #define FbFullMask(n) ((n) == FB_UNIT ? FB_ALLONES : ((((FbBits) 1) << n) - 1))
110 typedef unsigned __int64 FbBits;
118 typedef unsigned long FbBits;
120 typedef unsigned long long FbBits;
126 typedef CARD32 FbBits;
130 typedef CARD16 FbBits;
134 typedef FbBits FbStip;
160 /* #define FbLeftBits(x,n) ((x) & ((((FbBits) 1) << (n)) - 1)) */
170 #define FbPatternOffsetBits (sizeof (FbBits) - 1)
269 case (sizeof (FbBits) - 7) | (1 << (FB_SHIFT - 3)): \
270 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
272 case (sizeof (FbBits) - 7) | (2 << (FB_SHIFT - 3)): \
273 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
274 FbStorePart(dst,sizeof (FbBits) - 6,CARD8,xor); \
276 case (sizeof (FbBits) - 7) | (3 << (FB_SHIFT - 3)): \
277 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
278 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
280 case (sizeof (FbBits) - 7) | (4 << (FB_SHIFT - 3)): \
281 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
282 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
283 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
285 case (sizeof (FbBits) - 7) | (5 << (FB_SHIFT - 3)): \
286 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
287 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
288 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
290 case (sizeof (FbBits) - 7) | (6 << (FB_SHIFT - 3)): \
291 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
292 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
293 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
294 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
296 case (sizeof (FbBits) - 7): \
297 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
298 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
299 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
301 case (sizeof (FbBits) - 6) | (1 << (FB_SHIFT - 3)): \
302 FbStorePart(dst,sizeof (FbBits) - 6,CARD8,xor); \
304 case (sizeof (FbBits) - 6) | (2 << (FB_SHIFT - 3)): \
305 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
307 case (sizeof (FbBits) - 6) | (3 << (FB_SHIFT - 3)): \
308 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
309 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
311 case (sizeof (FbBits) - 6) | (4 << (FB_SHIFT - 3)): \
312 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
313 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
315 case (sizeof (FbBits) - 6) | (5 << (FB_SHIFT - 3)): \
316 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
317 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
318 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
320 case (sizeof (FbBits) - 6): \
321 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
322 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
324 case (sizeof (FbBits) - 5) | (1 << (FB_SHIFT - 3)): \
325 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
327 case (sizeof (FbBits) - 5) | (2 << (FB_SHIFT - 3)): \
328 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
329 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
331 case (sizeof (FbBits) - 5) | (3 << (FB_SHIFT - 3)): \
332 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
333 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
335 case (sizeof (FbBits) - 5) | (4 << (FB_SHIFT - 3)): \
336 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
337 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
338 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
340 case (sizeof (FbBits) - 5): \
341 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
342 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
344 case (sizeof (FbBits) - 4) | (1 << (FB_SHIFT - 3)): \
345 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
347 case (sizeof (FbBits) - 4) | (2 << (FB_SHIFT - 3)): \
348 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
350 case (sizeof (FbBits) - 4) | (3 << (FB_SHIFT - 3)): \
351 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
352 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
354 case (sizeof (FbBits) - 4): \
355 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
383 case (sizeof (FbBits) - 3) | (1 << (FB_SHIFT - 3)): \
384 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
386 case (sizeof (FbBits) - 3) | (2 << (FB_SHIFT - 3)): \
387 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
388 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
390 case (sizeof (FbBits) - 2) | (1 << (FB_SHIFT - 3)): \
391 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
393 case sizeof (FbBits) - 3: \
394 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
395 case sizeof (FbBits) - 2: \
396 FbStorePart(dst,sizeof (FbBits) - 2,CARD16,xor); \
398 case sizeof (FbBits) - 1: \
399 FbStorePart(dst,sizeof (FbBits) - 1,CARD8,xor); \
447 * of the FbBits base unit, 'o' is the offset within that unit
475 *(FbBits *) ((a)+(o)) = fgxor; \
576 typedef FbBits(*ReadMemoryProcPtr) (const void *src, int size);
577 typedef void (*WriteMemoryProcPtr) (void *dst, FbBits value, int size);
620 FbBits and, xor; /* reduced rop values */
621 FbBits bgand, bgxor; /* for stipples */
622 FbBits fg, bg, pm; /* expanded and filled */
677 (pointer) = (FbBits *) (pixmap)->devPrivate.ptr; \
678 (stride) = ((int) (pixmap)->devKind) / sizeof (FbBits); (void)(stride); \
744 FbBits pm,
817 fbDots8(FbBits * dst,
823 int xorg, int yorg, int xoff, int yoff, FbBits and, FbBits xor);
827 fbArc8(FbBits * dst,
829 int dstBpp, xArc * arc, int dx, int dy, FbBits and, FbBits xor);
833 fbGlyph8(FbBits * dstLine,
835 int dstBpp, FbStip * stipple, FbBits fg, int height, int shift);
865 fbDots16(FbBits * dst,
871 int xorg, int yorg, int xoff, int yoff, FbBits and, FbBits xor);
875 fbArc16(FbBits * dst,
877 int dstBpp, xArc * arc, int dx, int dy, FbBits and, FbBits xor);
881 fbGlyph16(FbBits * dstLine,
883 int dstBpp, FbStip * stipple, FbBits fg, int height, int shift);
913 fbDots24(FbBits * dst,
919 int xorg, int yorg, int xoff, int yoff, FbBits and, FbBits xor);
923 fbArc24(FbBits * dst,
925 int dstBpp, xArc * arc, int dx, int dy, FbBits and, FbBits xor);
929 fbGlyph24(FbBits * dstLine,
931 int dstBpp, FbStip * stipple, FbBits fg, int height, int shift);
961 fbDots32(FbBits * dst,
967 int xorg, int yorg, int xoff, int yoff, FbBits and, FbBits xor);
971 fbArc32(FbBits * dst,
973 int dstBpp, xArc * arc, int dx, int dy, FbBits and, FbBits xor);
977 fbGlyph32(FbBits * dstLine,
979 int dstBpp, FbStip * stipple, FbBits fg, int height, int shift);
993 fbBlt(FbBits * src,
996 FbBits * dst,
1000 int height, int alu, FbBits pm, int bpp, Bool reverse, Bool upsidedown);
1004 fbBlt24(FbBits * srcLine,
1007 FbBits * dstLine,
1011 int height, int alu, FbBits pm, Bool reverse, Bool upsidedown);
1014 fbBltStip(FbStip * src, FbStride srcStride, /* in FbStip units, not FbBits units */
1015 int srcX, FbStip * dst, FbStride dstStride, /* in FbStip units, not FbBits units */
1016 int dstX, int width, int height, int alu, FbBits pm, int bpp);
1026 FbBits * dst,
1031 int height, FbBits fgand, FbBits fbxor, FbBits bgand, FbBits bgxor);
1036 FbBits * dst, FbStride dstStride, /* FbBits units per scanline */
1041 FbBits fgand, /* rrop values */
1042 FbBits fgxor, FbBits bgand, FbBits bgxor);
1046 fbBltPlane(FbBits * src,
1174 int xa, int ya, int xb, int yb, FbBits and, FbBits xor);
1258 FbBits pm,
1266 FbBits fg,
1267 FbBits bg,
1268 FbBits pm,
1342 fbDots(FbBits * dstOrig,
1348 int xorg, int yorg, int xoff, int yoff, FbBits andOrig, FbBits xorOrig);
1499 fbSolid(FbBits * dst,
1501 int dstX, int bpp, int width, int height, FbBits and, FbBits xor);
1505 fbSolid24(FbBits * dst,
1507 int dstX, int width, int height, FbBits and, FbBits xor);
1514 fbTransparentSpan(FbBits * dst, FbBits stip, FbBits fgxor, int n);
1518 fbEvenStipple(FbBits * dst,
1527 FbBits fgand,
1528 FbBits fgxor, FbBits bgand, FbBits bgxor, int xRot, int yRot);
1532 fbOddStipple(FbBits * dst,
1542 FbBits fgand,
1543 FbBits fgxor, FbBits bgand, FbBits bgxor, int xRot, int yRot);
1547 fbStipple(FbBits * dst,
1558 FbBits fgand,
1559 FbBits fgxor, FbBits bgand, FbBits bgxor, int xRot, int yRot);
1567 fbEvenTile(FbBits * dst,
1572 FbBits * tile,
1574 int tileHeight, int alu, FbBits pm, int xRot, int yRot);
1578 fbOddTile(FbBits * dst,
1583 FbBits * tile,
1586 int tileHeight, int alu, FbBits pm, int bpp, int xRot, int yRot);
1590 fbTile(FbBits * dst,
1595 FbBits * tile,
1598 int tileHeight, int alu, FbBits pm, int bpp, int xRot, int yRot);
1603 extern _X_EXPORT FbBits fbReplicatePixel(Pixel p, int bpp);
1606 fbReduceRasterOp(int rop, FbBits fg, FbBits pm, FbBits * andp, FbBits * xorp);
1652 RegionPtr pRegion, FbBits and, FbBits xor);