Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/driver_trace/
Dtr_texture.c43 struct trace_surface *tr_surf; in trace_surf_create() local
50 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 …]
Dtr_texture.h110 trace_surf_destroy(struct trace_surface *tr_surf);
Dtr_dump.c581 struct trace_surface *tr_surf = trace_surface(_surface); in trace_dump_surface_ptr() local
582 trace_dump_ptr(tr_surf->surface); in trace_dump_surface_ptr()
Dtr_context.c74 struct trace_surface *tr_surf; in trace_surface_unwrap() local
83 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() local
964 struct pipe_surface *surface = tr_surf->surface; in trace_context_surface_destroy()
973 trace_surf_destroy(tr_surf); in trace_context_surface_destroy()