Searched refs:swImage (Results 1 – 3 of 3) sorted by relevance
66 struct swrast_texture_image *swImage; in update_wrapper() local72 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()
141 struct swrast_texture_image *swImage = swrast_texture_image(texImage); in _swrast_free_texture_image_buffer() local142 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() local206 if (!swImage->Buffer) { in _swrast_map_teximage()212 map = swImage->Buffer; in _swrast_map_teximage()[all …]
72 struct swrast_texture_image *swImage; in swrastSetTexBuffer2() local83 swImage = swrast_texture_image(texImage); in swrastSetTexBuffer2()97 sPriv->swrast_loader->getImage(dPriv, x, y, w, h, (char *)swImage->Buffer, in swrastSetTexBuffer2()