Home
last modified time | relevance | path

Searched refs:tempImage (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dtexcompress_s3tc.c53 const GLubyte *tempImage = NULL; in _mesa_texstore_rgb_dxt1() local
68 tempImage = malloc(srcWidth * srcHeight * 3 * sizeof(GLubyte)); in _mesa_texstore_rgb_dxt1()
69 if (!tempImage) in _mesa_texstore_rgb_dxt1()
71 tempImageSlices[0] = (GLubyte *) tempImage; in _mesa_texstore_rgb_dxt1()
79 pixels = tempImage; in _mesa_texstore_rgb_dxt1()
93 free((void *) tempImage); in _mesa_texstore_rgb_dxt1()
107 const GLubyte *tempImage = NULL; in _mesa_texstore_rgba_dxt1() local
121 tempImage = malloc(srcWidth * srcHeight * 4 * sizeof(GLubyte)); in _mesa_texstore_rgba_dxt1()
122 if (!tempImage) in _mesa_texstore_rgba_dxt1()
124 tempImageSlices[0] = (GLubyte *) tempImage; in _mesa_texstore_rgba_dxt1()
[all …]
Dtexcompress_rgtc.c81 const GLubyte *tempImage = NULL; in _mesa_texstore_red_rgtc1() local
93 tempImage = malloc(srcWidth * srcHeight * 1 * sizeof(GLubyte)); in _mesa_texstore_red_rgtc1()
94 if (!tempImage) in _mesa_texstore_red_rgtc1()
97 tempImageSlices[0] = (GLubyte *) tempImage; in _mesa_texstore_red_rgtc1()
113 srcaddr = tempImage + j * srcWidth; in _mesa_texstore_red_rgtc1()
125 free((void *) tempImage); in _mesa_texstore_red_rgtc1()
134 const GLfloat *tempImage = NULL; in _mesa_texstore_signed_red_rgtc1() local
147 tempImage = malloc(srcWidth * srcHeight * 1 * sizeof(GLfloat)); in _mesa_texstore_signed_red_rgtc1()
148 if (!tempImage) in _mesa_texstore_signed_red_rgtc1()
150 tempImageSlices[0] = (GLfloat *) tempImage; in _mesa_texstore_signed_red_rgtc1()
[all …]
Dtexcompress_bptc.c129 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()
[all …]
Dtexcompress_fxt1.c53 const uint8_t *tempImage = NULL; in _mesa_texstore_fxt1() local
64 tempImage = malloc(srcWidth * srcHeight * 4 * sizeof(uint8_t)); in _mesa_texstore_fxt1()
65 if (!tempImage) in _mesa_texstore_fxt1()
67 tempImageSlices[0] = (uint8_t *) tempImage; in _mesa_texstore_fxt1()
75 pixels = tempImage; in _mesa_texstore_fxt1()
94 free((void*) tempImage); in _mesa_texstore_fxt1()
Dtexstore.c677 void *tempImage = NULL; in texstore_rgba() local
701 tempImage = in texstore_rgba()
707 if (!tempImage) in texstore_rgba()
718 srcAddr = tempImage; in texstore_rgba()
735 tempImage = malloc(bufferSize); in texstore_rgba()
736 if (!tempImage) in texstore_rgba()
739 dst = tempImage; in texstore_rgba()
748 srcAddr = tempImage; in texstore_rgba()
770 free(tempImage); in texstore_rgba()
821 free(tempImage); in texstore_rgba()
Dtexgetimage.c328 GLfloat *tempImage, *tempSlice; in get_tex_rgba_compressed() local
336 tempImage = malloc(width * height * depth * 4 * sizeof(GLfloat)); in get_tex_rgba_compressed()
337 if (!tempImage) { in get_tex_rgba_compressed()
347 tempSlice = tempImage + slice * 4 * width * height; in get_tex_rgba_compressed()
361 free(tempImage); in get_tex_rgba_compressed()
372 tempSlice = tempImage; in get_tex_rgba_compressed()
391 free(tempImage); in get_tex_rgba_compressed()
/third_party/mesa3d/src/gallium/winsys/sw/xlib/
Dxlib_sw_winsys.c70 XImage *tempImage; member
162 xlib_dt->tempImage = XShmCreateImage(xlib_dt->display, in alloc_shm_ximage()
169 if (xlib_dt->tempImage == NULL) { in alloc_shm_ximage()
191 XDestroyImage(xlib_dt->tempImage); in alloc_shm_ximage()
192 xlib_dt->tempImage = NULL; in alloc_shm_ximage()
210 if (xlib_dt->tempImage) in alloc_ximage()
215 xlib_dt->tempImage = XCreateImage(xlib_dt->display, in alloc_ximage()
268 if (xlib_dt->tempImage) in xlib_displaytarget_destroy()
269 xlib_dt->tempImage->data = NULL; in xlib_displaytarget_destroy()
273 if (xlib_dt->tempImage && xlib_dt->tempImage->data == xlib_dt->data) { in xlib_displaytarget_destroy()
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_render.cpp1300 AutoPtr<dng_image> tempImage; in Render() local
1305 tempImage.Reset (fHost.Make_dng_image (dstSize, in Render()
1311 *tempImage.Get (), in Render()
1313 tempImage->Bounds (), in Render()
1316 srcImage = tempImage.Get (); in Render()
1318 srcBounds = tempImage->Bounds (); in Render()
Ddng_read_image.cpp2934 dng_row_interleaved_image tempImage (image, in Read() local
2940 tempImage, in Read()
Ddng_image_writer.cpp4586 dng_row_interleaved_image tempImage (*((dng_image *) &image), in WriteImage() local
4593 tempImage, in WriteImage()
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
Dxm_api.h342 XImage *tempImage; member