Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/identity/
Did_objects.c41 struct identity_resource *id_resource; in identity_resource_create() local
48 id_resource = CALLOC_STRUCT(identity_resource); in identity_resource_create()
49 if(!id_resource) in identity_resource_create()
52 memcpy(&id_resource->base, resource, sizeof(struct pipe_resource)); in identity_resource_create()
54 pipe_reference_init(&id_resource->base.reference, 1); in identity_resource_create()
55 id_resource->base.screen = &id_screen->base; in identity_resource_create()
56 id_resource->resource = resource; in identity_resource_create()
58 return &id_resource->base; in identity_resource_create()
66 identity_resource_destroy(struct identity_resource *id_resource) in identity_resource_destroy() argument
68 pipe_resource_reference(&id_resource->resource, NULL); in identity_resource_destroy()
[all …]
Did_objects.h147 identity_resource_destroy(struct identity_resource *id_resource);
151 struct identity_resource *id_resource,
160 struct identity_resource *id_resource,
169 struct identity_resource *id_resource,
Did_screen.c172 struct identity_resource *id_resource = identity_resource(_resource); in identity_screen_resource_get_handle() local
174 struct pipe_resource *resource = id_resource->resource; in identity_screen_resource_get_handle()
198 struct identity_resource *id_resource = identity_resource(_resource); in identity_screen_flush_frontbuffer() local
200 struct pipe_resource *resource = id_resource->resource; in identity_screen_flush_frontbuffer()
Did_context.c715 struct identity_resource *id_resource = identity_resource(_resource); in identity_context_create_sampler_view() local
717 struct pipe_resource *resource = id_resource->resource; in identity_context_create_sampler_view()
725 return identity_sampler_view_create(id_context, id_resource, result); in identity_context_create_sampler_view()
743 struct identity_resource *id_resource = identity_resource(_resource); in identity_context_create_surface() local
745 struct pipe_resource *resource = id_resource->resource; in identity_context_create_surface()
753 return identity_surface_create(id_context, id_resource, result); in identity_context_create_surface()
773 struct identity_resource *id_resource = identity_resource(_resource); in identity_context_get_transfer() local
775 struct pipe_resource *resource = id_resource->resource; in identity_context_get_transfer()
785 return identity_transfer_create(id_context, id_resource, result); in identity_context_get_transfer()
853 struct identity_resource *id_resource = identity_resource(_resource); in identity_context_transfer_inline_write() local
[all …]