Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/winsys/sw/xlib/
Dxlib_sw_winsys.c69 XImage *tempImage; member
160 xlib_dt->tempImage = XShmCreateImage(xlib_dt->display, in alloc_shm_ximage()
167 if (xlib_dt->tempImage == NULL) { in alloc_shm_ximage()
183 XDestroyImage(xlib_dt->tempImage); in alloc_shm_ximage()
184 xlib_dt->tempImage = NULL; in alloc_shm_ximage()
202 if (xlib_dt->tempImage) in alloc_ximage()
207 xlib_dt->tempImage = XCreateImage(xlib_dt->display, in alloc_ximage()
260 if (xlib_dt->tempImage) in xlib_displaytarget_destroy()
261 xlib_dt->tempImage->data = NULL; in xlib_displaytarget_destroy()
265 if (xlib_dt->tempImage && xlib_dt->tempImage->data == xlib_dt->data) { in xlib_displaytarget_destroy()
[all …]
/external/mesa3d/src/mesa/main/
Dtexcompress_rgtc.c95 const GLubyte *tempImage = NULL; in _mesa_texstore_red_rgtc1() local
105 tempImage = _mesa_make_temp_ubyte_image(ctx, dims, in _mesa_texstore_red_rgtc1()
111 if (!tempImage) in _mesa_texstore_red_rgtc1()
121 srcaddr = tempImage + j * srcWidth; in _mesa_texstore_red_rgtc1()
132 if (tempImage) in _mesa_texstore_red_rgtc1()
133 free((void *) tempImage); in _mesa_texstore_red_rgtc1()
142 const GLfloat *tempImage = NULL; in _mesa_texstore_signed_red_rgtc1() local
152 tempImage = _mesa_make_temp_float_image(ctx, dims, in _mesa_texstore_signed_red_rgtc1()
158 if (!tempImage) in _mesa_texstore_signed_red_rgtc1()
168 srcaddr = tempImage + j * srcWidth; in _mesa_texstore_signed_red_rgtc1()
[all …]
Dtexcompress_s3tc.c168 const GLubyte *tempImage = NULL; in _mesa_texstore_rgb_dxt1() local
179 tempImage = _mesa_make_temp_ubyte_image(ctx, dims, in _mesa_texstore_rgb_dxt1()
185 if (!tempImage) in _mesa_texstore_rgb_dxt1()
187 pixels = tempImage; in _mesa_texstore_rgb_dxt1()
206 if (tempImage) in _mesa_texstore_rgb_dxt1()
207 free((void *) tempImage); in _mesa_texstore_rgb_dxt1()
221 const GLubyte *tempImage = NULL; in _mesa_texstore_rgba_dxt1() local
232 tempImage = _mesa_make_temp_ubyte_image(ctx, dims, in _mesa_texstore_rgba_dxt1()
238 if (!tempImage) in _mesa_texstore_rgba_dxt1()
240 pixels = tempImage; in _mesa_texstore_rgba_dxt1()
[all …]
Dtexstore.c328 GLfloat *tempImage; in _mesa_make_temp_float_image() local
357 tempImage = (GLfloat *) malloc(srcWidth * srcHeight * srcDepth in _mesa_make_temp_float_image()
359 if (!tempImage) in _mesa_make_temp_float_image()
362 dst = tempImage; in _mesa_make_temp_float_image()
398 free(tempImage); in _mesa_make_temp_float_image()
414 newImage[i * texComponents + k] = tempImage[i * logComponents + j]; in _mesa_make_temp_float_image()
418 free(tempImage); in _mesa_make_temp_float_image()
419 tempImage = newImage; in _mesa_make_temp_float_image()
422 return tempImage; in _mesa_make_temp_float_image()
439 GLuint *tempImage; in make_temp_uint_image() local
[all …]
Dtexgetimage.c237 GLfloat *tempImage, *srcRow; in get_tex_rgba_compressed() local
241 tempImage = (GLfloat *) malloc(width * height * depth in get_tex_rgba_compressed()
243 if (!tempImage) { in get_tex_rgba_compressed()
259 srcMap, srcRowStride, tempImage); in get_tex_rgba_compressed()
265 free(tempImage); in get_tex_rgba_compressed()
294 _mesa_rebase_rgba_float(width * height, (GLfloat (*)[4]) tempImage, in get_tex_rgba_compressed()
298 srcRow = tempImage; in get_tex_rgba_compressed()
309 free(tempImage); in get_tex_rgba_compressed()
Dtexcompress_fxt1.c67 const GLubyte *tempImage = NULL; in _mesa_texstore_rgb_fxt1() local
77 tempImage = _mesa_make_temp_ubyte_image(ctx, dims, in _mesa_texstore_rgb_fxt1()
83 if (!tempImage) in _mesa_texstore_rgb_fxt1()
85 pixels = tempImage; in _mesa_texstore_rgb_fxt1()
102 if (tempImage) in _mesa_texstore_rgb_fxt1()
103 free((void*) tempImage); in _mesa_texstore_rgb_fxt1()
118 const GLubyte *tempImage = NULL; in _mesa_texstore_rgba_fxt1() local
127 tempImage = _mesa_make_temp_ubyte_image(ctx, dims, in _mesa_texstore_rgba_fxt1()
133 if (!tempImage) in _mesa_texstore_rgba_fxt1()
135 pixels = tempImage; in _mesa_texstore_rgba_fxt1()
[all …]
/external/opencv/cv/src/
Dcvfeatureselect.cpp48 cvGoodFeaturesToTrack( const void* image, void* eigImage, void* tempImage, in CV_IMPLEMENT_QSORT()
82 CvMat tmp_stub, *tmp = (CvMat*)tempImage; in CV_IMPLEMENT_QSORT()
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_api.h338 XImage *tempImage; member