Lines Matching refs:tempImage

53    const GLubyte *tempImage = NULL;  in _mesa_texstore_rgb_dxt1()  local
66 tempImage = malloc(srcWidth * srcHeight * 3 * sizeof(GLubyte)); in _mesa_texstore_rgb_dxt1()
67 if (!tempImage) in _mesa_texstore_rgb_dxt1()
69 tempImageSlices[0] = (GLubyte *) tempImage; in _mesa_texstore_rgb_dxt1()
77 pixels = tempImage; in _mesa_texstore_rgb_dxt1()
91 free((void *) tempImage); in _mesa_texstore_rgb_dxt1()
105 const GLubyte *tempImage = NULL; in _mesa_texstore_rgba_dxt1() local
118 tempImage = malloc(srcWidth * srcHeight * 4 * sizeof(GLubyte)); in _mesa_texstore_rgba_dxt1()
119 if (!tempImage) in _mesa_texstore_rgba_dxt1()
121 tempImageSlices[0] = (GLubyte *) tempImage; in _mesa_texstore_rgba_dxt1()
130 pixels = tempImage; in _mesa_texstore_rgba_dxt1()
144 free((void*) tempImage); in _mesa_texstore_rgba_dxt1()
158 const GLubyte *tempImage = NULL; in _mesa_texstore_rgba_dxt3() local
171 tempImage = malloc(srcWidth * srcHeight * 4 * sizeof(GLubyte)); in _mesa_texstore_rgba_dxt3()
172 if (!tempImage) in _mesa_texstore_rgba_dxt3()
174 tempImageSlices[0] = (GLubyte *) tempImage; in _mesa_texstore_rgba_dxt3()
183 pixels = tempImage; in _mesa_texstore_rgba_dxt3()
196 free((void *) tempImage); in _mesa_texstore_rgba_dxt3()
210 const GLubyte *tempImage = NULL; in _mesa_texstore_rgba_dxt5() local
223 tempImage = malloc(srcWidth * srcHeight * 4 * sizeof(GLubyte)); in _mesa_texstore_rgba_dxt5()
224 if (!tempImage) in _mesa_texstore_rgba_dxt5()
226 tempImageSlices[0] = (GLubyte *) tempImage; in _mesa_texstore_rgba_dxt5()
235 pixels = tempImage; in _mesa_texstore_rgba_dxt5()
248 free((void *) tempImage); in _mesa_texstore_rgba_dxt5()