Home
last modified time | relevance | path

Searched refs:ImageOffsets (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_tex.c82 assert(!intel_image->base.ImageOffsets); in intel_alloc_texture_image_buffer()
83 intel_image->base.ImageOffsets = malloc(slices * sizeof(GLuint)); in intel_alloc_texture_image_buffer()
153 if (intelImage->base.ImageOffsets) { in intel_free_texture_image_buffer()
154 free(intelImage->base.ImageOffsets); in intel_free_texture_image_buffer()
155 intelImage->base.ImageOffsets = NULL; in intel_free_texture_image_buffer()
Dintel_tex_validate.c150 intel_image->base.ImageOffsets[i] = x + y * mt->region->pitch; in intel_tex_map_image_for_swrast()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex.c82 assert(!intel_image->base.ImageOffsets); in intel_alloc_texture_image_buffer()
83 intel_image->base.ImageOffsets = malloc(slices * sizeof(GLuint)); in intel_alloc_texture_image_buffer()
153 if (intelImage->base.ImageOffsets) { in intel_free_texture_image_buffer()
154 free(intelImage->base.ImageOffsets); in intel_free_texture_image_buffer()
155 intelImage->base.ImageOffsets = NULL; in intel_free_texture_image_buffer()
Dintel_tex_validate.c150 intel_image->base.ImageOffsets[i] = x + y * mt->region->pitch; in intel_tex_map_image_for_swrast()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex.c82 assert(!intel_image->base.ImageOffsets); in intel_alloc_texture_image_buffer()
83 intel_image->base.ImageOffsets = malloc(slices * sizeof(GLuint)); in intel_alloc_texture_image_buffer()
153 if (intelImage->base.ImageOffsets) { in intel_free_texture_image_buffer()
154 free(intelImage->base.ImageOffsets); in intel_free_texture_image_buffer()
155 intelImage->base.ImageOffsets = NULL; in intel_free_texture_image_buffer()
Dintel_tex_validate.c150 intel_image->base.ImageOffsets[i] = x + y * mt->region->pitch; in intel_tex_map_image_for_swrast()
/external/mesa3d/src/mesa/swrast/
Ds_texture.c86 swImg->ImageOffsets = (GLuint *) malloc(texImage->Depth * sizeof(GLuint)); in _swrast_alloc_texture_image_buffer()
87 if (!swImg->ImageOffsets) in _swrast_alloc_texture_image_buffer()
91 swImg->ImageOffsets[i] = i * texImage->Width * texImage->Height; in _swrast_alloc_texture_image_buffer()
147 if (swImage->ImageOffsets) { in _swrast_free_texture_image_buffer()
148 free(swImage->ImageOffsets); in _swrast_free_texture_image_buffer()
149 swImage->ImageOffsets = NULL; in _swrast_free_texture_image_buffer()
Ds_texrender.c98 swImage->ImageOffsets[zOffset] * _mesa_get_format_bytes(format); in update_wrapper()
Ds_context.h141 GLuint *ImageOffsets; /**< if 3D texture: array [Depth] of offsets to member
Ds_texfetch_tmp.h61 ((type *)(image)->Map + ((image)->ImageOffsets[k] \
/external/mesa3d/src/mesa/main/
Dtexcompress_rgtc.c299 GLint sliceOffset = k ? texImage->ImageOffsets[k] / 2 : 0; in _mesa_fetch_texel_red_rgtc1()
314 GLint sliceOffset = k ? texImage->ImageOffsets[k] / 2 : 0; in _mesa_fetch_texel_signed_red_rgtc1()
329 GLint sliceOffset = k ? texImage->ImageOffsets[k] : 0; in _mesa_fetch_texel_rg_rgtc2()
347 GLint sliceOffset = k ? texImage->ImageOffsets[k] : 0; in _mesa_fetch_texel_signed_rg_rgtc2()
365 GLint sliceOffset = k ? texImage->ImageOffsets[k] / 2 : 0; in _mesa_fetch_texel_l_latc1()
380 GLint sliceOffset = k ? texImage->ImageOffsets[k] / 2 : 0; in _mesa_fetch_texel_signed_l_latc1()
395 GLint sliceOffset = k ? texImage->ImageOffsets[k] : 0; in _mesa_fetch_texel_la_latc2()
413 GLint sliceOffset = k ? texImage->ImageOffsets[k] : 0; in _mesa_fetch_texel_signed_la_latc2()
Dtexcompress_s3tc.c376 GLint sliceOffset = k ? texImage->ImageOffsets[k] / 2 : 0; in fetch_texel_2d_rgb_dxt1()
405 GLint sliceOffset = k ? texImage->ImageOffsets[k] / 2 : 0; in fetch_texel_2d_rgba_dxt1()
434 GLint sliceOffset = k ? texImage->ImageOffsets[k] : 0; in fetch_texel_2d_rgba_dxt3()
463 GLint sliceOffset = k ? texImage->ImageOffsets[k] : 0; in fetch_texel_2d_rgba_dxt5()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texture.c122 assert(!image->base.ImageOffsets); in radeonAllocTextureImageBuffer()
123 image->base.ImageOffsets = malloc(slices * sizeof(GLuint)); in radeonAllocTextureImageBuffer()
151 if (image->base.ImageOffsets) { in radeonFreeTextureImageBuffer()
152 free(image->base.ImageOffsets); in radeonFreeTextureImageBuffer()
153 image->base.ImageOffsets = NULL; in radeonFreeTextureImageBuffer()
734 image->base.ImageOffsets[i] = rs * lvl->height * i; in radeon_swrast_map_image()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_texture.c122 assert(!image->base.ImageOffsets); in radeonAllocTextureImageBuffer()
123 image->base.ImageOffsets = malloc(slices * sizeof(GLuint)); in radeonAllocTextureImageBuffer()
151 if (image->base.ImageOffsets) { in radeonFreeTextureImageBuffer()
152 free(image->base.ImageOffsets); in radeonFreeTextureImageBuffer()
153 image->base.ImageOffsets = NULL; in radeonFreeTextureImageBuffer()
734 image->base.ImageOffsets[i] = rs * lvl->height * i; in radeon_swrast_map_image()