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.c168 if (!sbuf->swbuf && !sbuf->hwbuf) { in svga_buffer_get_transfer()
181 sbuf->swbuf = align_malloc(sbuf->b.b.width0, 16); in svga_buffer_get_transfer()
182 if (!sbuf->swbuf) { in svga_buffer_get_transfer()
204 if (sbuf->swbuf) { in svga_buffer_transfer_map()
206 map = sbuf->swbuf; in svga_buffer_transfer_map()
317 if(sbuf->swbuf && !sbuf->user) in svga_buffer_destroy()
318 align_free(sbuf->swbuf); in svga_buffer_destroy()
359 sbuf->swbuf = align_malloc(template->width0, 64); in svga_buffer_create()
360 if(!sbuf->swbuf) in svga_buffer_create()
398 sbuf->swbuf = ptr; in svga_user_buffer_create()
Dsvga_resource_texture.c122 if(!st->swbuf) { in svga_transfer_dma()
154 sw = (uint8_t *)st->swbuf + offset; in svga_transfer_dma()
297 st->swbuf = MALLOC(nblocksy*st->base.stride); in svga_texture_get_transfer()
298 if(!st->swbuf) in svga_texture_get_transfer()
329 if(st->swbuf) in svga_texture_transfer_map()
330 return st->swbuf; in svga_texture_transfer_map()
349 if(!st->swbuf) in svga_texture_transfer_unmap()
385 FREE(st->swbuf); in svga_texture_transfer_destroy()
Dsvga_resource_buffer_upload.c421 assert(sbuf->swbuf); in svga_buffer_update_hw()
422 if (!sbuf->swbuf) in svga_buffer_update_hw()
438 memcpy(map, sbuf->swbuf, sbuf->b.b.width0); in svga_buffer_update_hw()
447 align_free(sbuf->swbuf); in svga_buffer_update_hw()
448 sbuf->swbuf = NULL; in svga_buffer_update_hw()
507 memcpy(map, sbuf->swbuf, size); in svga_buffer_upload_piecewise()
Dsvga_resource_texture.h97 void *swbuf; member
Dsvga_resource_buffer.h72 void *swbuf; member