Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/main/
Dtexcompress_s3tc.c53 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()
[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.c674 void *tempImage = NULL; in texstore_rgba() local
698 tempImage = in texstore_rgba()
704 if (!tempImage) in texstore_rgba()
715 srcAddr = tempImage; in texstore_rgba()
732 tempImage = malloc(bufferSize); in texstore_rgba()
733 if (!tempImage) in texstore_rgba()
736 dst = tempImage; in texstore_rgba()
745 srcAddr = tempImage; in texstore_rgba()
767 free(tempImage); in texstore_rgba()
818 free(tempImage); in texstore_rgba()
Dtexgetimage.c325 GLfloat *tempImage, *tempSlice; in get_tex_rgba_compressed() local
333 tempImage = malloc(width * height * depth * 4 * sizeof(GLfloat)); in get_tex_rgba_compressed()
334 if (!tempImage) { in get_tex_rgba_compressed()
344 tempSlice = tempImage + slice * 4 * width * height; in get_tex_rgba_compressed()
358 free(tempImage); in get_tex_rgba_compressed()
369 tempSlice = tempImage; in get_tex_rgba_compressed()
388 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/mesa3d/src/mesa/swrast/
Ds_drawpix.c462 void *tempImage = NULL; in draw_rgba_pixels() local
471 tempImage = in draw_rgba_pixels()
477 if (!tempImage) { in draw_rgba_pixels()
483 pixels = tempImage; in draw_rgba_pixels()
494 tempImage = malloc(imageStride); in draw_rgba_pixels()
495 if (!tempImage) { in draw_rgba_pixels()
501 width, height, tempImage, pixels); in draw_rgba_pixels()
503 pixels = tempImage; in draw_rgba_pixels()
553 free(tempImage); in draw_rgba_pixels()
/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.h341 XImage *tempImage; member