Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_buffer.c226 if (!sbuf->swbuf && !svga_buffer_has_hw_storage(sbuf)) { in svga_buffer_transfer_map()
239 sbuf->swbuf = align_malloc(sbuf->b.b.width0, 16); in svga_buffer_transfer_map()
240 if (!sbuf->swbuf) { in svga_buffer_transfer_map()
247 if (sbuf->swbuf) { in svga_buffer_transfer_map()
249 map = sbuf->swbuf; in svga_buffer_transfer_map()
371 if (sbuf->swbuf && !sbuf->user) in svga_buffer_destroy()
372 align_free(sbuf->swbuf); in svga_buffer_destroy()
457 sbuf->swbuf = align_malloc(sbuf->b.b.width0, 64); in svga_buffer_create()
458 if (!sbuf->swbuf) in svga_buffer_create()
507 sbuf->swbuf = ptr; in svga_user_buffer_create()
Dsvga_resource_buffer_upload.c844 assert(sbuf->swbuf); in svga_buffer_update_hw()
845 if (!sbuf->swbuf) in svga_buffer_update_hw()
867 memcpy((uint8_t *) map + start, (uint8_t *) sbuf->swbuf + start, len); in svga_buffer_update_hw()
878 align_free(sbuf->swbuf); in svga_buffer_update_hw()
879 sbuf->swbuf = NULL; in svga_buffer_update_hw()
942 memcpy(map, (const char *) sbuf->swbuf + offset, size); in svga_buffer_upload_piecewise()
Dsvga_resource_texture.c121 if (!st->swbuf) { in svga_transfer_dma()
157 sw = (uint8_t *) st->swbuf + offset; in svga_transfer_dma()
382 st->swbuf = MALLOC(nblocksy * st->base.stride * d); in svga_texture_transfer_map_dma()
383 if (!st->swbuf) { in svga_texture_transfer_map_dma()
395 if (st->swbuf) { in svga_texture_transfer_map_dma()
396 return st->swbuf; in svga_texture_transfer_map_dma()
766 FREE(st->swbuf); in svga_texture_transfer_unmap_dma()
Dsvga_resource_buffer.h89 void *swbuf; member
Dsvga_resource_texture.h136 void *swbuf; member