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.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(span.blue), \
146 FixedToInt(span.alpha)); \
178 pRow[i] = PACK_8R8G8B(FixedToInt(span.red), \
179 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.h258 eMaj.lines = FixedToInt(FixedCeil(vMax_fy - eMaj.fsy)); in NAME()
271 eTop.lines = FixedToInt(FixedCeil(vMax_fy - eTop.fsy)); in NAME()
281 eBot.lines = FixedToInt(FixedCeil(vMid_fy - eBot.fsy)); in NAME()
589 idxOuter = FixedToInt(fdxOuter); in NAME()
591 span.y = FixedToInt(fsy); in NAME()
601 pRow = (PIXEL_TYPE *) PIXEL_ADDRESS(FixedToInt(fxLeftEdge), span.y); in NAME()
640 _swrast_pixel_address(zrb, FixedToInt(fxLeftEdge), span.y); in NAME()
776 const GLint right = FixedToInt(fxRightEdge); in NAME()
777 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.h440 #define FixedToInt(X) ((X) >> FIXED_SHIFT) macro
460 #define FixedToChan(X) FixedToInt(X)
Ds_span.c239 color[RCOMP] = FixedToInt(span->red); in interpolate_int_colors()
240 color[GCOMP] = FixedToInt(span->green); in interpolate_int_colors()
241 color[BCOMP] = FixedToInt(span->blue); in interpolate_int_colors()
242 color[ACOMP] = FixedToInt(span->alpha); in interpolate_int_colors()
274 color[RCOMP] = FixedToInt(span->red); in interpolate_int_colors()
275 color[GCOMP] = FixedToInt(span->green); in interpolate_int_colors()
276 color[BCOMP] = FixedToInt(span->blue); in interpolate_int_colors()
277 color[ACOMP] = FixedToInt(span->alpha); in interpolate_int_colors()
395 z[i] = FixedToInt(zval); in _swrast_span_interpolate_z()