Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/galahad/
Dglhd_objects.c41 struct galahad_resource *glhd_resource; in galahad_resource_create() local
48 glhd_resource = CALLOC_STRUCT(galahad_resource); in galahad_resource_create()
49 if(!glhd_resource) in galahad_resource_create()
52 memcpy(&glhd_resource->base, resource, sizeof(struct pipe_resource)); in galahad_resource_create()
54 pipe_reference_init(&glhd_resource->base.reference, 1); in galahad_resource_create()
55 glhd_resource->base.screen = &glhd_screen->base; in galahad_resource_create()
56 glhd_resource->resource = resource; in galahad_resource_create()
58 return &glhd_resource->base; in galahad_resource_create()
66 galahad_resource_destroy(struct galahad_resource *glhd_resource) in galahad_resource_destroy() argument
68 pipe_resource_reference(&glhd_resource->resource, NULL); in galahad_resource_destroy()
[all …]
Dglhd_objects.h149 galahad_resource_destroy(struct galahad_resource *glhd_resource);
153 struct galahad_resource *glhd_resource,
162 struct galahad_resource *glhd_resource,
171 struct galahad_resource *glhd_resource,
Dglhd_context.c804 struct galahad_resource *glhd_resource = galahad_resource(_resource); in galahad_context_create_sampler_view() local
806 struct pipe_resource *resource = glhd_resource->resource; in galahad_context_create_sampler_view()
814 return galahad_sampler_view_create(glhd_context, glhd_resource, result); in galahad_context_create_sampler_view()
832 struct galahad_resource *glhd_resource = galahad_resource(_resource); in galahad_context_create_surface() local
834 struct pipe_resource *resource = glhd_resource->resource; in galahad_context_create_surface()
842 return galahad_surface_create(glhd_context, glhd_resource, result); in galahad_context_create_surface()
864 struct galahad_resource *glhd_resource = galahad_resource(_resource); in galahad_context_get_transfer() local
866 struct pipe_resource *resource = glhd_resource->resource; in galahad_context_get_transfer()
876 return galahad_transfer_create(glhd_context, glhd_resource, result); in galahad_context_get_transfer()
897 struct galahad_resource *glhd_resource = galahad_resource(_transfer->resource); in galahad_context_transfer_map() local
[all …]
Dglhd_screen.c255 struct galahad_resource *glhd_resource = galahad_resource(_resource); in galahad_screen_resource_get_handle() local
257 struct pipe_resource *resource = glhd_resource->resource; in galahad_screen_resource_get_handle()
281 struct galahad_resource *glhd_resource = galahad_resource(_resource); in galahad_screen_flush_frontbuffer() local
283 struct pipe_resource *resource = glhd_resource->resource; in galahad_screen_flush_frontbuffer()