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.c74 PACK_TRUECOLOR(p, FixedToInt(span.red), \
75 FixedToInt(span.green), FixedToInt(span.blue)); \
108 pRow[i] = PACK_8A8B8G8R(FixedToInt(span.red), \
109 FixedToInt(span.green), FixedToInt(span.blue), \
110 FixedToInt(span.alpha)); \
143 pRow[i] = PACK_8A8R8G8B(FixedToInt(span.red), \
144 FixedToInt(span.green), FixedToInt(span.blue), \
145 FixedToInt(span.alpha)); \
177 pRow[i] = PACK_8R8G8B(FixedToInt(span.red), \
178 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.h252 eMaj.lines = FixedToInt(FixedCeil(vMax_fy - eMaj.fsy)); in NAME()
265 eTop.lines = FixedToInt(FixedCeil(vMax_fy - eTop.fsy)); in NAME()
275 eBot.lines = FixedToInt(FixedCeil(vMid_fy - eBot.fsy)); in NAME()
583 idxOuter = FixedToInt(fdxOuter); in NAME()
585 span.y = FixedToInt(fsy); in NAME()
595 pRow = (PIXEL_TYPE *) PIXEL_ADDRESS(FixedToInt(fxLeftEdge), span.y); in NAME()
634 _swrast_pixel_address(zrb, FixedToInt(fxLeftEdge), span.y); in NAME()
770 const GLint right = FixedToInt(fxRightEdge); in NAME()
771 span.x = FixedToInt(fxLeftEdge); in NAME()
Ds_alpha.c139 ALPHA_TEST(FixedToInt(alpha), alpha += alphaStep); in _swrast_alpha_test()
146 ALPHA_TEST(FixedToInt(alpha), alpha += alphaStep); in _swrast_alpha_test()
Ds_context.h420 #define FixedToInt(X) ((X) >> FIXED_SHIFT) macro
440 #define FixedToChan(X) FixedToInt(X)
Ds_span.c235 color[RCOMP] = FixedToInt(span->red); in interpolate_int_colors()
236 color[GCOMP] = FixedToInt(span->green); in interpolate_int_colors()
237 color[BCOMP] = FixedToInt(span->blue); in interpolate_int_colors()
238 color[ACOMP] = FixedToInt(span->alpha); in interpolate_int_colors()
270 color[RCOMP] = FixedToInt(span->red); in interpolate_int_colors()
271 color[GCOMP] = FixedToInt(span->green); in interpolate_int_colors()
272 color[BCOMP] = FixedToInt(span->blue); in interpolate_int_colors()
273 color[ACOMP] = FixedToInt(span->alpha); in interpolate_int_colors()
391 z[i] = FixedToInt(zval); in _swrast_span_interpolate_z()