Home
last modified time | relevance | path

Searched refs:FixedToInt (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/mesa/drivers/x11/
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(span.blue), \
147 FixedToInt(span.alpha)); \
179 pRow[i] = PACK_8R8G8B(FixedToInt(span.red), \
180 FixedToInt(span.green), FixedToInt(span.blue)); \
[all …]
/external/mesa3d/src/mesa/swrast/
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) in affine_span()
338 GLint rSum = FixedToInt(span->red) + (GLint) sample[RCOMP]; \ in affine_span()
339 GLint gSum = FixedToInt(span->green) + (GLint) sample[GCOMP]; \ in affine_span()
340 GLint bSum = FixedToInt(span->blue) + (GLint) sample[BCOMP]; \ in affine_span()
354 dest[3] = FixedToInt(span->alpha); in affine_span()
365 GLint s = FixedToInt(span->intTex[0]) & info->smask; \ in affine_span()
[all …]
Ds_tritemp.h257 eMaj.lines = FixedToInt(FixedCeil(vMax_fy - eMaj.fsy)); in NAME()
270 eTop.lines = FixedToInt(FixedCeil(vMax_fy - eTop.fsy)); in NAME()
280 eBot.lines = FixedToInt(FixedCeil(vMid_fy - eBot.fsy)); in NAME()
588 idxOuter = FixedToInt(fdxOuter); in NAME()
590 span.y = FixedToInt(fsy); in NAME()
600 pRow = (PIXEL_TYPE *) PIXEL_ADDRESS(FixedToInt(fxLeftEdge), span.y); in NAME()
639 _swrast_pixel_address(zrb, FixedToInt(fxLeftEdge), span.y); in NAME()
775 const GLint right = FixedToInt(fxRightEdge); in NAME()
776 span.x = FixedToInt(fxLeftEdge); in NAME()
Ds_alpha.c138 ALPHA_TEST(FixedToInt(alpha), alpha += alphaStep); in _swrast_alpha_test()
145 ALPHA_TEST(FixedToInt(alpha), alpha += alphaStep); in _swrast_alpha_test()
Ds_context.h439 #define FixedToInt(X) ((X) >> FIXED_SHIFT) macro
459 #define FixedToChan(X) FixedToInt(X)
Ds_span.c238 color[RCOMP] = FixedToInt(span->red); in interpolate_int_colors()
239 color[GCOMP] = FixedToInt(span->green); in interpolate_int_colors()
240 color[BCOMP] = FixedToInt(span->blue); in interpolate_int_colors()
241 color[ACOMP] = FixedToInt(span->alpha); in interpolate_int_colors()
273 color[RCOMP] = FixedToInt(span->red); in interpolate_int_colors()
274 color[GCOMP] = FixedToInt(span->green); in interpolate_int_colors()
275 color[BCOMP] = FixedToInt(span->blue); in interpolate_int_colors()
276 color[ACOMP] = FixedToInt(span->alpha); in interpolate_int_colors()
394 z[i] = FixedToInt(zval); in _swrast_span_interpolate_z()