Lines Matching refs:BCOMP
146 const GLint b = DIV255((rgba[i][BCOMP] - dest[i][BCOMP]) * t) + dest[i][BCOMP]; in blend_transparency_ubyte()
154 rgba[i][BCOMP] = (GLubyte) b; in blend_transparency_ubyte()
191 GLushort b = (GLushort) ((rgba[i][BCOMP] - dest[i][BCOMP]) * tt + dest[i][BCOMP]); in blend_transparency_ushort()
228 GLfloat b = (rgba[i][BCOMP] - dest[i][BCOMP]) * t + dest[i][BCOMP]; in blend_transparency_float()
261 GLint b = rgba[i][BCOMP] + dest[i][BCOMP]; in blend_add()
265 rgba[i][BCOMP] = (GLubyte) MIN2( b, 255 ); in blend_add()
277 GLint b = rgba[i][BCOMP] + dest[i][BCOMP]; in blend_add()
281 rgba[i][BCOMP] = (GLshort) MIN2( b, 255 ); in blend_add()
295 rgba[i][BCOMP] += dest[i][BCOMP]; in blend_add()
324 rgba[i][BCOMP] = MIN2( rgba[i][BCOMP], dest[i][BCOMP] ); in blend_min()
336 rgba[i][BCOMP] = MIN2( rgba[i][BCOMP], dest[i][BCOMP] ); in blend_min()
349 rgba[i][BCOMP] = MIN2( rgba[i][BCOMP], dest[i][BCOMP] ); in blend_min()
377 rgba[i][BCOMP] = MAX2( rgba[i][BCOMP], dest[i][BCOMP] ); in blend_max()
389 rgba[i][BCOMP] = MAX2( rgba[i][BCOMP], dest[i][BCOMP] ); in blend_max()
402 rgba[i][BCOMP] = MAX2( rgba[i][BCOMP], dest[i][BCOMP] ); in blend_max()
430 rgba[i][BCOMP] = DIV255(rgba[i][BCOMP] * dest[i][BCOMP]); in blend_modulate()
442 rgba[i][BCOMP] = (rgba[i][BCOMP] * dest[i][BCOMP] + 65535) >> 16; in blend_modulate()
455 rgba[i][BCOMP] = rgba[i][BCOMP] * dest[i][BCOMP]; in blend_modulate()
482 const GLfloat Bs = rgba[i][BCOMP]; in blend_general_float()
488 const GLfloat Bd = dest[i][BCOMP]; in blend_general_float()
802 rgba[i][BCOMP] = MAX2( b, 0.0F ); in blend_general_float()
839 rgbaF[i][BCOMP] = UBYTE_TO_FLOAT(rgba[i][BCOMP]); in blend_general()
843 destF[i][BCOMP] = UBYTE_TO_FLOAT(dest[i][BCOMP]); in blend_general()
864 rgbaF[i][BCOMP] = USHORT_TO_FLOAT(rgba[i][BCOMP]); in blend_general()
868 destF[i][BCOMP] = USHORT_TO_FLOAT(dest[i][BCOMP]); in blend_general()
879 UNCLAMPED_FLOAT_TO_USHORT(rgba[i][BCOMP], rgbaF[i][BCOMP]); in blend_general()