Home | History | Annotate | Download | only in galahad

Lines Matching full:base

52    memcpy(&glhd_resource->base, resource, sizeof(struct pipe_resource));
54 pipe_reference_init(&glhd_resource->base.reference, 1);
55 glhd_resource->base.screen = &glhd_screen->base;
58 return &glhd_resource->base;
89 memcpy(&glhd_surface->base, surface, sizeof(struct pipe_surface));
91 pipe_reference_init(&glhd_surface->base.reference, 1);
92 glhd_surface->base.texture = NULL;
93 pipe_resource_reference(&glhd_surface->base.texture, &glhd_resource->base);
96 return &glhd_surface->base;
107 pipe_resource_reference(&glhd_surface->base.texture, NULL);
127 glhd_view->base = *view;
128 glhd_view->base.reference.count = 1;
129 glhd_view->base.texture = NULL;
130 pipe_resource_reference(&glhd_view->base.texture, &glhd_resource->base);
131 glhd_view->base.context = &glhd_context->base;
134 return &glhd_view->base;
144 pipe_resource_reference(&glhd_view->base.texture, NULL);
165 memcpy(&glhd_transfer->base, transfer, sizeof(struct pipe_transfer));
167 glhd_transfer->base.resource = NULL;
170 pipe_resource_reference(&glhd_transfer->base.resource, &glhd_resource->base);
171 assert(glhd_transfer->base.resource == &glhd_resource->base);
173 return &glhd_transfer->base;
184 pipe_resource_reference(&glhd_transfer->base.resource, NULL);