Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_texrender.c66 struct swrast_texture_image *swImage; in update_wrapper() local
72 swImage = swrast_texture_image(_mesa_get_attachment_teximage(att)); in update_wrapper()
73 assert(swImage); in update_wrapper()
75 format = swImage->Base.TexFormat; in update_wrapper()
84 rb->Width = swImage->Base.Width; in update_wrapper()
85 rb->Height = swImage->Base.Height; in update_wrapper()
86 rb->InternalFormat = swImage->Base.InternalFormat; in update_wrapper()
97 srb->Buffer = swImage->Buffer + in update_wrapper()
98 swImage->ImageOffsets[zOffset] * _mesa_get_format_bytes(format); in update_wrapper()
101 srb->Buffer = swImage->Buffer; in update_wrapper()
Ds_texture.c141 struct swrast_texture_image *swImage = swrast_texture_image(texImage); in _swrast_free_texture_image_buffer() local
142 if (swImage->Buffer) { in _swrast_free_texture_image_buffer()
143 _mesa_align_free(swImage->Buffer); in _swrast_free_texture_image_buffer()
144 swImage->Buffer = NULL; in _swrast_free_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()
192 struct swrast_texture_image *swImage = swrast_texture_image(texImage); in _swrast_map_teximage() local
206 if (!swImage->Buffer) { in _swrast_map_teximage()
212 map = swImage->Buffer; in _swrast_map_teximage()
[all …]
/external/mesa3d/src/mesa/drivers/dri/swrast/
Dswrast.c72 struct swrast_texture_image *swImage; in swrastSetTexBuffer2() local
83 swImage = swrast_texture_image(texImage); in swrastSetTexBuffer2()
97 sPriv->swrast_loader->getImage(dPriv, x, y, w, h, (char *)swImage->Buffer, in swrastSetTexBuffer2()