Lines Matching refs:tempImage
328 GLfloat *tempImage;
357 tempImage = (GLfloat *) malloc(srcWidth * srcHeight * srcDepth
359 if (!tempImage)
362 dst = tempImage;
398 free(tempImage);
414 newImage[i * texComponents + k] = tempImage[i * logComponents + j];
418 free(tempImage);
419 tempImage = newImage;
422 return tempImage;
439 GLuint *tempImage;
466 tempImage = (GLuint *) malloc(srcWidth * srcHeight * srcDepth
468 if (!tempImage)
471 dst = tempImage;
507 free(tempImage);
523 newImage[i * texComponents + k] = tempImage[i * logComponents + j];
527 free(tempImage);
528 tempImage = newImage;
531 return tempImage;
571 GLubyte *tempImage, *dst;
594 tempImage = (GLubyte *) malloc(srcWidth * srcHeight * srcDepth
596 if (!tempImage) {
600 dst = tempImage;
638 free(tempImage);
654 newImage[i * texComponents + k] = tempImage[i * logComponents + j];
658 free(tempImage);
659 tempImage = newImage;
662 return tempImage;
980 GLubyte *tempImage, *src;
983 tempImage = _mesa_make_temp_ubyte_image(ctx, dims,
989 if (!tempImage)
992 src = tempImage;
999 free(tempImage);
1709 const GLfloat *tempImage = _mesa_make_temp_float_image(ctx, dims,
1716 const GLfloat *src = tempImage;
1718 if (!tempImage)
1755 free((void *) tempImage);
1774 const GLubyte *tempImage = _mesa_make_temp_ubyte_image(ctx, dims,
1780 const GLubyte *src = tempImage;
1782 if (!tempImage)
1797 free((void *) tempImage);
1879 const GLubyte *tempImage = _mesa_make_temp_ubyte_image(ctx, dims,
1885 const GLubyte *src = tempImage;
1887 if (!tempImage)
1913 free((void *) tempImage);
1952 const GLfloat *tempImage = _mesa_make_temp_float_image(ctx, dims,
1959 const GLfloat *src = tempImage;
1961 if (!tempImage)
1991 free((void *) tempImage);
2024 const GLfloat *tempImage = _mesa_make_temp_float_image(ctx, dims,
2031 const GLfloat *src = tempImage;
2033 if (!tempImage)
2049 free((void *) tempImage);
2077 const GLfloat *tempImage = _mesa_make_temp_float_image(ctx, dims,
2084 const GLfloat *src = tempImage;
2086 if (!tempImage)
2108 free((void *) tempImage);
2137 const GLfloat *tempImage = _mesa_make_temp_float_image(ctx, dims,
2144 const GLfloat *src = tempImage;
2148 if (!tempImage)
2151 /* Note: tempImage is always float[4] / RGBA. We convert to 1, 2,
2183 free((void *) tempImage);
2270 const GLubyte *tempImage = _mesa_make_temp_ubyte_image(ctx, dims,
2276 const GLubyte *src = tempImage;
2278 if (!tempImage)
2290 free((void *) tempImage);
2393 GLbyte *tempImage, *dst, *src;
2396 tempImage = (GLbyte *) malloc(srcWidth * srcHeight * srcDepth
2398 if (!tempImage)
2406 dst = tempImage;
2415 src = tempImage;
2422 free((void *) tempImage);
2455 const GLfloat *tempImage = _mesa_make_temp_float_image(ctx, dims,
2462 const GLfloat *src = tempImage;
2464 if (!tempImage)
2476 free((void *) tempImage);
2509 const GLfloat *tempImage = _mesa_make_temp_float_image(ctx, dims,
2516 const GLfloat *src = tempImage;
2518 if (!tempImage)
2533 free((void *) tempImage);
2565 const GLfloat *tempImage = _mesa_make_temp_float_image(ctx, dims,
2572 const GLfloat *src = tempImage;
2574 if (!tempImage)
2590 free((void *) tempImage);
2622 const GLfloat *tempImage = _mesa_make_temp_float_image(ctx, dims,
2629 const GLfloat *src = tempImage;
2631 if (!tempImage)
2650 free((void *) tempImage);
2668 const GLfloat *tempImage = _mesa_make_temp_float_image(ctx, dims,
2675 const GLfloat *srcRow = tempImage;
2677 if (!tempImage)
2694 free((void *) tempImage);
2727 const GLfloat *tempImage = _mesa_make_temp_float_image(ctx, dims,
2734 const GLfloat *srcRow = tempImage;
2736 if (!tempImage)
2765 free((void *) tempImage);
3054 const GLfloat *tempImage = _mesa_make_temp_float_image(ctx, dims,
3061 const GLfloat *srcRow = tempImage;
3064 if (!tempImage)
3076 free((void *) tempImage);
3124 const GLfloat *tempImage = _mesa_make_temp_float_image(ctx, dims,
3131 const GLfloat *src = tempImage;
3133 if (!tempImage)
3148 free((void *) tempImage);
3194 const GLuint *tempImage = make_temp_uint_image(ctx, dims,
3201 const GLuint *src = tempImage;
3204 if (!tempImage)
3225 free((void *) tempImage);
3271 const GLuint *tempImage = make_temp_uint_image(ctx, dims,
3278 const GLuint *src = tempImage;
3281 if (!tempImage)
3302 free((void *) tempImage);
3348 const GLuint *tempImage = make_temp_uint_image(ctx, dims,
3355 const GLuint *src = tempImage;
3358 if (!tempImage)
3379 free((void *) tempImage);
3425 const GLuint *tempImage =
3429 const GLuint *src = tempImage;
3432 if (!tempImage)
3453 free((void *) tempImage);
3499 const GLuint *tempImage =
3503 const GLuint *src = tempImage;
3506 if (!tempImage)
3527 free((void *) tempImage);
3573 const GLuint *tempImage =
3577 const GLuint *src = tempImage;
3580 if (!tempImage)
3601 free((void *) tempImage);
3744 const GLfloat *tempImage = _mesa_make_temp_float_image(ctx, dims,
3751 const GLfloat *srcRow = tempImage;
3753 if (!tempImage)
3767 free((void *) tempImage);
3792 const GLfloat *tempImage = _mesa_make_temp_float_image(ctx, dims,
3799 const GLfloat *srcRow = tempImage;
3801 if (!tempImage)
3815 free((void *) tempImage);
3903 const GLuint *tempImage = make_temp_uint_image(ctx, dims,
3910 const GLuint *src = tempImage;
3913 if (!tempImage)
3944 free((void *) tempImage);
3969 const GLuint *tempImage = make_temp_uint_image(ctx, dims,
3976 const GLuint *src = tempImage;
3979 if (!tempImage)
4010 free((void *) tempImage);