| /xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/ |
| H A D | s_texcombine.c | 125 rgba[i][ACOMP] = CHAN_TO_FLOAT(rgbaChan[i][ACOMP]); 218 dst[i][BCOMP] = src[i][ACOMP]; 225 dst[i][BCOMP] = 1.0F - src[i][ACOMP]; 256 c[i][ACOMP] = alpha; 266 c[i][ACOMP] = 0.0F; 274 c[i][ACOMP] = 1.0F; 294 dst[i][ACOMP] = 1.0F - src[i][ACOMP]; 448 rgba[i][ACOMP] [all...] |
| H A D | 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]; /* [all...] |
| H A D | s_masking.c | 89 src[i][ACOMP] = (src[i][ACOMP] & aMask) | (dst[i][ACOMP] & ~aMask); 105 src[i][ACOMP] = (src[i][ACOMP] & aMask) | (dst[i][ACOMP] & ~aMask);
|
| H A D | s_alpha.c | 116 ALPHA_TEST(rgba[i][ACOMP], ;); 122 ALPHA_TEST(rgba[i][ACOMP], ;); 127 ALPHA_TEST(rgba[i][ACOMP], ;);
|
| H A D | s_triangle.c | 158 rgba[i][ACOMP] = 0xff; \ 219 rgba[i][ACOMP] = 0xff; \ 287 sample[ACOMP] = CHAN_MAX; 293 sample[ACOMP] = CHAN_MAX; 299 sample[ACOMP] = tex00[0]; 305 sample[ACOMP] = ilerp_2d(sf, tf, tex00[0], tex01[0], tex10[0], tex11[0]) 311 dest[ACOMP] = span->alpha * (sample[ACOMP] + 1u) >> (FIXED_SHIFT + 8) 314 dest[RCOMP] = ((CHAN_MAX - sample[ACOMP]) * span->red + \ 315 ((sample[ACOMP] [all...] |
| H A D | 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);
|
| H A D | 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);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/swrast/ |
| H A D | s_texcombine.c | 125 rgba[i][ACOMP] = CHAN_TO_FLOAT(rgbaChan[i][ACOMP]); 218 dst[i][BCOMP] = src[i][ACOMP]; 225 dst[i][BCOMP] = 1.0F - src[i][ACOMP]; 256 c[i][ACOMP] = alpha; 266 c[i][ACOMP] = 0.0F; 274 c[i][ACOMP] = 1.0F; 294 dst[i][ACOMP] = 1.0F - src[i][ACOMP]; 448 rgba[i][ACOMP] [all...] |
| H A D | 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]; /* [all...] |
| H A D | s_masking.c | 89 src[i][ACOMP] = (src[i][ACOMP] & aMask) | (dst[i][ACOMP] & ~aMask); 105 src[i][ACOMP] = (src[i][ACOMP] & aMask) | (dst[i][ACOMP] & ~aMask);
|
| H A D | s_alpha.c | 116 ALPHA_TEST(rgba[i][ACOMP], ;); 122 ALPHA_TEST(rgba[i][ACOMP], ;); 127 ALPHA_TEST(rgba[i][ACOMP], ;);
|
| H A D | s_triangle.c | 158 rgba[i][ACOMP] = 0xff; \ 219 rgba[i][ACOMP] = 0xff; \ 287 sample[ACOMP] = CHAN_MAX; 293 sample[ACOMP] = CHAN_MAX; 299 sample[ACOMP] = tex00[0]; 305 sample[ACOMP] = ilerp_2d(sf, tf, tex00[0], tex01[0], tex10[0], tex11[0]) 311 dest[ACOMP] = span->alpha * (sample[ACOMP] + 1u) >> (FIXED_SHIFT + 8) 314 dest[RCOMP] = ((CHAN_MAX - sample[ACOMP]) * span->red + \ 315 ((sample[ACOMP] [all...] |
| H A D | 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);
|
| H A D | 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);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | texcompress_s3tc.c | 263 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); 275 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); 287 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); 299 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); 312 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); [all...] |
| H A D | 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);
|
| H A D | texcompress_rgtc.c | 324 texel[ACOMP] = 1.0; 336 texel[ACOMP] = 1.0; 349 texel[ACOMP] = 1.0; 362 texel[ACOMP] = 1.0; 379 texel[ACOMP] = 1.0; 396 texel[ACOMP] = UBYTE_TO_FLOAT(green); 414 texel[ACOMP] = 1.0; 432 texel[ACOMP] = BYTE_TO_FLOAT_TEX(green);
|
| H A D | config.h | 307 #define ACOMP 3 macro
|
| H A D | 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...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | texcompress_s3tc.c | 272 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); 284 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); 296 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); 308 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); 321 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); [all...] |
| H A D | 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);
|
| H A D | 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);
|
| H A D | config.h | 288 #define ACOMP 3 macro
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/ |
| H A D | 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]) });
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/ |
| H A D | 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]) });
|