Lines Matching refs:tempImage
129 const GLubyte *tempImage = NULL; in _mesa_texstore_bptc_rgba_unorm() local
139 tempImage = malloc(srcWidth * srcHeight * 4 * sizeof(GLubyte)); in _mesa_texstore_bptc_rgba_unorm()
140 if (!tempImage) in _mesa_texstore_bptc_rgba_unorm()
142 tempImageSlices[0] = (GLubyte *) tempImage; in _mesa_texstore_bptc_rgba_unorm()
155 pixels = tempImage; in _mesa_texstore_bptc_rgba_unorm()
168 free((void *) tempImage); in _mesa_texstore_bptc_rgba_unorm()
178 const float *tempImage = NULL; in texstore_bptc_rgb_float() local
188 tempImage = malloc(srcWidth * srcHeight * 3 * sizeof(GLfloat)); in texstore_bptc_rgb_float()
189 if (!tempImage) in texstore_bptc_rgb_float()
191 tempImageSlices[0] = (GLfloat *) tempImage; in texstore_bptc_rgb_float()
200 pixels = tempImage; in texstore_bptc_rgb_float()
214 free((void *) tempImage); in texstore_bptc_rgb_float()