Home
last modified time | relevance | path

Searched refs:tr_trans (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/trace/
Dtr_texture.c85 struct trace_transfer *tr_trans; in trace_transfer_create() local
92 tr_trans = CALLOC_STRUCT(trace_transfer); in trace_transfer_create()
93 if (!tr_trans) in trace_transfer_create()
96 memcpy(&tr_trans->base, transfer, sizeof(struct pipe_transfer)); in trace_transfer_create()
98 tr_trans->base.resource = NULL; in trace_transfer_create()
99 tr_trans->transfer = transfer; in trace_transfer_create()
101 pipe_resource_reference(&tr_trans->base.resource, res); in trace_transfer_create()
102 assert(tr_trans->base.resource == res); in trace_transfer_create()
104 return &tr_trans->base; in trace_transfer_create()
114 struct trace_transfer *tr_trans) in trace_transfer_destroy() argument
[all …]
Dtr_texture.h119 struct trace_transfer *tr_trans);
Dtr_context.c1423 struct trace_transfer *tr_trans = trace_transfer(_transfer); in trace_context_transfer_unmap() local
1425 struct pipe_transfer *transfer = tr_trans->transfer; in trace_context_transfer_unmap()
1427 if (tr_trans->map) { in trace_context_transfer_unmap()
1451 trace_dump_box_bytes(tr_trans->map, in trace_context_transfer_unmap()
1463 tr_trans->map = NULL; in trace_context_transfer_unmap()
1467 trace_transfer_destroy(tr_ctx, tr_trans); in trace_context_transfer_unmap()