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 …]
581 struct trace_surface *tr_surf = trace_surface(_surface); in trace_dump_surface_ptr() local582 trace_dump_ptr(tr_surf->surface); in trace_dump_surface_ptr()
110 trace_surf_destroy(struct trace_surface *tr_surf);
74 struct trace_surface *tr_surf; in trace_surface_unwrap() local83 tr_surf = trace_surface(surface); in trace_surface_unwrap()85 assert(tr_surf->surface); in trace_surface_unwrap()86 return tr_surf->surface; in trace_surface_unwrap()963 struct trace_surface *tr_surf = trace_surface(_surface); in trace_context_surface_destroy() local964 struct pipe_surface *surface = tr_surf->surface; in trace_context_surface_destroy()973 trace_surf_destroy(tr_surf); in trace_context_surface_destroy()