Lines Matching refs:RCOMP
147 const GLint r = DIV255((rgba[i][RCOMP] - dest[i][RCOMP]) * t) + dest[i][RCOMP]; in blend_transparency_ubyte()
155 rgba[i][RCOMP] = (GLubyte) r; in blend_transparency_ubyte()
192 GLushort r = (GLushort) ((rgba[i][RCOMP] - dest[i][RCOMP]) * tt + dest[i][RCOMP]); in blend_transparency_ushort()
229 GLfloat r = (rgba[i][RCOMP] - dest[i][RCOMP]) * t + dest[i][RCOMP]; in blend_transparency_float()
262 GLint r = rgba[i][RCOMP] + dest[i][RCOMP]; in blend_add()
266 rgba[i][RCOMP] = (GLubyte) MIN2( r, 255 ); in blend_add()
278 GLint r = rgba[i][RCOMP] + dest[i][RCOMP]; in blend_add()
282 rgba[i][RCOMP] = (GLshort) MIN2( r, 255 ); in blend_add()
296 rgba[i][RCOMP] += dest[i][RCOMP]; in blend_add()
325 rgba[i][RCOMP] = MIN2( rgba[i][RCOMP], dest[i][RCOMP] ); in blend_min()
337 rgba[i][RCOMP] = MIN2( rgba[i][RCOMP], dest[i][RCOMP] ); in blend_min()
350 rgba[i][RCOMP] = MIN2( rgba[i][RCOMP], dest[i][RCOMP] ); in blend_min()
378 rgba[i][RCOMP] = MAX2( rgba[i][RCOMP], dest[i][RCOMP] ); in blend_max()
390 rgba[i][RCOMP] = MAX2( rgba[i][RCOMP], dest[i][RCOMP] ); in blend_max()
403 rgba[i][RCOMP] = MAX2( rgba[i][RCOMP], dest[i][RCOMP] ); in blend_max()
431 rgba[i][RCOMP] = DIV255(rgba[i][RCOMP] * dest[i][RCOMP]); in blend_modulate()
443 rgba[i][RCOMP] = (rgba[i][RCOMP] * dest[i][RCOMP] + 65535) >> 16; in blend_modulate()
456 rgba[i][RCOMP] = rgba[i][RCOMP] * dest[i][RCOMP]; in blend_modulate()
483 const GLfloat Rs = rgba[i][RCOMP]; in blend_general_float()
489 const GLfloat Rd = dest[i][RCOMP]; in blend_general_float()
803 rgba[i][RCOMP] = MAX2( r, 0.0F ); in blend_general_float()
840 rgbaF[i][RCOMP] = UBYTE_TO_FLOAT(rgba[i][RCOMP]); in blend_general()
844 destF[i][RCOMP] = UBYTE_TO_FLOAT(dest[i][RCOMP]); in blend_general()
865 rgbaF[i][RCOMP] = USHORT_TO_FLOAT(rgba[i][RCOMP]); in blend_general()
869 destF[i][RCOMP] = USHORT_TO_FLOAT(dest[i][RCOMP]); in blend_general()
880 UNCLAMPED_FLOAT_TO_USHORT(rgba[i][RCOMP], rgbaF[i][RCOMP]); in blend_general()