Lines Matching refs:rgba

232          GLubyte (*rgba)[4] = span->array->rgba8;  in interpolate_int_colors()  local
240 COPY_4UBV(rgba[i], color); in interpolate_int_colors()
253 rgba[i][RCOMP] = FixedToChan(r); in interpolate_int_colors()
254 rgba[i][GCOMP] = FixedToChan(g); in interpolate_int_colors()
255 rgba[i][BCOMP] = FixedToChan(b); in interpolate_int_colors()
256 rgba[i][ACOMP] = FixedToChan(a); in interpolate_int_colors()
267 GLushort (*rgba)[4] = span->array->rgba16; in interpolate_int_colors() local
275 COPY_4V(rgba[i], color); in interpolate_int_colors()
279 GLushort (*rgba)[4] = span->array->rgba16; in interpolate_int_colors() local
291 rgba[i][RCOMP] = FixedToChan(r); in interpolate_int_colors()
292 rgba[i][GCOMP] = FixedToChan(g); in interpolate_int_colors()
293 rgba[i][BCOMP] = FixedToChan(b); in interpolate_int_colors()
294 rgba[i][ACOMP] = FixedToChan(a); in interpolate_int_colors()
885 GLubyte (*rgba)[4] = span->array->rgba8; in apply_aa_coverage() local
887 const GLfloat a = rgba[i][ACOMP] * coverage[i]; in apply_aa_coverage()
888 rgba[i][ACOMP] = (GLubyte) CLAMP(a, 0.0, 255.0); in apply_aa_coverage()
894 GLushort (*rgba)[4] = span->array->rgba16; in apply_aa_coverage() local
896 const GLfloat a = rgba[i][ACOMP] * coverage[i]; in apply_aa_coverage()
897 rgba[i][ACOMP] = (GLushort) CLAMP(a, 0.0, 65535.0); in apply_aa_coverage()
901 GLfloat (*rgba)[4] = span->array->attribs[FRAG_ATTRIB_COL0]; in apply_aa_coverage() local
903 rgba[i][ACOMP] = rgba[i][ACOMP] * coverage[i]; in apply_aa_coverage()
916 GLfloat (*rgba)[4] = span->array->attribs[FRAG_ATTRIB_COL0]; in clamp_colors() local
920 rgba[i][RCOMP] = CLAMP(rgba[i][RCOMP], 0.0F, 1.0F); in clamp_colors()
921 rgba[i][GCOMP] = CLAMP(rgba[i][GCOMP], 0.0F, 1.0F); in clamp_colors()
922 rgba[i][BCOMP] = CLAMP(rgba[i][BCOMP], 0.0F, 1.0F); in clamp_colors()
923 rgba[i][ACOMP] = CLAMP(rgba[i][ACOMP], 0.0F, 1.0F); in clamp_colors()
966 span->array->rgba = dst; in convert_color_type()
984 span->array->rgba = (void *) span->array->attribs[FRAG_ATTRIB_COL0]; in shade_texture_span()
1138 void * const origRgba = span->array->rgba; in _swrast_write_rgba_span()
1338 span->array->rgba = span->array->rgba8; in _swrast_write_rgba_span()
1341 span->array->rgba = (void *) in _swrast_write_rgba_span()
1348 memcpy(rgbaSave, span->array->rgba, in _swrast_write_rgba_span()
1374 span->array->rgba, span->array->mask); in _swrast_write_rgba_span()
1381 span->array->rgba, in _swrast_write_rgba_span()
1387 memcpy(span->array->rgba, rgbaSave, in _swrast_write_rgba_span()
1401 span->array->rgba = origRgba; in _swrast_write_rgba_span()
1413 GLvoid *rgba) in _swrast_read_rgba_span() argument
1423 memset(rgba, 0, 4 * n * sizeof(GLchan)); in _swrast_read_rgba_span()
1472 (GLubyte (*)[4]) rgba + skip); in _swrast_read_rgba_span()
1476 (GLfloat (*)[4]) rgba + skip); in _swrast_read_rgba_span()