/external/mesa3d/src/mesa/swrast/ |
s_texcombine.c | 123 rgba[i][BCOMP] = CHAN_TO_FLOAT(rgbaChan[i][BCOMP]); 210 dst[i][BCOMP] = 1.0F - src[i][BCOMP]; 217 dst[i][BCOMP] = src[i][ACOMP]; 224 dst[i][BCOMP] = 1.0F - src[i][ACOMP]; 310 rgba[i][BCOMP] = arg0[i][BCOMP] * scaleRGB; 317 rgba[i][BCOMP] = arg0[i][BCOMP] * arg1[i][BCOMP] * scaleRGB [all...] |
s_texfetch_tmp.h | 110 texel[BCOMP] = src[2]; 128 texel[BCOMP] = _mesa_half_to_float(src[2]); 145 texel[BCOMP] = src[2]; 163 texel[BCOMP] = _mesa_half_to_float(src[2]); 181 texel[BCOMP] = 0.0F; 199 texel[BCOMP] = 0.0F; 217 texel[BCOMP] = src[0]; 235 texel[BCOMP] = _mesa_half_to_float(src[0]); 253 texel[BCOMP] = src[0]; 271 texel[BCOMP] = _mesa_half_to_float(src[0]) [all...] |
s_blend.c | 149 const GLint b = DIV255((rgba[i][BCOMP] - dest[i][BCOMP]) * t) + dest[i][BCOMP]; 157 rgba[i][BCOMP] = (GLubyte) b; 194 GLushort b = (GLushort) ((rgba[i][BCOMP] - dest[i][BCOMP]) * tt + dest[i][BCOMP]); 231 GLfloat b = (rgba[i][BCOMP] - dest[i][BCOMP]) * t + dest[i][BCOMP]; [all...] |
s_masking.c | 74 const GLushort bMask = ctx->Color.ColorMask[buf][BCOMP] ? 0xffff : 0x0; 82 src[i][BCOMP] = (src[i][BCOMP] & bMask) | (dst[i][BCOMP] & ~bMask); 90 const GLuint bMask = ctx->Color.ColorMask[buf][BCOMP] ? ~0x0 : 0x0; 98 src[i][BCOMP] = (src[i][BCOMP] & bMask) | (dst[i][BCOMP] & ~bMask);
|
s_fog.c | 101 rgba[i][BCOMP] = (TYPE) (f * rgba[i][BCOMP] + oneMinusF * bFog); \ 118 rgba[i][BCOMP] = (TYPE) (f * rgba[i][BCOMP] + oneMinusF * bFog); \ 144 bFog = ctx->Fog.Color[BCOMP] * 255.0F; 149 bFog = ctx->Fog.Color[BCOMP] * 65535.0F; 154 bFog = ctx->Fog.Color[BCOMP];
|
s_triangle.c | 156 rgba[i][BCOMP] = texture[pos+0]; \ 217 rgba[i][BCOMP] = texture[pos+0]; \ 285 sample[BCOMP] = tex00[0]; \ 291 sample[BCOMP] = ilerp_2d(sf, tf, tex00[0], tex01[0], tex10[0], tex11[0]);\ 297 sample[BCOMP] = tex00[1]; \ 303 sample[BCOMP] = ilerp_2d(sf, tf, tex00[1], tex01[1], tex10[1], tex11[1]);\ 309 dest[BCOMP] = span->blue * (sample[BCOMP] + 1u) >> (FIXED_SHIFT + 8); \ 319 dest[BCOMP] = ((CHAN_MAX - sample[ACOMP]) * span->blue + \ 320 ((sample[ACOMP] + 1) * sample[BCOMP] << FIXED_SHIFT)) [all...] |
s_aalinetemp.h | 64 line->span.array->rgba[i][BCOMP] = solve_plane_chan(fx, fy, line->bPlane); 147 v0->color[BCOMP], v1->color[BCOMP], line.bPlane); 154 constant_plane(v1->color[BCOMP], line.bPlane);
|
s_blit.c | 412 srcColor0[srcCol0][BCOMP], srcColor0[srcCol1][BCOMP], 413 srcColor1[srcCol0][BCOMP], srcColor1[srcCol1][BCOMP]); 420 dstColor[dstCol][BCOMP] = IFLOOR(blue); 469 srcColor0[srcCol0][BCOMP], srcColor0[srcCol1][BCOMP], 470 srcColor1[srcCol0][BCOMP], srcColor1[srcCol1][BCOMP]); 477 dstColor[dstCol][BCOMP] = blue [all...] |
s_aatritemp.h | 125 compute_plane(p0, p1, p2, v0->color[BCOMP], v1->color[BCOMP], v2->color[BCOMP], bPlane); 131 constant_plane(v2->color[BCOMP], bPlane); 231 array->rgba[count][BCOMP] = solve_plane_chan(cx, cy, bPlane); 294 array->rgba[ix][BCOMP] = solve_plane_chan(cx, cy, bPlane);
|
s_tritemp.h | 361 GLfloat eMaj_db = (GLfloat) (vMax->color[BCOMP] - vMin->color[BCOMP]); 362 GLfloat eBot_db = (GLfloat) (vMid->color[BCOMP] - vMin->color[BCOMP]); 647 bLeft = (GLint)(ChanToFixed(vLower->color[BCOMP]) 668 bLeft = ChanToFixed(v2->color[BCOMP]); [all...] |
/external/mesa3d/src/mesa/main/ |
pack_tmp.h | 48 dst[i] = SRC_CONVERT(rgba[i][BCOMP]); 69 dst[i*3+2] = SRC_CONVERT(rgba[i][BCOMP]); 77 dst[i*4+2] = SRC_CONVERT(rgba[i][BCOMP]); 84 dst[i*3+0] = SRC_CONVERT(rgba[i][BCOMP]); 92 dst[i*4+0] = SRC_CONVERT(rgba[i][BCOMP]); 103 rgba[i][BCOMP]); 111 rgba[i][BCOMP]);
|
texcompress_s3tc.c | 394 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]); 423 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]); 452 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]); 481 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]); 495 texel[BCOMP] = nonlinear_to_linear(rgba[BCOMP]); [all...] |
pack.c | 562 | (CLAMP(rgba[i][BCOMP], 0, 3) ); 574 | (CLAMP(rgba[i][BCOMP], 0, 3) << 6); 586 | (CLAMP(rgba[i][BCOMP], 0, 31) ); 598 | (CLAMP(rgba[i][BCOMP], 0, 31) << 11); 610 | (CLAMP(rgba[i][BCOMP], 0, 15) << 4) 617 dst[i] = (CLAMP(rgba[i][BCOMP], 0, 15) << 12) 627 | (CLAMP(rgba[i][BCOMP], 0, 15) << 8) 641 | (CLAMP(rgba[i][BCOMP], 0, 15) << 8) 648 dst[i] = (CLAMP(rgba[i][BCOMP], 0, 15) ) 658 | (CLAMP(rgba[i][BCOMP], 0, 15) << 4 [all...] |
format_unpack.c | 98 dst[i][BCOMP] = UBYTE_TO_FLOAT( (s[i] >> 8) & 0xff ); 111 dst[i][BCOMP] = UBYTE_TO_FLOAT( (s[i] >> 16) & 0xff ); 124 dst[i][BCOMP] = UBYTE_TO_FLOAT( (s[i] ) & 0xff ); 137 dst[i][BCOMP] = UBYTE_TO_FLOAT( (s[i] >> 24) ); 150 dst[i][BCOMP] = UBYTE_TO_FLOAT( (s[i] >> 8) & 0xff ); 163 dst[i][BCOMP] = UBYTE_TO_FLOAT( (s[i] >> 16) & 0xff ); 176 dst[i][BCOMP] = UBYTE_TO_FLOAT( (s[i] ) & 0xff ); 189 dst[i][BCOMP] = UBYTE_TO_FLOAT( (s[i] >> 24) ); 202 dst[i][BCOMP] = UBYTE_TO_FLOAT( s[i*3+0] ); 215 dst[i][BCOMP] = UBYTE_TO_FLOAT( s[i*3+2] ) [all...] |
format_pack.c | 101 *d = PACK_COLOR_8888(src[RCOMP], src[GCOMP], src[BCOMP], src[ACOMP]); 119 src[i][BCOMP], src[i][ACOMP]); 145 *d = PACK_COLOR_8888(src[ACOMP], src[BCOMP], src[GCOMP], src[RCOMP]); 162 d[i] = PACK_COLOR_8888(src[i][ACOMP], src[i][BCOMP], 188 *d = PACK_COLOR_8888(src[ACOMP], src[RCOMP], src[GCOMP], src[BCOMP]); 206 src[i][GCOMP], src[i][BCOMP]); 231 *d = PACK_COLOR_8888(src[BCOMP], src[GCOMP], src[RCOMP], src[ACOMP]); 248 d[i] = PACK_COLOR_8888(src[i][BCOMP], src[i][GCOMP], 274 *d = PACK_COLOR_8888(0x0, src[RCOMP], src[GCOMP], src[BCOMP]); 291 d[i] = PACK_COLOR_8888(0, src[i][RCOMP], src[i][GCOMP], src[i][BCOMP]); [all...] |
texcompress_rgtc.c | 305 texel[BCOMP] = 0.0; 320 texel[BCOMP] = 0.0; 338 texel[BCOMP] = 0.0; 356 texel[BCOMP] = 0.0; 371 texel[BCOMP] = UBYTE_TO_FLOAT(red); 386 texel[BCOMP] = BYTE_TO_FLOAT_TEX(red); 404 texel[BCOMP] = UBYTE_TO_FLOAT(red); 422 texel[BCOMP] = BYTE_TO_FLOAT_TEX(red);
|
pixeltransfer.c | 64 rgba[i][BCOMP] = rgba[i][BCOMP] * bScale + bBias; 94 GLfloat b = CLAMP(rgba[i][BCOMP], 0.0F, 1.0F); 98 rgba[i][BCOMP] = bMap[F_TO_I(b * bscale)]; 122 rgba[i][BCOMP] = bMap[index[i] & bmask]; 184 rgba[i][BCOMP] = CLAMP(rgba[i][BCOMP], 0.0F, 1.0F);
|
texcompress_fxt1.c | 169 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]); 184 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]); [all...] |
image.c | 483 dst2[i][BCOMP] = UBYTE_TO_USHORT(src1[i][BCOMP]); 499 dst4[i][BCOMP] = UBYTE_TO_FLOAT(src1[i][BCOMP]); 516 dst1[i][BCOMP] = USHORT_TO_UBYTE(src2[i][BCOMP]); 532 dst4[i][BCOMP] = USHORT_TO_FLOAT(src2[i][BCOMP]); 561 UNCLAMPED_FLOAT_TO_USHORT(dst2[i][BCOMP], src4[i][BCOMP]); [all...] |
accum.c | 304 acc[i * 4 + 2] = (GLshort) (rgba[i][BCOMP] * scale); 313 acc[i * 4 + 2] += (GLshort) (rgba[i][BCOMP] * scale); 364 !ctx->Color.ColorMask[buffer][BCOMP] || 412 if (ctx->Color.ColorMask[buffer][BCOMP] == 0) { 414 rgba[i][BCOMP] = dest[i][BCOMP];
|
texcompress_etc.c | 69 texel[BCOMP] = UBYTE_TO_FLOAT(dst[2]);
|
/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]); 77 FLOAT_TO_UBYTE(c[BCOMP]),
|
nv04_context.c | 62 ctx->Color.ColorMask[0][BCOMP] &&
|
/external/mesa3d/src/mesa/drivers/windows/gdi/ |
wmesa.c | 460 RGB(rgba[i][RCOMP], rgba[i][GCOMP], rgba[i][BCOMP])); 465 RGB(rgba[i][RCOMP], rgba[i][GCOMP], rgba[i][BCOMP])); 484 c.b=rgba[i][BCOMP]; 496 c.b=rgba[i][BCOMP]; 530 rgba[i][BCOMP])); 550 rgba[i][BCOMP] = GetBValue(Color); 571 rgba[i][BCOMP] = GetBValue(Color); 606 rgba[i][BCOMP]); 611 rgba[i][BCOMP]); 629 rgba[i][RCOMP], rgba[i][GCOMP], rgba[i][BCOMP]); [all...] |
/external/mesa3d/src/mesa/drivers/common/ |
driverfuncs.c | 243 ctx->Color.ColorMask[i][BCOMP], 251 ctx->Color.ColorMask[0][BCOMP],
|