Lines Matching full:base
52 memcpy(&id_resource->base, resource, sizeof(struct pipe_resource));
54 pipe_reference_init(&id_resource->base.reference, 1);
55 id_resource->base.screen = &id_screen->base;
58 return &id_resource->base;
89 memcpy(&id_surface->base, surface, sizeof(struct pipe_surface));
91 pipe_reference_init(&id_surface->base.reference, 1);
92 id_surface->base.texture = NULL;
93 pipe_resource_reference(&id_surface->base.texture, &id_resource->base);
96 return &id_surface->base;
107 pipe_resource_reference(&id_surface->base.texture, NULL);
128 id_view->base = *view;
129 id_view->base.reference.count = 1;
130 id_view->base.texture = NULL;
131 pipe_resource_reference(&id_view->base.texture, id_resource->resource);
132 id_view->base.context = id_context->pipe;
135 return &id_view->base;
144 pipe_resource_reference(&id_view->base.texture, NULL);
167 memcpy(&id_transfer->base, transfer, sizeof(struct pipe_transfer));
169 id_transfer->base.resource = NULL;
172 pipe_resource_reference(&id_transfer->base.resource, &id_resource->base);
173 assert(id_transfer->base.resource == &id_resource->base);
175 return &id_transfer->base;
186 pipe_resource_reference(&id_transfer->base.resource, NULL);