Searched refs:id_surface (Results 1 – 4 of 4) sorted by relevance
78 struct identity_surface *id_surface; in identity_surface_create() local85 id_surface = CALLOC_STRUCT(identity_surface); in identity_surface_create()86 if(!id_surface) in identity_surface_create()89 memcpy(&id_surface->base, surface, sizeof(struct pipe_surface)); in identity_surface_create()91 pipe_reference_init(&id_surface->base.reference, 1); in identity_surface_create()92 id_surface->base.texture = NULL; in identity_surface_create()93 pipe_resource_reference(&id_surface->base.texture, &id_resource->base); in identity_surface_create()94 id_surface->surface = surface; in identity_surface_create()96 return &id_surface->base; in identity_surface_create()105 struct identity_surface *id_surface) in identity_surface_destroy() argument[all …]
156 struct identity_surface *id_surface);