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.c150 GLint s = FixedToInt(span.intTex[0]) & smask; \
151 GLint t = FixedToInt(span.intTex[1]) & tmask; \
211 GLint s = FixedToInt(span.intTex[0]) & smask; \
212 GLint t = FixedToInt(span.intTex[1]) & tmask; \
322 dest[ACOMP] = FixedToInt(span->alpha) in affine_span()
337 GLint rSum = FixedToInt(span->red) + (GLint) sample[RCOMP]; \ in affine_span()
338 GLint gSum = FixedToInt(span->green) + (GLint) sample[GCOMP]; \ in affine_span()
339 GLint bSum = FixedToInt(span->blue) + (GLint) sample[BCOMP]; \ in affine_span()
353 dest[3] = FixedToInt(span->alpha); in affine_span()
364 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_span.c236 color[RCOMP] = FixedToInt(span->red); in interpolate_int_colors()
237 color[GCOMP] = FixedToInt(span->green); in interpolate_int_colors()
238 color[BCOMP] = FixedToInt(span->blue); in interpolate_int_colors()
239 color[ACOMP] = FixedToInt(span->alpha); in interpolate_int_colors()
271 color[RCOMP] = FixedToInt(span->red); in interpolate_int_colors()
272 color[GCOMP] = FixedToInt(span->green); in interpolate_int_colors()
273 color[BCOMP] = FixedToInt(span->blue); in interpolate_int_colors()
274 color[ACOMP] = FixedToInt(span->alpha); in interpolate_int_colors()
392 z[i] = FixedToInt(zval); in _swrast_span_interpolate_z()
Ds_context.h440 #define FixedToInt(X) ((X) >> FIXED_SHIFT) macro
460 #define FixedToChan(X) FixedToInt(X)