Searched refs:tr_surf (Results 1 – 4 of 4) sorted by relevance
80 struct trace_surface *tr_surf; in trace_surf_create() local87 tr_surf = CALLOC_STRUCT(trace_surface); in trace_surf_create()88 if(!tr_surf) in trace_surf_create()91 memcpy(&tr_surf->base, surface, sizeof(struct pipe_surface)); in trace_surf_create()93 pipe_reference_init(&tr_surf->base.reference, 1); in trace_surf_create()94 tr_surf->base.texture = NULL; in trace_surf_create()95 pipe_resource_reference(&tr_surf->base.texture, &tr_res->base); in trace_surf_create()96 tr_surf->surface = surface; in trace_surf_create()98 return &tr_surf->base; in trace_surf_create()107 trace_surf_destroy(struct trace_surface *tr_surf) in trace_surf_destroy() argument[all …]
67 struct trace_surface *tr_surf; in trace_surface_unwrap() local76 tr_surf = trace_surface(surface); in trace_surface_unwrap()78 assert(tr_surf->surface); in trace_surface_unwrap()79 assert(tr_surf->surface->texture->screen == tr_scr->screen); in trace_surface_unwrap()81 return tr_surf->surface; in trace_surface_unwrap()976 struct trace_surface *tr_surf = trace_surface(_surface); in trace_context_surface_destroy() local977 struct pipe_surface *surface = tr_surf->surface; in trace_context_surface_destroy()986 trace_surf_destroy(tr_surf); in trace_context_surface_destroy()
132 trace_surf_destroy(struct trace_surface *tr_surf);
602 struct trace_surface *tr_surf = trace_surface(_surface); in trace_dump_surface_ptr() local603 trace_dump_ptr(tr_surf->surface); in trace_dump_surface_ptr()