Searched refs:glhd_surface (Results 1 – 2 of 2) sorted by relevance
78 struct galahad_surface *glhd_surface; in galahad_surface_create() local85 glhd_surface = CALLOC_STRUCT(galahad_surface); in galahad_surface_create()86 if(!glhd_surface) in galahad_surface_create()89 memcpy(&glhd_surface->base, surface, sizeof(struct pipe_surface)); in galahad_surface_create()91 pipe_reference_init(&glhd_surface->base.reference, 1); in galahad_surface_create()92 glhd_surface->base.texture = NULL; in galahad_surface_create()93 pipe_resource_reference(&glhd_surface->base.texture, &glhd_resource->base); in galahad_surface_create()94 glhd_surface->surface = surface; in galahad_surface_create()96 return &glhd_surface->base; in galahad_surface_create()105 struct galahad_surface *glhd_surface) in galahad_surface_destroy() argument[all …]
158 struct galahad_surface *glhd_surface);