Home
last modified time | relevance | path

Searched refs:id_surface (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/identity/
Did_objects.c78 struct identity_surface *id_surface; in identity_surface_create() local
85 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 …]
Did_objects.h156 struct identity_surface *id_surface);
/external/mesa3d/src/gallium/drivers/identity/
Did_objects.c78 struct identity_surface *id_surface; in identity_surface_create() local
85 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 …]
Did_objects.h156 struct identity_surface *id_surface);