Searched refs:ImageOffsets (Results 1 – 14 of 14) sorted by relevance
82 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()
150 intel_image->base.ImageOffsets[i] = x + y * mt->region->pitch; in intel_tex_map_image_for_swrast()
86 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()
98 swImage->ImageOffsets[zOffset] * _mesa_get_format_bytes(format); in update_wrapper()
141 GLuint *ImageOffsets; /**< if 3D texture: array [Depth] of offsets to member
61 ((type *)(image)->Map + ((image)->ImageOffsets[k] \
299 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()
376 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()
122 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()