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.c100 assert(sbuf->hwbuf); in svga_buffer_destroy_hw_storage()
101 if (sbuf->hwbuf) { in svga_buffer_destroy_hw_storage()
102 sws->buffer_destroy(sws, sbuf->hwbuf); in svga_buffer_destroy_hw_storage()
103 sbuf->hwbuf = NULL; in svga_buffer_destroy_hw_storage()
125 if (!sbuf->hwbuf) { in svga_buffer_create_hw_storage()
131 sbuf->hwbuf = sws->buffer_create(sws, alignment, usage, size); in svga_buffer_create_hw_storage()
132 if (!sbuf->hwbuf) in svga_buffer_create_hw_storage()
553 struct svga_winsys_buffer *guest = sbuf->hwbuf; in svga_buffer_upload_hb_command()
681 assert(sbuf->hwbuf); in svga_buffer_upload_flush()
919 struct svga_winsys_buffer *hwbuf; in svga_buffer_upload_piecewise() local
[all …]
Dsvga_resource_buffer.h171 struct svga_winsys_buffer *hwbuf; member
271 return (sbuf->hwbuf ? TRUE : FALSE); in svga_buffer_has_hw_storage()
291 return sws->buffer_map(sws, sbuf->hwbuf, flags); in svga_buffer_hw_storage_map()
319 sws->buffer_unmap(sws, sbuf->hwbuf); in svga_buffer_hw_storage_unmap()
Dsvga_pipe_query.c59 struct svga_winsys_buffer *hwbuf; member
96 sq->hwbuf = svga_winsys_buffer_create(svga, 1, in define_query_vgpu9()
99 if (!sq->hwbuf) in define_query_vgpu9()
103 sws->buffer_map(sws, sq->hwbuf, PIPE_TRANSFER_WRITE); in define_query_vgpu9()
105 sws->buffer_destroy(sws, sq->hwbuf); in define_query_vgpu9()
116 sws->buffer_unmap(sws, sq->hwbuf); in define_query_vgpu9()
159 ret = SVGA3D_EndQuery(svga->swc, sq->svga_type, sq->hwbuf); in end_query_vgpu9()
162 ret = SVGA3D_EndQuery(svga->swc, sq->svga_type, sq->hwbuf); in end_query_vgpu9()
180 ret = SVGA3D_WaitForQuery(svga->swc, sq->svga_type, sq->hwbuf); in get_query_result_vgpu9()
183 ret = SVGA3D_WaitForQuery(svga->swc, sq->svga_type, sq->hwbuf); in get_query_result_vgpu9()
[all …]
Dsvga_resource_texture.c169 hw = sws->buffer_map(sws, st->hwbuf, usage); in svga_transfer_dma()
173 sws->buffer_unmap(sws, st->hwbuf); in svga_transfer_dma()
192 hw = sws->buffer_map(sws, st->hwbuf, PIPE_TRANSFER_READ); in svga_transfer_dma()
196 sws->buffer_unmap(sws, st->hwbuf); in svga_transfer_dma()
357 st->hwbuf = svga_winsys_buffer_create(svga, 1, 0, in svga_texture_transfer_map_dma()
360 while (!st->hwbuf && (st->hw_nblocksy /= 2)) { in svga_texture_transfer_map_dma()
361 st->hwbuf = in svga_texture_transfer_map_dma()
366 if (!st->hwbuf) in svga_texture_transfer_map_dma()
384 sws->buffer_destroy(sws, st->hwbuf); in svga_texture_transfer_map_dma()
399 return sws->buffer_map(sws, st->hwbuf, usage); in svga_texture_transfer_map_dma()
[all …]
Dsvga_resource_texture.h129 struct svga_winsys_buffer *hwbuf; member
Dsvga_resource_buffer.c368 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()