/external/mesa3d/src/mesa/swrast/ |
s_texcombine.c | 122 rgba[i][GCOMP] = CHAN_TO_FLOAT(rgbaChan[i][GCOMP]); 209 dst[i][GCOMP] = 1.0F - src[i][GCOMP]; 216 dst[i][GCOMP] = 223 dst[i][GCOMP] = 309 rgba[i][GCOMP] = arg0[i][GCOMP] * scaleRGB; 316 rgba[i][GCOMP] = arg0[i][GCOMP] * arg1[i][GCOMP] * scaleRGB [all...] |
s_masking.c | 73 const GLushort gMask = ctx->Color.ColorMask[buf][GCOMP] ? 0xffff : 0x0; 81 src[i][GCOMP] = (src[i][GCOMP] & gMask) | (dst[i][GCOMP] & ~gMask); 89 const GLuint gMask = ctx->Color.ColorMask[buf][GCOMP] ? ~0x0 : 0x0; 97 src[i][GCOMP] = (src[i][GCOMP] & gMask) | (dst[i][GCOMP] & ~gMask);
|
s_blend.c | 145 const GLint g = DIV255((rgba[i][GCOMP] - dest[i][GCOMP]) * t) + dest[i][GCOMP]; 153 rgba[i][GCOMP] = (GLubyte) g; 190 GLushort g = (GLushort) ((rgba[i][GCOMP] - dest[i][GCOMP]) * tt + dest[i][GCOMP]); 227 GLfloat g = (rgba[i][GCOMP] - dest[i][GCOMP]) * t + dest[i][GCOMP]; [all...] |
s_fog.c | 100 rgba[i][GCOMP] = (TYPE) (f * rgba[i][GCOMP] + oneMinusF * gFog); \ 117 rgba[i][GCOMP] = (TYPE) (f * rgba[i][GCOMP] + oneMinusF * gFog); \ 143 gFog = ctx->Fog.Color[GCOMP] * 255.0F; 148 gFog = ctx->Fog.Color[GCOMP] * 65535.0F; 153 gFog = ctx->Fog.Color[GCOMP];
|
s_triangle.c | 155 rgba[i][GCOMP] = texture[pos+1]; \ 216 rgba[i][GCOMP] = texture[pos+1]; \ 284 sample[GCOMP] = tex00[1]; \ 290 sample[GCOMP] = ilerp_2d(sf, tf, tex00[1], tex01[1], tex10[1], tex11[1]);\ 296 sample[GCOMP] = tex00[2]; \ 302 sample[GCOMP] = ilerp_2d(sf, tf, tex00[2], tex01[2], tex10[2], tex11[2]);\ 308 dest[GCOMP] = span->green * (sample[GCOMP] + 1u) >> (FIXED_SHIFT + 8); \ 316 dest[GCOMP] = ((CHAN_MAX - sample[ACOMP]) * span->green + \ 317 ((sample[ACOMP] + 1) * sample[GCOMP] << FIXED_SHIFT)) [all...] |
s_aatritemp.h | 124 compute_plane(p0, p1, p2, v0->color[GCOMP], v1->color[GCOMP], v2->color[GCOMP], gPlane); 130 constant_plane(v2->color[GCOMP], gPlane); 230 array->rgba[count][GCOMP] = solve_plane_chan(cx, cy, gPlane); 293 array->rgba[ix][GCOMP] = solve_plane_chan(cx, cy, gPlane);
|
s_aalinetemp.h | 63 line->span.array->rgba[i][GCOMP] = solve_plane_chan(fx, fy, line->gPlane); 145 v0->color[GCOMP], v1->color[GCOMP], line.gPlane); 153 constant_plane(v1->color[GCOMP], line.gPlane);
|
s_blit.c | 433 srcColor0[srcCol0][GCOMP], srcColor0[srcCol1][GCOMP], 434 srcColor1[srcCol0][GCOMP], srcColor1[srcCol1][GCOMP]); 443 dstColor[dstCol][GCOMP] = IFLOOR(green); 488 srcColor0[srcCol0][GCOMP], srcColor0[srcCol1][GCOMP], 489 srcColor1[srcCol0][GCOMP], srcColor1[srcCol1][GCOMP]); 498 dstColor[dstCol][GCOMP] = green [all...] |
s_tritemp.h | 364 GLfloat eMaj_dg = (GLfloat) (vMax->color[GCOMP] - vMin->color[GCOMP]); 365 GLfloat eBot_dg = (GLfloat) (vMid->color[GCOMP] - vMin->color[GCOMP]); 649 gLeft = (GLint)(ChanToFixed(vLower->color[GCOMP]) 672 gLeft = ChanToFixed(v2->color[GCOMP]); [all...] |
s_span.c | 237 color[GCOMP] = FixedToInt(span->green); 255 rgba[i][GCOMP] = FixedToChan(g); 272 color[GCOMP] = FixedToInt(span->green); 293 rgba[i][GCOMP] = FixedToChan(g); 922 rgba[i][GCOMP] = CLAMP(rgba[i][GCOMP], 0.0F, 1.0F); [all...] |
/external/mesa3d/src/mesa/main/ |
texcompress_s3tc.c | 369 texel[GCOMP] = UBYTE_TO_FLOAT(tex[GCOMP]); 386 texel[GCOMP] = UBYTE_TO_FLOAT(tex[GCOMP]); 403 texel[GCOMP] = UBYTE_TO_FLOAT(tex[GCOMP]); 420 texel[GCOMP] = UBYTE_TO_FLOAT(tex[GCOMP]); 438 texel[GCOMP] = util_format_srgb_8unorm_to_linear_float(tex[GCOMP]); [all...] |
pixeltransfer.c | 60 rgba[i][GCOMP] = rgba[i][GCOMP] * gScale + gBias; 95 GLfloat g = CLAMP(rgba[i][GCOMP], 0.0F, 1.0F); 99 rgba[i][GCOMP] = gMap[(int)_mesa_lroundevenf(g * gscale)]; 123 rgba[i][GCOMP] = gMap[index[i] & gmask]; 185 rgba[i][GCOMP] = CLAMP(rgba[i][GCOMP], 0.0F, 1.0F);
|
texcompress_fxt1.c | 983 FX64_MOV32(hi, 9 | (vec[3][GCOMP] & 4) | ((vec[1][GCOMP] >> 1) & 2)); /* chroma = "1" */ 1108 if ((GLint)((lolo >> 1) & 1) != (((vec[1][GCOMP] ^ vec[0][GCOMP]) >> 2) & 1)) { 1141 if ((GLint)((lohi >> 1) & 1) != (((vec[3][GCOMP] ^ vec[2][GCOMP]) >> 2) & 1)) { 1152 FX64_MOV32(hi, 8 | (vec[3][GCOMP] & 4) | ((vec[1][GCOMP] >> 1) & 2)); /* chroma = "1" */ [all...] |
texcompress_rgtc.c | 321 texel[GCOMP] = 0.0; 333 texel[GCOMP] = 346 texel[GCOMP] = 0.0; 359 texel[GCOMP] = 376 texel[GCOMP] = UBYTE_TO_FLOAT(green); 393 texel[GCOMP] = 411 texel[GCOMP] = BYTE_TO_FLOAT_TEX(green); 429 texel[GCOMP] =
|
config.h | 305 #define GCOMP 1
|
accum.c | 290 acc[i * 4 + 1] = (GLshort) (rgba[i][GCOMP] * scale); 299 acc[i * 4 + 1] += (GLshort) (rgba[i][GCOMP] * scale); 350 !ctx->Color.ColorMask[buffer][GCOMP] || 395 if (ctx->Color.ColorMask[buffer][GCOMP] == 0) { 397 rgba[i][GCOMP] = dest[i][GCOMP];
|
image.c | 496 dst2[i][GCOMP] = UBYTE_TO_USHORT(src1[i][GCOMP]); 512 dst4[i][GCOMP] = UBYTE_TO_FLOAT(src1[i][GCOMP]); 529 dst1[i][GCOMP] = USHORT_TO_UBYTE(src2[i][GCOMP]); 545 dst4[i][GCOMP] = USHORT_TO_FLOAT(src2[i][GCOMP]); 574 UNCLAMPED_FLOAT_TO_USHORT(dst2[i][GCOMP], src4[i][GCOMP]); [all...] |
texcompress_etc.c | [all...] |
pack.c | [all...] |
samplerobj.c | 615 samp->BorderColor.f[GCOMP] = params[1]; 629 samp->BorderColor.i[GCOMP] = params[1]; 643 samp->BorderColor.ui[GCOMP] = params[1]; [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]); 42 return PACK_COLOR_8888(0, c[RCOMP], c[GCOMP], c[BCOMP]); 44 return PACK_COLOR_8888(c[BCOMP], c[GCOMP], c[RCOMP], 0); 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]); 50 return PACK_COLOR_565(c[RCOMP], c[GCOMP], c[BCOMP]); 76 FLOAT_TO_UBYTE(c[GCOMP]),
|
nv04_state_raster.c | 167 if (ctx->Color.ColorMask[0][GCOMP])
|
nv04_context.c | 61 ctx->Color.ColorMask[0][GCOMP] &&
|
/external/mesa3d/src/mesa/drivers/x11/ |
xm_line.c | 206 pixelPtr->g = color[GCOMP]; \ 355 pixelPtr->g = color[GCOMP]; \
|
xm_tri.c | 445 ptr->g = color[GCOMP]; \ 529 color[GCOMP], color[BCOMP]); \ 830 pixel->g = color[GCOMP]; \ 894 color[GCOMP], color[BCOMP]); \ [all...] |