Searched refs:tr_surf (Results 1 – 4 of 4) sorted by relevance
43 struct trace_surface *tr_surf; in trace_surf_create() local50 tr_surf = CALLOC_STRUCT(trace_surface); in trace_surf_create()51 if (!tr_surf) in trace_surf_create()54 memcpy(&tr_surf->base, surface, sizeof(struct pipe_surface)); in trace_surf_create()55 tr_surf->base.context = &tr_ctx->base; in trace_surf_create()57 pipe_reference_init(&tr_surf->base.reference, 1); in trace_surf_create()58 tr_surf->base.texture = NULL; in trace_surf_create()59 pipe_resource_reference(&tr_surf->base.texture, res); in trace_surf_create()60 tr_surf->surface = surface; in trace_surf_create()62 return &tr_surf->base; in trace_surf_create()[all …]
112 trace_surf_destroy(struct trace_surface *tr_surf);
631 struct trace_surface *tr_surf = trace_surface(_surface); in trace_dump_surface_ptr() local632 trace_dump_ptr(tr_surf->surface); in trace_dump_surface_ptr()
77 struct trace_surface *tr_surf; in trace_surface_unwrap() local86 tr_surf = trace_surface(surface); in trace_surface_unwrap()88 assert(tr_surf->surface); in trace_surface_unwrap()89 return tr_surf->surface; in trace_surface_unwrap()1131 struct trace_surface *tr_surf = trace_surface(_surface); in trace_context_surface_destroy() local1132 struct pipe_surface *surface = tr_surf->surface; in trace_context_surface_destroy()1141 trace_surf_destroy(tr_surf); in trace_context_surface_destroy()