Home
last modified time | relevance | path

Searched refs:hwbuf (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_buffer_upload.c102 assert(sbuf->hwbuf); in svga_buffer_destroy_hw_storage()
103 if (sbuf->hwbuf) { in svga_buffer_destroy_hw_storage()
104 sws->buffer_destroy(sws, sbuf->hwbuf); in svga_buffer_destroy_hw_storage()
105 sbuf->hwbuf = NULL; in svga_buffer_destroy_hw_storage()
127 if (!sbuf->hwbuf) { in svga_buffer_create_hw_storage()
133 sbuf->hwbuf = sws->buffer_create(sws, alignment, usage, size); in svga_buffer_create_hw_storage()
134 if (!sbuf->hwbuf) in svga_buffer_create_hw_storage()
569 struct svga_winsys_buffer *guest = sbuf->hwbuf; in svga_buffer_upload_hb_command()
699 assert(sbuf->hwbuf); in svga_buffer_upload_flush()
940 struct svga_winsys_buffer *hwbuf; in svga_buffer_upload_piecewise() local
[all …]
Dsvga_resource_buffer.h176 struct svga_winsys_buffer *hwbuf; member
276 return (sbuf->hwbuf ? TRUE : FALSE); in svga_buffer_has_hw_storage()
315 return sws->buffer_map(sws, sbuf->hwbuf, flags); in svga_buffer_hw_storage_map()
337 sws->buffer_unmap(sws, sbuf->hwbuf); in svga_buffer_hw_storage_unmap()
Dsvga_resource_texture.c163 hw = sws->buffer_map(sws, st->hwbuf, usage); in svga_transfer_dma()
167 sws->buffer_unmap(sws, st->hwbuf); in svga_transfer_dma()
186 hw = sws->buffer_map(sws, st->hwbuf, PIPE_MAP_READ); in svga_transfer_dma()
190 sws->buffer_unmap(sws, st->hwbuf); in svga_transfer_dma()
318 st->hwbuf = svga_winsys_buffer_create(svga, 1, 0, in svga_texture_transfer_map_dma()
321 while (!st->hwbuf && (st->hw_nblocksy /= 2)) { in svga_texture_transfer_map_dma()
322 st->hwbuf = in svga_texture_transfer_map_dma()
327 if (!st->hwbuf) in svga_texture_transfer_map_dma()
345 sws->buffer_destroy(sws, st->hwbuf); in svga_texture_transfer_map_dma()
360 return sws->buffer_map(sws, st->hwbuf, usage); in svga_texture_transfer_map_dma()
[all …]
Dsvga_pipe_query.c60 struct svga_winsys_buffer *hwbuf; member
97 sq->hwbuf = svga_winsys_buffer_create(svga, 1, in define_query_vgpu9()
100 if (!sq->hwbuf) in define_query_vgpu9()
104 sws->buffer_map(sws, sq->hwbuf, PIPE_MAP_WRITE); in define_query_vgpu9()
106 sws->buffer_destroy(sws, sq->hwbuf); in define_query_vgpu9()
117 sws->buffer_unmap(sws, sq->hwbuf); in define_query_vgpu9()
152 SVGA_RETRY(svga, SVGA3D_EndQuery(svga->swc, sq->svga_type, sq->hwbuf)); in end_query_vgpu9()
168 sq->hwbuf)); in get_query_result_vgpu9()
788 sws->buffer_destroy(sws, sq->hwbuf); in svga_destroy_query()
Dsvga_resource_texture.h130 struct svga_winsys_buffer *hwbuf; member
Dsvga_resource_buffer.c408 if (sbuf->hwbuf) in svga_buffer_destroy()
Dsvga_cmd.c462 swc->region_relocation(swc, &cmd->guest.ptr, st->hwbuf, 0, region_flags); in SVGA3D_SurfaceDMA()