Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/rbug/
Drbug_objects.c44 struct rbug_resource *rb_resource; in rbug_resource_create() local
51 rb_resource = CALLOC_STRUCT(rbug_resource); in rbug_resource_create()
52 if(!rb_resource) in rbug_resource_create()
55 memcpy(&rb_resource->base, resource, sizeof(struct pipe_resource)); in rbug_resource_create()
57 pipe_reference_init(&rb_resource->base.reference, 1); in rbug_resource_create()
58 rb_resource->base.screen = &rb_screen->base; in rbug_resource_create()
59 rb_resource->resource = resource; in rbug_resource_create()
61 rbug_screen_add_to_list(rb_screen, resources, rb_resource); in rbug_resource_create()
63 return &rb_resource->base; in rbug_resource_create()
71 rbug_resource_destroy(struct rbug_resource *rb_resource) in rbug_resource_destroy() argument
[all …]
Drbug_objects.h189 rbug_resource_destroy(struct rbug_resource *rb_resource);
193 struct rbug_resource *rb_resource,
202 struct rbug_resource *rb_resource,
211 struct rbug_resource *rb_resource,
Drbug_screen.c173 struct rbug_resource *rb_resource = rbug_resource(_resource); in rbug_screen_resource_get_handle() local
175 struct pipe_resource *resource = rb_resource->resource; in rbug_screen_resource_get_handle()
196 struct rbug_resource *rb_resource = rbug_resource(_resource); in rbug_screen_flush_frontbuffer() local
198 struct pipe_resource *resource = rb_resource->resource; in rbug_screen_flush_frontbuffer()
Drbug_context.c961 struct rbug_resource *rb_resource = rbug_resource(_resource); in rbug_context_create_sampler_view() local
963 struct pipe_resource *resource = rb_resource->resource; in rbug_context_create_sampler_view()
973 return rbug_sampler_view_create(rb_pipe, rb_resource, result); in rbug_context_create_sampler_view()
991 struct rbug_resource *rb_resource = rbug_resource(_resource); in rbug_context_create_surface() local
993 struct pipe_resource *resource = rb_resource->resource; in rbug_context_create_surface()
1003 return rbug_surface_create(rb_pipe, rb_resource, result); in rbug_context_create_surface()
1030 struct rbug_resource *rb_resource = rbug_resource(_resource); in rbug_context_get_transfer() local
1032 struct pipe_resource *resource = rb_resource->resource; in rbug_context_get_transfer()
1044 return rbug_transfer_create(rb_pipe, rb_resource, result); in rbug_context_get_transfer()
1126 struct rbug_resource *rb_resource = rbug_resource(_resource); in rbug_context_transfer_inline_write() local
[all …]