Lines Matching refs:rgb
127 * Helper function called from _swrast_write_zoomed_rgba/rgb/
244 const GLubyte (*rgb)[3] = (const GLubyte (*)[3]) src;
250 zoomed.array->rgba8[i][0] = rgb[j][0];
251 zoomed.array->rgba8[i][1] = rgb[j][1];
252 zoomed.array->rgba8[i][2] = rgb[j][2];
257 const GLushort (*rgb)[3] = (const GLushort (*)[3]) src;
263 zoomed.array->rgba16[i][0] = rgb[j][0];
264 zoomed.array->rgba16[i][1] = rgb[j][1];
265 zoomed.array->rgba16[i][2] = rgb[j][2];
270 const GLfloat (*rgb)[3] = (const GLfloat (*)[3]) src;
276 zoomed.array->attribs[FRAG_ATTRIB_COL0][i][0] = rgb[j][0];
277 zoomed.array->attribs[FRAG_ATTRIB_COL0][i][1] = rgb[j][1];
278 zoomed.array->attribs[FRAG_ATTRIB_COL0][i][2] = rgb[j][2];
341 const SWspan *span, const GLvoid *rgb)
343 zoom_span(ctx, imgX, imgY, span, rgb, GL_RGB);