/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_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_blend.c | 146 const GLint b = DIV255((rgba[i][BCOMP] - dest[i][BCOMP]) * t) + dest[i][BCOMP]; 154 rgba[i][BCOMP] = (GLubyte) b; 191 GLushort b = (GLushort) ((rgba[i][BCOMP] - dest[i][BCOMP]) * tt + dest[i][BCOMP]); 228 GLfloat b = (rgba[i][BCOMP] - dest[i][BCOMP]) * t + dest[i][BCOMP]; [all...] |
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_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_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 | 436 srcColor0[srcCol0][BCOMP], srcColor0[srcCol1][BCOMP], 437 srcColor1[srcCol0][BCOMP], srcColor1[srcCol1][BCOMP]); 444 dstColor[dstCol][BCOMP] = IFLOOR(blue); 491 srcColor0[srcCol0][BCOMP], srcColor0[srcCol1][BCOMP], 492 srcColor1[srcCol0][BCOMP], srcColor1[srcCol1][BCOMP]); 499 dstColor[dstCol][BCOMP] = blue [all...] |
s_tritemp.h | 366 GLfloat eMaj_db = (GLfloat) (vMax->color[BCOMP] - vMin->color[BCOMP]); 367 GLfloat eBot_db = (GLfloat) (vMid->color[BCOMP] - vMin->color[BCOMP]); 652 bLeft = (GLint)(ChanToFixed(vLower->color[BCOMP]) 673 bLeft = ChanToFixed(v2->color[BCOMP]); [all...] |
s_span.c | 238 color[BCOMP] = FixedToInt(span->blue); 256 rgba[i][BCOMP] = FixedToChan(b); 273 color[BCOMP] = FixedToInt(span->blue); 294 rgba[i][BCOMP] = FixedToChan(b); 923 rgba[i][BCOMP] = CLAMP(rgba[i][BCOMP], 0.0F, 1.0F); [all...] |
/external/mesa3d/src/mesa/main/ |
texcompress_s3tc.c | 370 texel[BCOMP] = UBYTE_TO_FLOAT(tex[BCOMP]); 387 texel[BCOMP] = UBYTE_TO_FLOAT(tex[BCOMP]); 404 texel[BCOMP] = UBYTE_TO_FLOAT(tex[BCOMP]); 421 texel[BCOMP] = UBYTE_TO_FLOAT(tex[BCOMP]); 439 texel[BCOMP] = util_format_srgb_8unorm_to_linear_float(tex[BCOMP]); [all...] |
pixeltransfer.c | 66 rgba[i][BCOMP] = rgba[i][BCOMP] * bScale + bBias; 96 GLfloat b = CLAMP(rgba[i][BCOMP], 0.0F, 1.0F); 100 rgba[i][BCOMP] = bMap[(int)_mesa_lroundevenf(b * bscale)]; 124 rgba[i][BCOMP] = bMap[index[i] & bmask]; 186 rgba[i][BCOMP] = CLAMP(rgba[i][BCOMP], 0.0F, 1.0F);
|
texcompress_rgtc.c | 322 texel[BCOMP] = 0.0; 334 texel[BCOMP] = UBYTE_TO_FLOAT(red); 347 texel[BCOMP] = 0.0; 360 texel[BCOMP] = BYTE_TO_FLOAT(red); 377 texel[BCOMP] = 0.0; 394 texel[BCOMP] = UBYTE_TO_FLOAT(red); 412 texel[BCOMP] = 0.0; 430 texel[BCOMP] = BYTE_TO_FLOAT_TEX(red);
|
config.h | 306 #define BCOMP 2
|
texcompress_fxt1.c | [all...] |
accum.c | 291 acc[i * 4 + 2] = (GLshort) (rgba[i][BCOMP] * scale); 300 acc[i * 4 + 2] += (GLshort) (rgba[i][BCOMP] * scale); 351 !ctx->Color.ColorMask[buffer][BCOMP] || 399 if (ctx->Color.ColorMask[buffer][BCOMP] == 0) { 401 rgba[i][BCOMP] = dest[i][BCOMP];
|
image.c | 497 dst2[i][BCOMP] = UBYTE_TO_USHORT(src1[i][BCOMP]); 513 dst4[i][BCOMP] = UBYTE_TO_FLOAT(src1[i][BCOMP]); 530 dst1[i][BCOMP] = USHORT_TO_UBYTE(src2[i][BCOMP]); 546 dst4[i][BCOMP] = USHORT_TO_FLOAT(src2[i][BCOMP]); 575 UNCLAMPED_FLOAT_TO_USHORT(dst2[i][BCOMP], src4[i][BCOMP]); [all...] |
texcompress_etc.c | [all...] |
pack.c | [all...] |
samplerobj.c | 616 samp->BorderColor.f[BCOMP] = params[2]; 630 samp->BorderColor.i[BCOMP] = params[2]; 644 samp->BorderColor.ui[BCOMP] = params[2]; [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]); 77 FLOAT_TO_UBYTE(c[BCOMP]),
|
nv04_state_raster.c | 169 if (ctx->Color.ColorMask[0][BCOMP])
|
nv04_context.c | 62 ctx->Color.ColorMask[0][BCOMP] &&
|
/external/mesa3d/src/mesa/drivers/x11/ |
xm_line.c | 207 pixelPtr->b = color[BCOMP]; \ 356 pixelPtr->b = color[BCOMP]; \
|
xm_tri.c | 446 ptr->b = color[BCOMP]; \ 529 color[GCOMP], color[BCOMP]); \ 831 pixel->b = color[BCOMP]; \ 894 color[GCOMP], color[BCOMP]); \ [all...] |