Lines Matching refs:ImageSlices
111 swImg->ImageSlices[i] = swImg->Buffer + bytesPerSlice * i; in _swrast_alloc_texture_image_buffer()
150 assert(!swImg->ImageSlices); in _swrast_init_texture_image()
151 swImg->ImageSlices = calloc(texture_slices(texImage), sizeof(void *)); in _swrast_init_texture_image()
152 if (!swImg->ImageSlices) in _swrast_init_texture_image()
171 free(swImage->ImageSlices); in _swrast_free_texture_image_buffer()
172 swImage->ImageSlices = NULL; in _swrast_free_texture_image_buffer()
242 assert(swImage->Buffer == swImage->ImageSlices[0]); in _swrast_map_teximage()
244 map = swImage->ImageSlices[slice]; in _swrast_map_teximage()
281 assert(swImage->ImageSlices[0] == swImage->Buffer); in _swrast_map_texture()
285 if (!swImage->ImageSlices) { in _swrast_map_texture()
286 swImage->ImageSlices = in _swrast_map_texture()
288 if (!swImage->ImageSlices) in _swrast_map_texture()
298 if (swImage->ImageSlices[i]) in _swrast_map_texture()
307 swImage->ImageSlices[i] = map; in _swrast_map_texture()
340 if (!swImage->ImageSlices) in _swrast_unmap_texture()
346 if (swImage->ImageSlices[i]) { in _swrast_unmap_texture()
348 swImage->ImageSlices[i] = NULL; in _swrast_unmap_texture()