Lines Matching refs:ACOMP

137          const GLint t = rgba[i][ACOMP];  /* t is in [0, 255] */  in blend_transparency_ubyte()
147 const GLint a = DIV255((rgba[i][ACOMP] - dest[i][ACOMP]) * t) + dest[i][ACOMP]; in blend_transparency_ubyte()
155 rgba[i][ACOMP] = (GLubyte) a; in blend_transparency_ubyte()
182 const GLint t = rgba[i][ACOMP]; in blend_transparency_ushort()
192 GLushort a = (GLushort) ((rgba[i][ACOMP] - dest[i][ACOMP]) * tt + dest[i][ACOMP]); in blend_transparency_ushort()
220 const GLfloat t = rgba[i][ACOMP]; /* t in [0, 1] */ in blend_transparency_float()
229 GLfloat a = (rgba[i][ACOMP] - dest[i][ACOMP]) * t + dest[i][ACOMP]; in blend_transparency_float()
262 GLint a = rgba[i][ACOMP] + dest[i][ACOMP]; in blend_add()
266 rgba[i][ACOMP] = (GLubyte) MIN2( a, 255 ); in blend_add()
278 GLint a = rgba[i][ACOMP] + dest[i][ACOMP]; in blend_add()
282 rgba[i][ACOMP] = (GLshort) MIN2( a, 255 ); in blend_add()
296 rgba[i][ACOMP] += dest[i][ACOMP]; in blend_add()
325 rgba[i][ACOMP] = MIN2( rgba[i][ACOMP], dest[i][ACOMP] ); in blend_min()
337 rgba[i][ACOMP] = MIN2( rgba[i][ACOMP], dest[i][ACOMP] ); in blend_min()
350 rgba[i][ACOMP] = MIN2( rgba[i][ACOMP], dest[i][ACOMP] ); in blend_min()
378 rgba[i][ACOMP] = MAX2( rgba[i][ACOMP], dest[i][ACOMP] ); in blend_max()
390 rgba[i][ACOMP] = MAX2( rgba[i][ACOMP], dest[i][ACOMP] ); in blend_max()
403 rgba[i][ACOMP] = MAX2( rgba[i][ACOMP], dest[i][ACOMP] ); in blend_max()
431 rgba[i][ACOMP] = DIV255(rgba[i][ACOMP] * dest[i][ACOMP]); in blend_modulate()
443 rgba[i][ACOMP] = (rgba[i][ACOMP] * dest[i][ACOMP] + 65535) >> 16; in blend_modulate()
456 rgba[i][ACOMP] = rgba[i][ACOMP] * dest[i][ACOMP]; in blend_modulate()
483 const GLfloat As = rgba[i][ACOMP]; in blend_general_float()
489 const GLfloat Ad = dest[i][ACOMP]; in blend_general_float()
803 rgba[i][ACOMP] = CLAMP( a, 0.0F, 1.0F ); in blend_general_float()
840 rgbaF[i][ACOMP] = UBYTE_TO_FLOAT(rgba[i][ACOMP]); in blend_general()
844 destF[i][ACOMP] = UBYTE_TO_FLOAT(dest[i][ACOMP]); in blend_general()
865 rgbaF[i][ACOMP] = USHORT_TO_FLOAT(rgba[i][ACOMP]); in blend_general()
869 destF[i][ACOMP] = USHORT_TO_FLOAT(dest[i][ACOMP]); in blend_general()
880 UNCLAMPED_FLOAT_TO_USHORT(rgba[i][ACOMP], rgbaF[i][ACOMP]); in blend_general()