Lines Matching refs:swImage
168 struct swrast_texture_image *swImage = swrast_texture_image(texImage); in _swrast_free_texture_image_buffer() local
170 align_free(swImage->Buffer); in _swrast_free_texture_image_buffer()
171 swImage->Buffer = NULL; in _swrast_free_texture_image_buffer()
173 free(swImage->ImageSlices); in _swrast_free_texture_image_buffer()
174 swImage->ImageSlices = NULL; in _swrast_free_texture_image_buffer()
217 struct swrast_texture_image *swImage = swrast_texture_image(texImage); in _swrast_map_teximage() local
224 if (!swImage->Buffer) { in _swrast_map_teximage()
243 assert(swImage->Buffer); in _swrast_map_teximage()
244 assert(swImage->Buffer == swImage->ImageSlices[0]); in _swrast_map_teximage()
246 map = swImage->ImageSlices[slice]; in _swrast_map_teximage()
273 struct swrast_texture_image *swImage = swrast_texture_image(texImage); in _swrast_map_texture() local
282 if (swImage->Buffer) { in _swrast_map_texture()
283 assert(swImage->ImageSlices[0] == swImage->Buffer); in _swrast_map_texture()
287 if (!swImage->ImageSlices) { in _swrast_map_texture()
288 swImage->ImageSlices = in _swrast_map_texture()
290 if (!swImage->ImageSlices) in _swrast_map_texture()
300 if (swImage->ImageSlices[i]) in _swrast_map_texture()
309 swImage->ImageSlices[i] = map; in _swrast_map_texture()
315 swImage->RowStride = rowStride; in _swrast_map_texture()
317 assert(swImage->RowStride == rowStride); in _swrast_map_texture()
333 struct swrast_texture_image *swImage = swrast_texture_image(texImage); in _swrast_unmap_texture() local
339 if (swImage->Buffer) in _swrast_unmap_texture()
342 if (!swImage->ImageSlices) in _swrast_unmap_texture()
348 if (swImage->ImageSlices[i]) { in _swrast_unmap_texture()
350 swImage->ImageSlices[i] = NULL; in _swrast_unmap_texture()