Searched refs:FixedToInt (Results 1 - 12 of 12) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/x11/
H A Dxm_tri.c76 PACK_TRUECOLOR(p, FixedToInt(span.red), \
77 FixedToInt(span.green), FixedToInt(span.blue)); \
110 pRow[i] = PACK_8A8B8G8R(FixedToInt(span.red), \
111 FixedToInt(span.green), FixedToInt(span.blue), \
112 FixedToInt(span.alpha)); \
145 pRow[i] = PACK_8A8R8G8B(FixedToInt(span.red), \
146 FixedToInt(span.green), FixedToInt(spa
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/x11/
H A Dxm_tri.c75 PACK_TRUECOLOR(p, FixedToInt(span.red), \
76 FixedToInt(span.green), FixedToInt(span.blue)); \
109 pRow[i] = PACK_8A8B8G8R(FixedToInt(span.red), \
110 FixedToInt(span.green), FixedToInt(span.blue), \
111 FixedToInt(span.alpha)); \
144 pRow[i] = PACK_8A8R8G8B(FixedToInt(span.red), \
145 FixedToInt(span.green), FixedToInt(spa
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_alpha.c138 ALPHA_TEST(FixedToInt(alpha), alpha += alphaStep);
145 ALPHA_TEST(FixedToInt(alpha), alpha += alphaStep);
H A Ds_triangle.c151 GLint s = FixedToInt(span.intTex[0]) & smask; \
152 GLint t = FixedToInt(span.intTex[1]) & tmask; \
212 GLint s = FixedToInt(span.intTex[0]) & smask; \
213 GLint t = FixedToInt(span.intTex[1]) & tmask; \
323 dest[ACOMP] = FixedToInt(span->alpha)
338 GLint rSum = FixedToInt(span->red) + (GLint) sample[RCOMP]; \
339 GLint gSum = FixedToInt(span->green) + (GLint) sample[GCOMP]; \
340 GLint bSum = FixedToInt(span->blue) + (GLint) sample[BCOMP]; \
354 dest[3] = FixedToInt(span->alpha);
365 GLint s = FixedToInt(spa
[all...]
H A Ds_tritemp.h257 eMaj.lines = FixedToInt(FixedCeil(vMax_fy - eMaj.fsy));
270 eTop.lines = FixedToInt(FixedCeil(vMax_fy - eTop.fsy));
280 eBot.lines = FixedToInt(FixedCeil(vMid_fy - eBot.fsy));
588 idxOuter = FixedToInt(fdxOuter);
590 span.y = FixedToInt(fsy);
600 pRow = (PIXEL_TYPE *) PIXEL_ADDRESS(FixedToInt(fxLeftEdge), span.y);
639 _swrast_pixel_address(zrb, FixedToInt(fxLeftEdge), span.y);
775 const GLint right = FixedToInt(fxRightEdge);
776 span.x = FixedToInt(fxLeftEdge);
H A Ds_context.h439 #define FixedToInt(X) ((X) >> FIXED_SHIFT) macro
459 #define FixedToChan(X) FixedToInt(X)
H A Ds_span.c239 color[RCOMP] = FixedToInt(span->red);
240 color[GCOMP] = FixedToInt(span->green);
241 color[BCOMP] = FixedToInt(span->blue);
242 color[ACOMP] = FixedToInt(span->alpha);
274 color[RCOMP] = FixedToInt(span->red);
275 color[GCOMP] = FixedToInt(span->green);
276 color[BCOMP] = FixedToInt(span->blue);
277 color[ACOMP] = FixedToInt(span->alpha);
395 z[i] = FixedToInt(zval);
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_alpha.c138 ALPHA_TEST(FixedToInt(alpha), alpha += alphaStep);
145 ALPHA_TEST(FixedToInt(alpha), alpha += alphaStep);
H A Ds_triangle.c151 GLint s = FixedToInt(span.intTex[0]) & smask; \
152 GLint t = FixedToInt(span.intTex[1]) & tmask; \
212 GLint s = FixedToInt(span.intTex[0]) & smask; \
213 GLint t = FixedToInt(span.intTex[1]) & tmask; \
323 dest[ACOMP] = FixedToInt(span->alpha)
338 GLint rSum = FixedToInt(span->red) + (GLint) sample[RCOMP]; \
339 GLint gSum = FixedToInt(span->green) + (GLint) sample[GCOMP]; \
340 GLint bSum = FixedToInt(span->blue) + (GLint) sample[BCOMP]; \
354 dest[3] = FixedToInt(span->alpha);
365 GLint s = FixedToInt(spa
[all...]
H A Ds_tritemp.h258 eMaj.lines = FixedToInt(FixedCeil(vMax_fy - eMaj.fsy));
271 eTop.lines = FixedToInt(FixedCeil(vMax_fy - eTop.fsy));
281 eBot.lines = FixedToInt(FixedCeil(vMid_fy - eBot.fsy));
589 idxOuter = FixedToInt(fdxOuter);
591 span.y = FixedToInt(fsy);
601 pRow = (PIXEL_TYPE *) PIXEL_ADDRESS(FixedToInt(fxLeftEdge), span.y);
640 _swrast_pixel_address(zrb, FixedToInt(fxLeftEdge), span.y);
776 const GLint right = FixedToInt(fxRightEdge);
777 span.x = FixedToInt(fxLeftEdge);
H A Ds_context.h440 #define FixedToInt(X) ((X) >> FIXED_SHIFT) macro
460 #define FixedToChan(X) FixedToInt(X)
H A Ds_span.c239 color[RCOMP] = FixedToInt(span->red);
240 color[GCOMP] = FixedToInt(span->green);
241 color[BCOMP] = FixedToInt(span->blue);
242 color[ACOMP] = FixedToInt(span->alpha);
274 color[RCOMP] = FixedToInt(span->red);
275 color[GCOMP] = FixedToInt(span->green);
276 color[BCOMP] = FixedToInt(span->blue);
277 color[ACOMP] = FixedToInt(span->alpha);
395 z[i] = FixedToInt(zval);

Completed in 17 milliseconds