Home
last modified time | relevance | path

Searched refs:glhd_surface (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/galahad/
Dglhd_objects.c78 struct galahad_surface *glhd_surface; in galahad_surface_create() local
85 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 …]
Dglhd_objects.h158 struct galahad_surface *glhd_surface);