HomeSort by relevance Sort by last modified time
    Searched refs:GCOMP (Results 1 - 25 of 44) sorted by null

1 2

  /external/mesa3d/src/mesa/main/
pack_tmp.h 42 dst[i] = SRC_CONVERT(rgba[i][GCOMP]);
61 dst[i*2+1] = SRC_CONVERT(rgba[i][GCOMP]);
68 dst[i*3+1] = SRC_CONVERT(rgba[i][GCOMP]);
76 dst[i*4+1] = SRC_CONVERT(rgba[i][GCOMP]);
85 dst[i*3+1] = SRC_CONVERT(rgba[i][GCOMP]);
93 dst[i*4+1] = SRC_CONVERT(rgba[i][GCOMP]);
102 rgba[i][GCOMP] +
110 rgba[i][GCOMP] +
texcompress_s3tc.c 393 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]);
422 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]);
451 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]);
480 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]);
494 texel[GCOMP] = nonlinear_to_linear(rgba[GCOMP]);
    [all...]
pack.c 561 | (CLAMP(rgba[i][GCOMP], 0, 7) << 2)
573 | (CLAMP(rgba[i][GCOMP], 0, 7) << 3)
585 | (CLAMP(rgba[i][GCOMP], 0, 63) << 5)
597 | (CLAMP(rgba[i][GCOMP], 0, 63) << 5)
609 | (CLAMP(rgba[i][GCOMP], 0, 15) << 8)
618 | (CLAMP(rgba[i][GCOMP], 0, 15) << 8)
628 | (CLAMP(rgba[i][GCOMP], 0, 15) << 4)
640 | (CLAMP(rgba[i][GCOMP], 0, 15) << 4)
649 | (CLAMP(rgba[i][GCOMP], 0, 15) << 4)
659 | (CLAMP(rgba[i][GCOMP], 0, 15) << 8
    [all...]
format_unpack.c 97 dst[i][GCOMP] = UBYTE_TO_FLOAT( (s[i] >> 16) & 0xff );
110 dst[i][GCOMP] = UBYTE_TO_FLOAT( (s[i] >> 8) & 0xff );
123 dst[i][GCOMP] = UBYTE_TO_FLOAT( (s[i] >> 8) & 0xff );
136 dst[i][GCOMP] = UBYTE_TO_FLOAT( (s[i] >> 16) & 0xff );
149 dst[i][GCOMP] = UBYTE_TO_FLOAT( (s[i] >> 16) & 0xff );
162 dst[i][GCOMP] = UBYTE_TO_FLOAT( (s[i] >> 8) & 0xff );
175 dst[i][GCOMP] = UBYTE_TO_FLOAT( (s[i] >> 8) & 0xff );
188 dst[i][GCOMP] = UBYTE_TO_FLOAT( (s[i] >> 16) & 0xff );
201 dst[i][GCOMP] = UBYTE_TO_FLOAT( s[i*3+1] );
214 dst[i][GCOMP] = UBYTE_TO_FLOAT( s[i*3+1] )
    [all...]
texcompress_etc.c 68 texel[GCOMP] = UBYTE_TO_FLOAT(dst[1]);
format_pack.c 101 *d = PACK_COLOR_8888(src[RCOMP], src[GCOMP], src[BCOMP], src[ACOMP]);
118 d[i] = PACK_COLOR_8888(src[i][RCOMP], src[i][GCOMP],
145 *d = PACK_COLOR_8888(src[ACOMP], src[BCOMP], src[GCOMP], src[RCOMP]);
163 src[i][GCOMP], src[i][RCOMP]);
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...]
pixeltransfer.c 58 rgba[i][GCOMP] = rgba[i][GCOMP] * gScale + gBias;
93 GLfloat g = CLAMP(rgba[i][GCOMP], 0.0F, 1.0F);
97 rgba[i][GCOMP] = gMap[F_TO_I(g * gscale)];
121 rgba[i][GCOMP] = gMap[index[i] & gmask];
183 rgba[i][GCOMP] = CLAMP(rgba[i][GCOMP], 0.0F, 1.0F);
texcompress_fxt1.c 168 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]);
183 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]);
1011 FX64_MOV32(hi, 9 | (vec[3][GCOMP] & 4) | ((vec[1][GCOMP] >> 1) & 2)); /* chroma = "1" */
1136 if ((GLint)((lolo >> 1) & 1) != (((vec[1][GCOMP] ^ vec[0][GCOMP]) >> 2) & 1)) {
    [all...]
texcompress_rgtc.c 304 texel[GCOMP] = 0.0;
319 texel[GCOMP] = 0.0;
337 texel[GCOMP] = UBYTE_TO_FLOAT(green);
355 texel[GCOMP] = BYTE_TO_FLOAT_TEX(green);
370 texel[GCOMP] =
385 texel[GCOMP] =
403 texel[GCOMP] =
421 texel[GCOMP] =
config.h 278 #define GCOMP 1
accum.c 303 acc[i * 4 + 1] = (GLshort) (rgba[i][GCOMP] * scale);
312 acc[i * 4 + 1] += (GLshort) (rgba[i][GCOMP] * scale);
363 !ctx->Color.ColorMask[buffer][GCOMP] ||
408 if (ctx->Color.ColorMask[buffer][GCOMP] == 0) {
410 rgba[i][GCOMP] = dest[i][GCOMP];
image.c 482 dst2[i][GCOMP] = UBYTE_TO_USHORT(src1[i][GCOMP]);
498 dst4[i][GCOMP] = UBYTE_TO_FLOAT(src1[i][GCOMP]);
515 dst1[i][GCOMP] = USHORT_TO_UBYTE(src2[i][GCOMP]);
531 dst4[i][GCOMP] = USHORT_TO_FLOAT(src2[i][GCOMP]);
560 UNCLAMPED_FLOAT_TO_USHORT(dst2[i][GCOMP], src4[i][GCOMP]);
    [all...]
  /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_texfetch_tmp.h 109 texel[GCOMP] = src[1];
127 texel[GCOMP] = _mesa_half_to_float(src[1]);
144 texel[GCOMP] = src[1];
162 texel[GCOMP] = _mesa_half_to_float(src[1]);
180 texel[GCOMP] =
198 texel[GCOMP] =
216 texel[GCOMP] =
234 texel[GCOMP] =
252 texel[GCOMP] =
270 texel[GCOMP]
    [all...]
s_blend.c 148 const GLint g = DIV255((rgba[i][GCOMP] - dest[i][GCOMP]) * t) + dest[i][GCOMP];
156 rgba[i][GCOMP] = (GLubyte) g;
193 GLushort g = (GLushort) ((rgba[i][GCOMP] - dest[i][GCOMP]) * tt + dest[i][GCOMP]);
230 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 409 srcColor0[srcCol0][GCOMP], srcColor0[srcCol1][GCOMP],
410 srcColor1[srcCol0][GCOMP], srcColor1[srcCol1][GCOMP]);
419 dstColor[dstCol][GCOMP] = IFLOOR(green);
466 srcColor0[srcCol0][GCOMP], srcColor0[srcCol1][GCOMP],
467 srcColor1[srcCol0][GCOMP], srcColor1[srcCol1][GCOMP]);
476 dstColor[dstCol][GCOMP] = green
    [all...]
s_tritemp.h 359 GLfloat eMaj_dg = (GLfloat) (vMax->color[GCOMP] - vMin->color[GCOMP]);
360 GLfloat eBot_dg = (GLfloat) (vMid->color[GCOMP] - vMin->color[GCOMP]);
644 gLeft = (GLint)(ChanToFixed(vLower->color[GCOMP])
667 gLeft = ChanToFixed(v2->color[GCOMP]);
    [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 165 if (ctx->Color.ColorMask[0][GCOMP])
  /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]));
483 c.g=rgba[i][GCOMP];
495 c.g=rgba[i][GCOMP];
529 RGB(rgba[i][RCOMP], rgba[i][GCOMP],
549 rgba[i][GCOMP] = GetGValue(Color);
570 rgba[i][GCOMP] = GetGValue(Color);
605 lpdw[i] = BGR32(rgba[i][RCOMP], rgba[i][GCOMP],
610 *lpdw++ = BGR32(rgba[i][RCOMP], rgba[i][GCOMP],
629 rgba[i][RCOMP], rgba[i][GCOMP], rgba[i][BCOMP])
    [all...]

Completed in 789 milliseconds

1 2