Searched refs:tr_res (Results 1 – 4 of 4) sorted by relevance
42 struct trace_resource *tr_res; in trace_resource_create() local49 tr_res = CALLOC_STRUCT(trace_resource); in trace_resource_create()50 if(!tr_res) in trace_resource_create()53 memcpy(&tr_res->base, texture, sizeof(struct pipe_resource)); in trace_resource_create()55 pipe_reference_init(&tr_res->base.reference, 1); in trace_resource_create()56 tr_res->base.screen = &tr_scr->base; in trace_resource_create()57 tr_res->resource = texture; in trace_resource_create()59 return &tr_res->base; in trace_resource_create()69 struct trace_resource *tr_res) in trace_resource_destroy() argument71 pipe_resource_reference(&tr_res->resource, NULL); in trace_resource_destroy()[all …]
125 struct trace_resource *tr_res);128 trace_surf_create(struct trace_resource *tr_res,136 struct trace_resource *tr_res,
216 struct trace_resource *tr_res = trace_resource(_resource); in trace_screen_flush_frontbuffer() local218 struct pipe_resource *resource = tr_res->resource; in trace_screen_flush_frontbuffer()305 struct trace_resource *tr_res = trace_resource(_resource); in trace_screen_resource_destroy() local307 struct pipe_resource *resource = tr_res->resource; in trace_screen_resource_destroy()318 trace_resource_destroy(tr_scr, tr_res); in trace_screen_resource_destroy()
50 struct trace_resource *tr_res; in trace_resource_unwrap() local55 tr_res = trace_resource(resource); in trace_resource_unwrap()57 assert(tr_res->resource); in trace_resource_unwrap()58 return tr_res->resource; in trace_resource_unwrap()873 struct trace_resource *tr_res = trace_resource(_resource); in trace_context_create_sampler_view() local875 struct pipe_resource *resource = tr_res->resource; in trace_context_create_sampler_view()943 struct trace_resource *tr_res = trace_resource(_resource); in trace_context_create_surface() local945 struct pipe_resource *resource = tr_res->resource; in trace_context_create_surface()964 result = trace_surf_create(tr_res, result); in trace_context_create_surface()1366 struct trace_resource *tr_res = trace_resource(_resource); in trace_context_get_transfer() local[all …]