Home | History | Annotate | Download | only in trace

Lines Matching full:base

53    memcpy(&tr_res->base, texture, sizeof(struct pipe_resource));
55 pipe_reference_init(&tr_res->base.reference, 1);
56 tr_res->base.screen = &tr_scr->base;
59 return &tr_res->base;
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);
98 return &tr_surf->base;
109 pipe_resource_reference(&tr_surf->base.texture, NULL);
131 memcpy(&tr_trans->base, transfer, sizeof(struct pipe_transfer));
133 tr_trans->base.resource = NULL;
136 pipe_resource_reference(&tr_trans->base.resource, &tr_res->base);
137 assert(tr_trans->base.resource == &tr_res->base);
139 return &tr_trans->base;
154 pipe_resource_reference(&tr_trans->base.resource, NULL);