Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_buffer.c246 if (!sbuf->swbuf && !svga_buffer_has_hw_storage(sbuf)) { in svga_buffer_transfer_map()
259 sbuf->swbuf = align_malloc(sbuf->b.b.width0, 16); in svga_buffer_transfer_map()
260 if (!sbuf->swbuf) { in svga_buffer_transfer_map()
267 if (sbuf->swbuf) { in svga_buffer_transfer_map()
269 map = sbuf->swbuf; in svga_buffer_transfer_map()
322 if (!(svga->swc->force_coherent || sbuf->key.coherent) || sbuf->swbuf) { in svga_buffer_transfer_flush_region()
367 if (!(svga->swc->force_coherent || sbuf->key.coherent) || sbuf->swbuf) in svga_buffer_transfer_unmap()
371 if (sbuf->swbuf && in svga_buffer_transfer_unmap()
411 if (sbuf->swbuf && !sbuf->user) in svga_buffer_destroy()
412 align_free(sbuf->swbuf); in svga_buffer_destroy()
[all …]
Dsvga_resource_buffer_upload.c862 assert(sbuf->swbuf); in svga_buffer_update_hw()
863 if (!sbuf->swbuf) in svga_buffer_update_hw()
885 memcpy((uint8_t *) map + start, (uint8_t *) sbuf->swbuf + start, len); in svga_buffer_update_hw()
899 align_free(sbuf->swbuf); in svga_buffer_update_hw()
900 sbuf->swbuf = NULL; in svga_buffer_update_hw()
962 memcpy(map, (const char *) sbuf->swbuf + offset, size); in svga_buffer_upload_piecewise()
Dsvga_resource_texture.c115 if (!st->swbuf) { in svga_transfer_dma()
151 sw = (uint8_t *) st->swbuf + offset; in svga_transfer_dma()
343 st->swbuf = MALLOC(nblocksy * st->base.stride * d); in svga_texture_transfer_map_dma()
344 if (!st->swbuf) { in svga_texture_transfer_map_dma()
356 if (st->swbuf) { in svga_texture_transfer_map_dma()
357 return st->swbuf; in svga_texture_transfer_map_dma()
734 if (!st->swbuf) in svga_texture_transfer_unmap_dma()
756 FREE(st->swbuf); in svga_texture_transfer_unmap_dma()
Dsvga_resource_buffer.h89 void *swbuf; member
Dsvga_resource_texture.h137 void *swbuf; member
Dsvga_state_constants.c599 if ((sbuf && sbuf->swbuf) || extra_buffer) { in emit_constbuf()