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

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/trace/
H A Dtr_texture.c80 struct trace_surface *tr_surf; local
87 tr_surf = CALLOC_STRUCT(trace_surface);
88 if(!tr_surf)
91 memcpy(&tr_surf->base, surface, sizeof(struct pipe_surface));
93 pipe_reference_init(&tr_surf->base.reference, 1);
94 tr_surf->base.texture = NULL;
95 pipe_resource_reference(&tr_surf->base.texture, &tr_res->base);
96 tr_surf->surface = surface;
98 return &tr_surf->base;
107 trace_surf_destroy(struct trace_surface *tr_surf) argument
[all...]
H A Dtr_texture.h132 trace_surf_destroy(struct trace_surface *tr_surf);
H A Dtr_context.c67 struct trace_surface *tr_surf; local
76 tr_surf = trace_surface(surface);
78 assert(tr_surf->surface);
79 assert(tr_surf->surface->texture->screen == tr_scr->screen);
81 return tr_surf->surface;
976 struct trace_surface *tr_surf = trace_surface(_surface); local
977 struct pipe_surface *surface = tr_surf->surface;
986 trace_surf_destroy(tr_surf);
/external/mesa3d/src/gallium/drivers/trace/
H A Dtr_texture.c80 struct trace_surface *tr_surf; local
87 tr_surf = CALLOC_STRUCT(trace_surface);
88 if(!tr_surf)
91 memcpy(&tr_surf->base, surface, sizeof(struct pipe_surface));
93 pipe_reference_init(&tr_surf->base.reference, 1);
94 tr_surf->base.texture = NULL;
95 pipe_resource_reference(&tr_surf->base.texture, &tr_res->base);
96 tr_surf->surface = surface;
98 return &tr_surf->base;
107 trace_surf_destroy(struct trace_surface *tr_surf) argument
[all...]
H A Dtr_texture.h132 trace_surf_destroy(struct trace_surface *tr_surf);
H A Dtr_context.c67 struct trace_surface *tr_surf; local
76 tr_surf = trace_surface(surface);
78 assert(tr_surf->surface);
79 assert(tr_surf->surface->texture->screen == tr_scr->screen);
81 return tr_surf->surface;
976 struct trace_surface *tr_surf = trace_surface(_surface); local
977 struct pipe_surface *surface = tr_surf->surface;
986 trace_surf_destroy(tr_surf);

Completed in 900 milliseconds