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.c120 struct trace_transfer *tr_trans; in trace_transfer_create() local
127 tr_trans = CALLOC_STRUCT(trace_transfer); in trace_transfer_create()
128 if(!tr_trans) in trace_transfer_create()
131 memcpy(&tr_trans->base, transfer, sizeof(struct pipe_transfer)); in trace_transfer_create()
133 tr_trans->base.resource = NULL; in trace_transfer_create()
134 tr_trans->transfer = transfer; in trace_transfer_create()
136 pipe_resource_reference(&tr_trans->base.resource, &tr_res->base); in trace_transfer_create()
137 assert(tr_trans->base.resource == &tr_res->base); in trace_transfer_create()
139 return &tr_trans->base; in trace_transfer_create()
149 struct trace_transfer *tr_trans) in trace_transfer_destroy() argument
[all …]
Dtr_context.c1392 struct trace_transfer *tr_trans = trace_transfer(_transfer); in trace_context_transfer_destroy() local
1394 trace_transfer_destroy(tr_context, tr_trans); in trace_context_transfer_destroy()
1403 struct trace_transfer *tr_trans = trace_transfer(_transfer); in trace_context_transfer_map() local
1405 struct pipe_transfer *transfer = tr_trans->transfer; in trace_context_transfer_map()
1411 assert(!tr_trans->map); in trace_context_transfer_map()
1412 tr_trans->map = map; in trace_context_transfer_map()
1440 struct trace_transfer *tr_trans = trace_transfer(_transfer); in trace_context_transfer_unmap() local
1442 struct pipe_transfer *transfer = tr_trans->transfer; in trace_context_transfer_unmap()
1444 if(tr_trans->map) { in trace_context_transfer_unmap()
1465 trace_dump_box_bytes(tr_trans->map, in trace_context_transfer_unmap()
[all …]
Dtr_texture.h141 struct trace_transfer *tr_trans);