Searched refs:FB_UNIT (Results 1 - 25 of 44) sorted by relevance

12

/xsrc/external/mit/xorg-server.old/dist/miext/shadow/
H A Dshrotate.c85 shaMask = FbBitsMask (FB_UNIT-shaBpp, shaBpp);
219 shaFirstShift = FB_UNIT - ((sha_x1 * shaBpp) & FB_MASK) - shaBpp;
279 if (shaShift >= FB_UNIT)
281 shaShift -= FB_UNIT;
286 shaShift += FB_UNIT;
296 if (shaFirstShift >= FB_UNIT)
298 shaFirstShift -= FB_UNIT;
303 shaFirstShift += FB_UNIT;
/xsrc/external/mit/xorg-server/dist/miext/shadow/
H A Dshrotate.c85 shaMask = FbBitsMask(FB_UNIT - shaBpp, shaBpp);
218 shaFirstShift = FB_UNIT - ((sha_x1 * shaBpp) & FB_MASK) - shaBpp;
272 if (shaShift >= FB_UNIT) {
273 shaShift -= FB_UNIT;
277 shaShift += FB_UNIT;
287 if (shaFirstShift >= FB_UNIT) {
288 shaFirstShift -= FB_UNIT;
292 shaFirstShift += FB_UNIT;
/xsrc/external/mit/xorg-server.old/dist/fb/
H A Dfbgc.c79 * Pad pixmap to FB_UNIT bits wide
103 while (w < FB_UNIT)
125 if (width > FB_UNIT)
126 width = FB_UNIT;
147 width = (width + FB_UNIT-1) >> FB_SHIFT;
156 * The even stipple code wants the first FB_UNIT/bpp bits on
162 int len = FB_UNIT / bpp;
263 if (pGC->stipple->drawable.width * pDrawable->bitsPerPixel < FB_UNIT)
287 while (s < FB_UNIT)
H A Dfbbltone.c192 pixelsPerDst = FB_UNIT / dstBpp;
299 #if FB_UNIT > 32
333 #if FB_UNIT > 32
397 #if FB_UNIT > 32
437 Mask24Pos(x,r) >= FB_UNIT ? 0 : Mask24Pos(x,r))
439 #define Mask24(x,r) (Mask24Pos(x,r) < FB_UNIT ? \
447 * Untested for MSBFirst or FB_UNIT == 32
450 #if FB_UNIT == 64
486 #if FB_UNIT == 32
810 if (srcX + w > FB_UNIT)
[all...]
H A Dfbstipple.c122 pixelsPerDst = FB_UNIT / dstBpp;
142 modulus (- xRot, FB_UNIT, stipX);
160 #if FB_UNIT > 32
H A Dfb.h92 #define FB_UNIT (1 << FB_SHIFT) macro
94 #define FB_MASK (FB_UNIT - 1)
127 #define FbFullMask(n) ((n) == FB_UNIT ? FB_ALLONES : ((((FbBits) 1) << n) - 1))
188 /* #define FbLeftBits(x,n) ((x) >> (FB_UNIT - (n))) */
199 #define FbRotLeft(x,n) FbScrLeft(x,n) | (n ? FbScrRight(x,FB_UNIT-n) : 0)
200 #define FbRotRight(x,n) FbScrRight(x,n) | (n ? FbScrLeft(x,FB_UNIT-n) : 0)
207 #define FbRightMask(x) ( ((FB_UNIT - (x)) & FB_MASK) ? \
208 FbScrLeft(FB_ALLONES,(FB_UNIT - (x)) & FB_MASK) : 0)
216 FbScrLeft(FB_ALLONES,(FB_UNIT - ((x) + (w))) & FB_MASK))
227 n -= FB_UNIT
[all...]
/xsrc/external/mit/xf86-video-intel/dist/src/sna/fb/
H A Dfbgc.c29 * Pad pixmap to FB_UNIT bits wide
52 while (w < FB_UNIT) {
71 if (width > FB_UNIT)
72 width = FB_UNIT;
92 width = (width + FB_UNIT - 1) >> FB_SHIFT;
101 * The even stipple code wants the first FB_UNIT/bpp bits on
107 int len = FB_UNIT / bpp;
173 while (s < FB_UNIT) {
H A Dfb.h51 #define FB_UNIT (1 << FB_SHIFT) macro
53 #define FB_MASK (FB_UNIT - 1)
72 #define FbFullMask(n) ((n) == FB_UNIT ? FB_ALLONES : ((((FbBits) 1) << n) - 1))
90 #define FbRotLeft(x,n) FbScrLeft(x,n) | (n ? FbScrRight(x,FB_UNIT-n) : 0)
91 #define FbRotRight(x,n) FbScrRight(x,n) | (n ? FbScrLeft(x,FB_UNIT-n) : 0)
98 #define FbRightMask(x) ( ((FB_UNIT - (x)) & FB_MASK) ? \
99 FbScrLeft(FB_ALLONES,(FB_UNIT - (x)) & FB_MASK) : 0)
107 FbScrLeft(FB_ALLONES,(FB_UNIT - ((x) + (w))) & FB_MASK))
117 n -= FB_UNIT - ((x) & FB_MASK); \
161 n -= FB_UNIT
[all...]
H A Dfbblt.c72 rs = FB_UNIT - ls; \
75 ls = FB_UNIT - rs; \
172 rightShift = FB_UNIT - leftShift;
175 leftShift = FB_UNIT - rightShift;
H A Dfbbltone.c134 pixelsPerDst = FB_UNIT / dstBpp;
253 #if FB_UNIT > 32
403 if (srcBpp == FB_UNIT)
H A Dfbbitmap.c130 for (base = 0; bits < end; base += FB_UNIT) {
139 for (i = 0; i < FB_UNIT; i++) {
H A Dfbstipple.c83 pixelsPerDst = FB_UNIT / dstBpp;
103 modulus(-xRot, FB_UNIT, stipX);
H A Dfbutil.c32 while (bpp < FB_UNIT) {
45 (FB_ALLONES >> ((FB_UNIT - ((x) + (w))) & FB_MASK)))
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/fb/
H A Dfbgc.c29 * Pad pixmap to FB_UNIT bits wide
52 while (w < FB_UNIT) {
71 if (width > FB_UNIT)
72 width = FB_UNIT;
92 width = (width + FB_UNIT - 1) >> FB_SHIFT;
101 * The even stipple code wants the first FB_UNIT/bpp bits on
107 int len = FB_UNIT / bpp;
173 while (s < FB_UNIT) {
H A Dfb.h55 #define FB_UNIT (1 << FB_SHIFT) macro
57 #define FB_MASK (FB_UNIT - 1)
76 #define FbFullMask(n) ((n) == FB_UNIT ? FB_ALLONES : ((((FbBits) 1) << n) - 1))
94 #define FbRotLeft(x,n) FbScrLeft(x,n) | (n ? FbScrRight(x,FB_UNIT-n) : 0)
95 #define FbRotRight(x,n) FbScrRight(x,n) | (n ? FbScrLeft(x,FB_UNIT-n) : 0)
102 #define FbRightMask(x) ( ((FB_UNIT - (x)) & FB_MASK) ? \
103 FbScrLeft(FB_ALLONES,(FB_UNIT - (x)) & FB_MASK) : 0)
111 FbScrLeft(FB_ALLONES,(FB_UNIT - ((x) + (w))) & FB_MASK))
121 n -= FB_UNIT - ((x) & FB_MASK); \
165 n -= FB_UNIT
[all...]
H A Dfbblt.c72 rs = FB_UNIT - ls; \
75 ls = FB_UNIT - rs; \
172 rightShift = FB_UNIT - leftShift;
175 leftShift = FB_UNIT - rightShift;
H A Dfbbltone.c134 pixelsPerDst = FB_UNIT / dstBpp;
253 #if FB_UNIT > 32
403 if (srcBpp == FB_UNIT)
H A Dfbbitmap.c130 for (base = 0; bits < end; base += FB_UNIT) {
139 for (i = 0; i < FB_UNIT; i++) {
H A Dfbstipple.c83 pixelsPerDst = FB_UNIT / dstBpp;
103 modulus(-xRot, FB_UNIT, stipX);
H A Dfbutil.c32 while (bpp < FB_UNIT) {
45 (FB_ALLONES >> ((FB_UNIT - ((x) + (w))) & FB_MASK)))
/xsrc/external/mit/xorg-server/dist/fb/
H A Dfbgc.c78 * Pad pixmap to FB_UNIT bits wide
101 while (w < FB_UNIT) {
140 FB_UNIT)
163 while (s < FB_UNIT) {
H A Dfbutil.c35 while (bpp < FB_UNIT) {
H A Dfbblt.c34 rs = FB_UNIT - ls; \
37 ls = FB_UNIT - rs; \
197 rightShift = FB_UNIT - leftShift;
201 leftShift = FB_UNIT - rightShift;
H A Dfb.h86 #define FB_UNIT (1 << FB_SHIFT) macro
87 #define FB_MASK (FB_UNIT - 1)
100 #define FbFullMask(n) ((n) == FB_UNIT ? FB_ALLONES : ((((FbBits) 1) << n) - 1))
138 /* #define FbLeftBits(x,n) ((x) >> (FB_UNIT - (n))) */
149 #define FbRotLeft(x,n) FbScrLeft(x,n) | (n ? FbScrRight(x,FB_UNIT-n) : 0)
150 #define FbRotRight(x,n) FbScrRight(x,n) | (n ? FbScrLeft(x,FB_UNIT-n) : 0)
157 #define FbRightMask(x) ( ((FB_UNIT - (x)) & FB_MASK) ? \
158 FbScrLeft(FB_ALLONES,(FB_UNIT - (x)) & FB_MASK) : 0)
166 FbScrLeft(FB_ALLONES,(FB_UNIT - ((x) + (w))) & FB_MASK))
176 n -= FB_UNIT
[all...]
/xsrc/external/mit/xorg-server.old/dist/miext/rootless/
H A DrootlessCommon.h238 if (_pPix->drawable.bitsPerPixel != FB_UNIT) { \
240 (FB_UNIT / CHAR_BIT - 1); \

Completed in 22 milliseconds

12