Searched refs:swImage (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/mesa/swrast/ |
D | s_texture.c | 166 struct swrast_texture_image *swImage = swrast_texture_image(texImage); in _swrast_free_texture_image_buffer() local 168 _mesa_align_free(swImage->Buffer); in _swrast_free_texture_image_buffer() 169 swImage->Buffer = NULL; in _swrast_free_texture_image_buffer() 171 free(swImage->ImageSlices); in _swrast_free_texture_image_buffer() 172 swImage->ImageSlices = NULL; in _swrast_free_texture_image_buffer() 215 struct swrast_texture_image *swImage = swrast_texture_image(texImage); in _swrast_map_teximage() local 222 if (!swImage->Buffer) { in _swrast_map_teximage() 241 assert(swImage->Buffer); in _swrast_map_teximage() 242 assert(swImage->Buffer == swImage->ImageSlices[0]); in _swrast_map_teximage() 244 map = swImage->ImageSlices[slice]; in _swrast_map_teximage() [all …]
|
D | s_texrender.c | 34 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()
|
D | s_texfetch.c | 68 fetch_compressed(const struct swrast_texture_image *swImage, in fetch_compressed() argument 75 GLuint texelBytes = _mesa_get_format_bytes(swImage->Base.TexFormat); in fetch_compressed() 76 _mesa_get_format_block_size(swImage->Base.TexFormat, &bw, &bh); in fetch_compressed() 77 assert(swImage->RowStride * bw % texelBytes == 0); in fetch_compressed() 79 swImage->FetchCompressedTexel(swImage->ImageSlices[k], in fetch_compressed() 80 swImage->RowStride * bw / texelBytes, in fetch_compressed()
|
/external/mesa3d/src/mesa/drivers/dri/swrast/ |
D | swrast.c | 86 struct swrast_texture_image *swImage; in swrastSetTexBuffer2() local 96 swImage = swrast_texture_image(texImage); in swrastSetTexBuffer2() 110 sPriv->swrast_loader->getImage(dPriv, x, y, w, h, (char *)swImage->Buffer, in swrastSetTexBuffer2()
|