Home
last modified time | relevance | path

Searched refs:swbuf (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_buffer.c272 if (!sbuf->swbuf && !svga_buffer_has_hw_storage(sbuf)) { in svga_buffer_transfer_map()
285 sbuf->swbuf = align_malloc(sbuf->b.width0, 16); in svga_buffer_transfer_map()
286 if (!sbuf->swbuf) { in svga_buffer_transfer_map()
293 if (sbuf->swbuf) { in svga_buffer_transfer_map()
295 map = sbuf->swbuf; in svga_buffer_transfer_map()
348 if (!(svga->swc->force_coherent || sbuf->key.coherent) || sbuf->swbuf) { in svga_buffer_transfer_flush_region()
393 if (!(svga->swc->force_coherent || sbuf->key.coherent) || sbuf->swbuf) in svga_buffer_transfer_unmap()
397 if (sbuf->swbuf && in svga_buffer_transfer_unmap()
438 if (sbuf->swbuf && !sbuf->user) in svga_resource_destroy()
439 align_free(sbuf->swbuf); in svga_resource_destroy()
[all …]
Dsvga_resource_texture.c115 if (!st->swbuf) { in svga_transfer_dma()
151 sw = (uint8_t *) st->swbuf + offset; in svga_transfer_dma()
302 st->swbuf = MALLOC(nblocksy * st->base.stride * d); in svga_texture_transfer_map_dma()
303 if (!st->swbuf) { in svga_texture_transfer_map_dma()
315 if (st->swbuf) { in svga_texture_transfer_map_dma()
316 return st->swbuf; in svga_texture_transfer_map_dma()
684 if (!st->swbuf) in svga_texture_transfer_unmap_dma()
706 FREE(st->swbuf); in svga_texture_transfer_unmap_dma()
Dsvga_resource_buffer_upload.c864 assert(sbuf->swbuf); in svga_buffer_update_hw()
865 if (!sbuf->swbuf) in svga_buffer_update_hw()
887 memcpy((uint8_t *) map + start, (uint8_t *) sbuf->swbuf + start, len); in svga_buffer_update_hw()
901 align_free(sbuf->swbuf); in svga_buffer_update_hw()
902 sbuf->swbuf = NULL; in svga_buffer_update_hw()
964 memcpy(map, (const char *) sbuf->swbuf + offset, size); in svga_buffer_upload_piecewise()
Dsvga_resource_texture.h129 void *swbuf; member
Dsvga_resource_buffer.h87 void *swbuf; member
Dsvga_state_constants.c760 if ((sbuf && sbuf->swbuf) || extra_buffer) { in emit_constbuf()