Home
last modified time | relevance | path

Searched refs:tr_res (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/trace/
Dtr_texture.c42 struct trace_resource *tr_res; in trace_resource_create() local
49 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() argument
71 pipe_resource_reference(&tr_res->resource, NULL); in trace_resource_destroy()
[all …]
Dtr_texture.h125 struct trace_resource *tr_res);
128 trace_surf_create(struct trace_resource *tr_res,
136 struct trace_resource *tr_res,
Dtr_screen.c216 struct trace_resource *tr_res = trace_resource(_resource); in trace_screen_flush_frontbuffer() local
218 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() local
307 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()
Dtr_context.c50 struct trace_resource *tr_res; in trace_resource_unwrap() local
55 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() local
875 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() local
945 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 …]