Home
last modified time | relevance | path

Searched refs:swImage (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_texture.c168 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()
[all …]
Ds_texrender.c34 struct swrast_texture_image *swImage; in update_wrapper() local
40 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()
Ds_texfetch.c69 fetch_compressed(const struct swrast_texture_image *swImage, in fetch_compressed() argument
76 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()
/external/mesa3d/src/mesa/drivers/dri/swrast/
Dswrast.c87 struct swrast_texture_image *swImage; in swrastSetTexBuffer2() local
97 swImage = swrast_texture_image(texImage); in swrastSetTexBuffer2()
111 sPriv->swrast_loader->getImage(dPriv, x, y, w, h, (char *)swImage->Buffer, in swrastSetTexBuffer2()