Searched refs:swbuf (Results 1 – 6 of 6) sorted by relevance
272 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 …]
115 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()
864 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()
129 void *swbuf; member
87 void *swbuf; member
760 if ((sbuf && sbuf->swbuf) || extra_buffer) { in emit_constbuf()