Lines Matching defs:FbBits

80  * by this software; it must be log2(sizeof (FbBits) * 8)
93 #define FB_ALLONES ((FbBits) -1)
108 #define FbFullMask(n) ((n) == FB_UNIT ? FB_ALLONES : ((((FbBits) 1) << n) - 1))
111 typedef unsigned __int64 FbBits;
119 typedef unsigned long FbBits;
121 typedef unsigned long long FbBits;
127 typedef CARD32 FbBits;
131 typedef CARD16 FbBits;
135 typedef FbBits FbStip;
161 /* #define FbLeftBits(x,n) ((x) & ((((FbBits) 1) << (n)) - 1)) */
171 #define FbPatternOffsetBits (sizeof (FbBits) - 1)
270 case (sizeof (FbBits) - 7) | (1 << (FB_SHIFT - 3)): \
271 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
273 case (sizeof (FbBits) - 7) | (2 << (FB_SHIFT - 3)): \
274 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
275 FbStorePart(dst,sizeof (FbBits) - 6,CARD8,xor); \
277 case (sizeof (FbBits) - 7) | (3 << (FB_SHIFT - 3)): \
278 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
279 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
281 case (sizeof (FbBits) - 7) | (4 << (FB_SHIFT - 3)): \
282 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
283 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
284 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
286 case (sizeof (FbBits) - 7) | (5 << (FB_SHIFT - 3)): \
287 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
288 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
289 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
291 case (sizeof (FbBits) - 7) | (6 << (FB_SHIFT - 3)): \
292 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
293 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
294 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
295 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
297 case (sizeof (FbBits) - 7): \
298 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
299 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
300 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
302 case (sizeof (FbBits) - 6) | (1 << (FB_SHIFT - 3)): \
303 FbStorePart(dst,sizeof (FbBits) - 6,CARD8,xor); \
305 case (sizeof (FbBits) - 6) | (2 << (FB_SHIFT - 3)): \
306 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
308 case (sizeof (FbBits) - 6) | (3 << (FB_SHIFT - 3)): \
309 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
310 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
312 case (sizeof (FbBits) - 6) | (4 << (FB_SHIFT - 3)): \
313 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
314 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
316 case (sizeof (FbBits) - 6) | (5 << (FB_SHIFT - 3)): \
317 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
318 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
319 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
321 case (sizeof (FbBits) - 6): \
322 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
323 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
325 case (sizeof (FbBits) - 5) | (1 << (FB_SHIFT - 3)): \
326 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
328 case (sizeof (FbBits) - 5) | (2 << (FB_SHIFT - 3)): \
329 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
330 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
332 case (sizeof (FbBits) - 5) | (3 << (FB_SHIFT - 3)): \
333 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
334 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
336 case (sizeof (FbBits) - 5) | (4 << (FB_SHIFT - 3)): \
337 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
338 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
339 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
341 case (sizeof (FbBits) - 5): \
342 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
343 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
345 case (sizeof (FbBits) - 4) | (1 << (FB_SHIFT - 3)): \
346 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
348 case (sizeof (FbBits) - 4) | (2 << (FB_SHIFT - 3)): \
349 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
351 case (sizeof (FbBits) - 4) | (3 << (FB_SHIFT - 3)): \
352 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
353 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
355 case (sizeof (FbBits) - 4): \
356 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
384 case (sizeof (FbBits) - 3) | (1 << (FB_SHIFT - 3)): \
385 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
387 case (sizeof (FbBits) - 3) | (2 << (FB_SHIFT - 3)): \
388 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
389 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
391 case (sizeof (FbBits) - 2) | (1 << (FB_SHIFT - 3)): \
392 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
394 case sizeof (FbBits) - 3: \
395 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
396 case sizeof (FbBits) - 2: \
397 FbStorePart(dst,sizeof (FbBits) - 2,CARD16,xor); \
399 case sizeof (FbBits) - 1: \
400 FbStorePart(dst,sizeof (FbBits) - 1,CARD8,xor); \
448 * of the FbBits base unit, 'o' is the offset within that unit
476 *(FbBits *) ((a)+(o)) = fgxor; \
577 typedef FbBits(*ReadMemoryProcPtr) (const void *src, int size);
578 typedef void (*WriteMemoryProcPtr) (void *dst, FbBits value, int size);
621 FbBits and, xor; /* reduced rop values */
622 FbBits bgand, bgxor; /* for stipples */
623 FbBits fg, bg, pm; /* expanded and filled */
678 (pointer) = (FbBits *) (pixmap)->devPrivate.ptr; \
679 (stride) = ((int) (pixmap)->devKind) / sizeof (FbBits); (void)(stride); \
745 FbBits pm,
818 fbDots8(FbBits * dst,
824 int xorg, int yorg, int xoff, int yoff, FbBits and, FbBits xor);
828 fbArc8(FbBits * dst,
830 int dstBpp, xArc * arc, int dx, int dy, FbBits and, FbBits xor);
834 fbGlyph8(FbBits * dstLine,
836 int dstBpp, FbStip * stipple, FbBits fg, int height, int shift);
866 fbDots16(FbBits * dst,
872 int xorg, int yorg, int xoff, int yoff, FbBits and, FbBits xor);
876 fbArc16(FbBits * dst,
878 int dstBpp, xArc * arc, int dx, int dy, FbBits and, FbBits xor);
882 fbGlyph16(FbBits * dstLine,
884 int dstBpp, FbStip * stipple, FbBits fg, int height, int shift);
914 fbDots24(FbBits * dst,
920 int xorg, int yorg, int xoff, int yoff, FbBits and, FbBits xor);
924 fbArc24(FbBits * dst,
926 int dstBpp, xArc * arc, int dx, int dy, FbBits and, FbBits xor);
930 fbGlyph24(FbBits * dstLine,
932 int dstBpp, FbStip * stipple, FbBits fg, int height, int shift);
962 fbDots32(FbBits * dst,
968 int xorg, int yorg, int xoff, int yoff, FbBits and, FbBits xor);
972 fbArc32(FbBits * dst,
974 int dstBpp, xArc * arc, int dx, int dy, FbBits and, FbBits xor);
978 fbGlyph32(FbBits * dstLine,
980 int dstBpp, FbStip * stipple, FbBits fg, int height, int shift);
994 fbBlt(FbBits * src,
997 FbBits * dst,
1001 int height, int alu, FbBits pm, int bpp, Bool reverse, Bool upsidedown);
1005 fbBlt24(FbBits * srcLine,
1008 FbBits * dstLine,
1012 int height, int alu, FbBits pm, Bool reverse, Bool upsidedown);
1015 fbBltStip(FbStip * src, FbStride srcStride, /* in FbStip units, not FbBits units */
1016 int srcX, FbStip * dst, FbStride dstStride, /* in FbStip units, not FbBits units */
1017 int dstX, int width, int height, int alu, FbBits pm, int bpp);
1027 FbBits * dst,
1032 int height, FbBits fgand, FbBits fbxor, FbBits bgand, FbBits bgxor);
1037 FbBits * dst, FbStride dstStride, /* FbBits units per scanline */
1042 FbBits fgand, /* rrop values */
1043 FbBits fgxor, FbBits bgand, FbBits bgxor);
1047 fbBltPlane(FbBits * src,
1209 int xa, int ya, int xb, int yb, FbBits and, FbBits xor);
1293 FbBits pm,
1301 FbBits fg,
1302 FbBits bg,
1303 FbBits pm,
1374 fbDots(FbBits * dstOrig,
1380 int xorg, int yorg, int xoff, int yoff, FbBits andOrig, FbBits xorOrig);
1531 fbSolid(FbBits * dst,
1533 int dstX, int bpp, int width, int height, FbBits and, FbBits xor);
1537 fbSolid24(FbBits * dst,
1539 int dstX, int width, int height, FbBits and, FbBits xor);
1546 fbTransparentSpan(FbBits * dst, FbBits stip, FbBits fgxor, int n);
1550 fbEvenStipple(FbBits * dst,
1559 FbBits fgand,
1560 FbBits fgxor, FbBits bgand, FbBits bgxor, int xRot, int yRot);
1564 fbOddStipple(FbBits * dst,
1574 FbBits fgand,
1575 FbBits fgxor, FbBits bgand, FbBits bgxor, int xRot, int yRot);
1579 fbStipple(FbBits * dst,
1590 FbBits fgand,
1591 FbBits fgxor, FbBits bgand, FbBits bgxor, int xRot, int yRot);
1599 fbEvenTile(FbBits * dst,
1604 FbBits * tile,
1606 int tileHeight, int alu, FbBits pm, int xRot, int yRot);
1610 fbOddTile(FbBits * dst,
1615 FbBits * tile,
1618 int tileHeight, int alu, FbBits pm, int bpp, int xRot, int yRot);
1622 fbTile(FbBits * dst,
1627 FbBits * tile,
1630 int tileHeight, int alu, FbBits pm, int bpp, int xRot, int yRot);
1635 extern _X_EXPORT FbBits fbReplicatePixel(Pixel p, int bpp);
1638 fbReduceRasterOp(int rop, FbBits fg, FbBits pm, FbBits * andp, FbBits * xorp);
1684 RegionPtr pRegion, FbBits and, FbBits xor);