Home
last modified time | relevance | path

Searched refs:tr_surf (Results 1 - 3 of 3) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/driver_trace/
H A Dtr_texture.c42 struct trace_surface *tr_surf; in trace_surf_create() local
49 tr_surf = CALLOC_STRUCT(trace_surface); in trace_surf_create()
50 if (!tr_surf) in trace_surf_create()
53 memcpy(&tr_surf->base, surface, sizeof(struct pipe_surface)); in trace_surf_create()
54 tr_surf->base.context = &tr_ctx->base; in trace_surf_create()
56 pipe_reference_init(&tr_surf->base.reference, 1); in trace_surf_create()
57 tr_surf->base.texture = NULL; in trace_surf_create()
58 pipe_resource_reference(&tr_surf->base.texture, res); in trace_surf_create()
59 tr_surf->surface = surface; in trace_surf_create()
61 return &tr_surf in trace_surf_create()
70 trace_surf_destroy(struct trace_surface *tr_surf) trace_surf_destroy() argument
[all...]
H A Dtr_texture.h112 trace_surf_destroy(struct trace_surface *tr_surf);
H A Dtr_context.c78 struct trace_surface *tr_surf; in trace_surface_unwrap() local
87 tr_surf = trace_surface(surface); in trace_surface_unwrap()
89 assert(tr_surf->surface); in trace_surface_unwrap()
90 return tr_surf->surface; in trace_surface_unwrap()
1178 struct trace_surface *tr_surf = trace_surface(_surface); in trace_context_surface_destroy() local
1179 struct pipe_surface *surface = tr_surf->surface; in trace_context_surface_destroy()
1188 trace_surf_destroy(tr_surf); in trace_context_surface_destroy()

Completed in 4 milliseconds