Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/driver_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.c1469 struct trace_transfer *tr_trans = trace_transfer(_transfer); in trace_context_transfer_unmap() local
1471 struct pipe_transfer *transfer = tr_trans->transfer; in trace_context_transfer_unmap()
1473 if (tr_trans->map) { in trace_context_transfer_unmap()
1497 trace_dump_box_bytes(tr_trans->map, in trace_context_transfer_unmap()
1520 trace_dump_box_bytes(tr_trans->map, in trace_context_transfer_unmap()
1533 tr_trans->map = NULL; in trace_context_transfer_unmap()
1537 trace_transfer_destroy(tr_ctx, tr_trans); in trace_context_transfer_unmap()