Home | History | Annotate | Download | only in main

Lines Matching defs:rgba

221  * Try to do glReadPixels of RGBA data using a simple memcpy or swizzle.
328 void *rgba;
345 rgba = malloc(width * MAX_PIXEL_BYTES);
346 if (!rgba)
351 _mesa_unpack_uint_rgba_row(rbFormat, width, map, (GLuint (*)[4]) rgba);
352 _mesa_rebase_rgba_uint(width, (GLuint (*)[4]) rgba,
355 _mesa_pack_rgba_span_from_uints(ctx, width, (GLuint (*)[4]) rgba, format,
358 _mesa_pack_rgba_span_from_ints(ctx, width, (GLint (*)[4]) rgba, format,
362 _mesa_unpack_rgba_row(rbFormat, width, map, (GLfloat (*)[4]) rgba);
363 _mesa_rebase_rgba_float(width, (GLfloat (*)[4]) rgba,
365 _mesa_pack_rgba_span_float(ctx, width, (GLfloat (*)[4]) rgba, format,
372 free(rgba);