Searched refs:swImage (Results 1 – 3 of 3) sorted by relevance
168 struct swrast_texture_image *swImage = swrast_texture_image(texImage); in _swrast_free_texture_image_buffer() local170 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() local224 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()[all …]
34 struct swrast_texture_image *swImage; in update_wrapper() local40 swImage = swrast_texture_image(rb->TexImage); in update_wrapper()41 assert(swImage); in update_wrapper()43 format = swImage->Base.TexFormat; in update_wrapper()55 srb->Buffer = swImage->ImageSlices[zOffset]; in update_wrapper()
69 fetch_compressed(const struct swrast_texture_image *swImage, in fetch_compressed() argument76 GLuint texelBytes = _mesa_get_format_bytes(swImage->Base.TexFormat); in fetch_compressed()77 _mesa_get_format_block_size(swImage->Base.TexFormat, &bw, &bh); in fetch_compressed()78 assert(swImage->RowStride * bw % texelBytes == 0); in fetch_compressed()80 swImage->FetchCompressedTexel(swImage->ImageSlices[k], in fetch_compressed()81 swImage->RowStride * bw / texelBytes, in fetch_compressed()