Lines Matching refs:tempBuffer
464 GLuint *tempBuffer; in _mesa_convert_colors() local
467 tempBuffer = malloc(count * MAX_PIXEL_BYTES); in _mesa_convert_colors()
468 if (!tempBuffer) in _mesa_convert_colors()
477 GLushort (*dst2)[4] = (GLushort (*)[4]) (useTemp ? tempBuffer : dst); in _mesa_convert_colors()
488 memcpy(dst, tempBuffer, count * 4 * sizeof(GLushort)); in _mesa_convert_colors()
492 GLfloat (*dst4)[4] = (GLfloat (*)[4]) (useTemp ? tempBuffer : dst); in _mesa_convert_colors()
504 memcpy(dst, tempBuffer, count * 4 * sizeof(GLfloat)); in _mesa_convert_colors()
510 GLubyte (*dst1)[4] = (GLubyte (*)[4]) (useTemp ? tempBuffer : dst); in _mesa_convert_colors()
521 memcpy(dst, tempBuffer, count * 4 * sizeof(GLubyte)); in _mesa_convert_colors()
525 GLfloat (*dst4)[4] = (GLfloat (*)[4]) (useTemp ? tempBuffer : dst); in _mesa_convert_colors()
537 memcpy(dst, tempBuffer, count * 4 * sizeof(GLfloat)); in _mesa_convert_colors()
543 GLubyte (*dst1)[4] = (GLubyte (*)[4]) (useTemp ? tempBuffer : dst); in _mesa_convert_colors()
550 memcpy(dst, tempBuffer, count * 4 * sizeof(GLubyte)); in _mesa_convert_colors()
554 GLushort (*dst2)[4] = (GLushort (*)[4]) (useTemp ? tempBuffer : dst); in _mesa_convert_colors()
566 memcpy(dst, tempBuffer, count * 4 * sizeof(GLushort)); in _mesa_convert_colors()
573 free(tempBuffer); in _mesa_convert_colors()