/external/mesa3d/src/mesa/swrast/ |
s_texcombine.c | 124 rgba[i][ACOMP] = CHAN_TO_FLOAT(rgbaChan[i][ACOMP]); 217 dst[i][BCOMP] = src[i][ACOMP]; 224 dst[i][BCOMP] = 1.0F - src[i][ACOMP]; 255 c[i][ACOMP] = alpha; 265 c[i][ACOMP] = 0.0F; 273 c[i][ACOMP] = 1.0F; 293 dst[i][ACOMP] = 1.0F - src[i][ACOMP]; 447 rgba[i][ACOMP] = arg0[i][ACOMP] * scaleA [all...] |
s_masking.c | 75 const GLushort aMask = ctx->Color.ColorMask[buf][ACOMP] ? 0xffff : 0x0; 83 src[i][ACOMP] = (src[i][ACOMP] & aMask) | (dst[i][ACOMP] & ~aMask); 91 const GLuint aMask = ctx->Color.ColorMask[buf][ACOMP] ? ~0x0 : 0x0; 99 src[i][ACOMP] = (src[i][ACOMP] & aMask) | (dst[i][ACOMP] & ~aMask);
|
s_blend.c | 137 const GLint t = rgba[i][ACOMP]; /* t is in [0, 255] */ 147 const GLint a = DIV255((rgba[i][ACOMP] - dest[i][ACOMP]) * t) + dest[i][ACOMP]; 155 rgba[i][ACOMP] = (GLubyte) a; 182 const GLint t = rgba[i][ACOMP]; 192 GLushort a = (GLushort) ((rgba[i][ACOMP] - dest[i][ACOMP]) * tt + dest[i][ACOMP]); 220 const GLfloat t = rgba[i][ACOMP]; /* t in [0, 1] * [all...] |
s_alpha.c | 116 ALPHA_TEST(rgba[i][ACOMP], ;); 122 ALPHA_TEST(rgba[i][ACOMP], ;); 127 ALPHA_TEST(rgba[i][ACOMP], ;);
|
s_triangle.c | 157 rgba[i][ACOMP] = 0xff; \ 218 rgba[i][ACOMP] = 0xff; \ 286 sample[ACOMP] = CHAN_MAX; 292 sample[ACOMP] = CHAN_MAX; 298 sample[ACOMP] = tex00[0]; 304 sample[ACOMP] = ilerp_2d(sf, tf, tex00[0], tex01[0], tex10[0], tex11[0]) 310 dest[ACOMP] = span->alpha * (sample[ACOMP] + 1u) >> (FIXED_SHIFT + 8) 313 dest[RCOMP] = ((CHAN_MAX - sample[ACOMP]) * span->red + \ 314 ((sample[ACOMP] + 1) * sample[RCOMP] << FIXED_SHIFT)) [all...] |
s_aatritemp.h | 126 compute_plane(p0, p1, p2, v0->color[ACOMP], v1->color[ACOMP], v2->color[ACOMP], aPlane); 132 constant_plane(v2->color[ACOMP], aPlane); 232 array->rgba[count][ACOMP] = solve_plane_chan(cx, cy, aPlane); 295 array->rgba[ix][ACOMP] = solve_plane_chan(cx, cy, aPlane);
|
s_aalinetemp.h | 65 line->span.array->rgba[i][ACOMP] = solve_plane_chan(fx, fy, line->aPlane); 149 v0->color[ACOMP], v1->color[ACOMP], line.aPlane); 155 constant_plane(v1->color[ACOMP], line.aPlane);
|
s_blit.c | 439 srcColor0[srcCol0][ACOMP], srcColor0[srcCol1][ACOMP], 440 srcColor1[srcCol0][ACOMP], srcColor1[srcCol1][ACOMP]); 445 dstColor[dstCol][ACOMP] = IFLOOR(alpha); 494 srcColor0[srcCol0][ACOMP], srcColor0[srcCol1][ACOMP], 495 srcColor1[srcCol0][ACOMP], srcColor1[srcCol1][ACOMP]); 500 dstColor[dstCol][ACOMP] = alpha [all...] |
s_span.c | 239 color[ACOMP] = FixedToInt(span->alpha); 257 rgba[i][ACOMP] = FixedToChan(a); 274 color[ACOMP] = FixedToInt(span->alpha); 295 rgba[i][ACOMP] = FixedToChan(a); 888 const GLfloat a = rgba[i][ACOMP] * coverage[i]; 889 rgba[i][ACOMP] = (GLubyte) CLAMP(a, 0.0F, 255.0F); 897 const GLfloat a = rgba[i][ACOMP] * coverage[i]; 898 rgba[i][ACOMP] = (GLushort) CLAMP(a, 0.0F, 65535.0F); 904 rgba[i][ACOMP] = rgba[i][ACOMP] * coverage[i] [all...] |
s_tritemp.h | 369 GLfloat eMaj_da = (GLfloat) (vMax->color[ACOMP] - vMin->color[ACOMP]); 370 GLfloat eBot_da = (GLfloat) (vMid->color[ACOMP] - vMin->color[ACOMP]); 662 aLeft = (GLint)(ChanToFixed(vLower->color[ACOMP]) 676 aLeft = ChanToFixed(v2->color[ACOMP]); [all...] |
s_texfetch.c | 98 texel[ACOMP] = 0.0;
|
/external/mesa3d/src/mesa/main/ |
texcompress_s3tc.c | 371 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); 388 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); 405 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); 422 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); 440 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); [all...] |
pixeltransfer.c | 72 rgba[i][ACOMP] = rgba[i][ACOMP] * aScale + aBias; 97 GLfloat a = CLAMP(rgba[i][ACOMP], 0.0F, 1.0F); 101 rgba[i][ACOMP] = aMap[(int)_mesa_lroundevenf(a * ascale)]; 125 rgba[i][ACOMP] = aMap[index[i] & amask]; 187 rgba[i][ACOMP] = CLAMP(rgba[i][ACOMP], 0.0F, 1.0F);
|
texcompress_rgtc.c | 323 texel[ACOMP] = 1.0; 335 texel[ACOMP] = 1.0; 348 texel[ACOMP] = 1.0; 361 texel[ACOMP] = 1.0; 378 texel[ACOMP] = 1.0; 395 texel[ACOMP] = UBYTE_TO_FLOAT(green); 413 texel[ACOMP] = 1.0; 431 texel[ACOMP] = BYTE_TO_FLOAT_TEX(green);
|
config.h | 307 #define ACOMP 3
|
accum.c | 292 acc[i * 4 + 3] = (GLshort) (rgba[i][ACOMP] * scale); 301 acc[i * 4 + 3] += (GLshort) (rgba[i][ACOMP] * scale); 352 !ctx->Color.ColorMask[buffer][ACOMP]); 403 if (ctx->Color.ColorMask[buffer][ACOMP] == 0) { 405 rgba[i][ACOMP] = dest[i][ACOMP];
|
image.c | 498 dst2[i][ACOMP] = UBYTE_TO_USHORT(src1[i][ACOMP]); 514 dst4[i][ACOMP] = UBYTE_TO_FLOAT(src1[i][ACOMP]); 531 dst1[i][ACOMP] = USHORT_TO_UBYTE(src2[i][ACOMP]); 547 dst4[i][ACOMP] = USHORT_TO_FLOAT(src2[i][ACOMP]); 576 UNCLAMPED_FLOAT_TO_USHORT(dst2[i][ACOMP], src4[i][ACOMP]); [all...] |
texcompress_fxt1.c | 597 FX64_OR32(hi, (GLuint)(vec[j][ACOMP] / 8.0F)); 768 FX64_OR32(hi, (GLuint)(vec[j][ACOMP] / 8.0F)); [all...] |
texcompress_etc.c | [all...] |
pack.c | [all...] |
samplerobj.c | 617 samp->BorderColor.f[ACOMP] = params[3]; 631 samp->BorderColor.i[ACOMP] = params[3]; 645 samp->BorderColor.ui[ACOMP] = params[3]; [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_util.h | 38 return PACK_COLOR_8888(c[ACOMP], c[RCOMP], c[GCOMP], c[BCOMP]); 40 return PACK_COLOR_8888(c[BCOMP], c[GCOMP], c[RCOMP], c[ACOMP]); 46 return PACK_COLOR_8888(c[RCOMP], c[GCOMP], c[BCOMP], c[ACOMP]); 48 return PACK_COLOR_8888(c[ACOMP], c[BCOMP], c[GCOMP], c[RCOMP]); 78 FLOAT_TO_UBYTE(c[ACOMP]) });
|
nv04_state_raster.c | 171 if (ctx->Color.ColorMask[0][ACOMP])
|
nv04_context.c | 63 ctx->Color.ColorMask[0][ACOMP]))
|
/external/mesa3d/src/mesa/drivers/common/ |
driverfuncs.c | 233 ctx->Color.ColorMask[0][ACOMP]);
|