Searched refs:hw_res (Results 1 – 7 of 7) sorted by relevance
/external/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_texture.c | 137 struct virgl_hw_res *hw_res; in virgl_texture_transfer_map() local 178 hw_res = trans->resolve_tmp->hw_res; in virgl_texture_transfer_map() 185 hw_res = vtex->base.hw_res; in virgl_texture_transfer_map() 191 vs->vws->transfer_get(vs->vws, hw_res, box, trans->base.stride, l_stride, offset, level); in virgl_texture_transfer_map() 194 vs->vws->resource_wait(vs->vws, vtex->base.hw_res); in virgl_texture_transfer_map() 196 ptr = vs->vws->resource_map(vs->vws, hw_res); in virgl_texture_transfer_map() 229 vs->vws->transfer_put(vs->vws, vtex->base.hw_res, in virgl_texture_transfer_unmap() 288 return vs->vws->resource_get_handle(vs->vws, vtex->base.hw_res, vtex->stride[0], whandle); in virgl_texture_get_handle() 296 vs->vws->resource_unref(vs->vws, vtex->base.hw_res); in virgl_texture_destroy() 324 tex->base.hw_res = vs->vws->resource_create_from_handle(vs->vws, whandle); in virgl_texture_from_handle() [all …]
|
D | virgl_buffer.c | 37 vs->vws->resource_unref(vs->vws, vbuf->base.hw_res); in virgl_buffer_destroy() 80 …vs->vws->transfer_get(vs->vws, vbuf->base.hw_res, box, trans->base.stride, trans->base.layer_strid… in virgl_buffer_transfer_map() 86 vs->vws->resource_wait(vs->vws, vbuf->base.hw_res); in virgl_buffer_transfer_map() 88 ptr = vs->vws->resource_map(vs->vws, vbuf->base.hw_res); in virgl_buffer_transfer_map() 111 vs->vws->transfer_put(vs->vws, vbuf->base.hw_res, in virgl_buffer_transfer_unmap() 167 …buf->base.hw_res = vs->vws->resource_create(vs->vws, template->target, template->format, vbind, te… in virgl_buffer_create()
|
D | virgl_context.c | 73 rs->vws->transfer_put(rs->vws, vbuf->base.hw_res, in virgl_buffer_flush() 90 vws->emit_res(vws, vctx->cbuf, res->hw_res, FALSE); in virgl_attach_res_framebuffer() 97 vws->emit_res(vws, vctx->cbuf, res->hw_res, FALSE); in virgl_attach_res_framebuffer() 116 vws->emit_res(vws, vctx->cbuf, res->hw_res, FALSE); in virgl_attach_res_sampler_views() 129 vws->emit_res(vws, vctx->cbuf, res->hw_res, FALSE); in virgl_attach_res_vertex_buffers() 141 vws->emit_res(vws, vctx->cbuf, res->hw_res, FALSE); in virgl_attach_res_index_buffer() 153 vws->emit_res(vws, vctx->cbuf, res->hw_res, FALSE); in virgl_attach_res_so_targets() 166 vws->emit_res(vws, vctx->cbuf, res->hw_res, FALSE); in virgl_attach_res_uniform_buffers() 456 vs->vws->resource_wait(vs->vws, vbuf->base.hw_res); in virgl_transfer_inline_write()
|
D | virgl_resource.c | 34 …& PIPE_TRANSFER_UNSYNCHRONIZED)) && vs->vws->res_is_referenced(vs->vws, vctx->cbuf, res->hw_res)) { in virgl_res_needs_flush_wait()
|
D | virgl_resource.h | 41 struct virgl_hw_res *hw_res; member
|
D | virgl_screen.c | 542 vws->flush_frontbuffer(vws, vres->hw_res, level, layer, winsys_drawable_handle, in virgl_flush_frontbuffer()
|
D | virgl_encode.c | 57 if (res && res->hw_res) in virgl_encoder_write_res() 58 vws->emit_res(vws, ctx->cbuf, res->hw_res, TRUE); in virgl_encoder_write_res()
|