Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/driver_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()
62 rbug_screen_add_to_list(rb_screen, resources, rb_resource); in rbug_resource_create()
64 return &rb_resource->base; in rbug_resource_create()
72 rbug_resource_destroy(struct rbug_resource *rb_resource) in rbug_resource_destroy() argument
[all …]
Drbug_screen.c241 struct rbug_resource *rb_resource = rbug_resource(_resource); in rbug_screen_check_resource_capability() local
243 struct pipe_resource *resource = rb_resource->resource; in rbug_screen_check_resource_capability()
257 struct rbug_resource *rb_resource = rbug_resource(_resource); in rbug_screen_resource_get_handle() local
259 struct pipe_resource *resource = rb_resource->resource; in rbug_screen_resource_get_handle()
278 struct rbug_resource *rb_resource = rbug_resource(_resource); in rbug_screen_resource_get_param() local
280 struct pipe_resource *resource = rb_resource->resource; in rbug_screen_resource_get_param()
295 struct rbug_resource *rb_resource = rbug_resource(_resource); in rbug_screen_resource_get_info() local
297 struct pipe_resource *resource = rb_resource->resource; in rbug_screen_resource_get_info()
307 struct rbug_resource *rb_resource = rbug_resource(_resource); in rbug_screen_resource_changed() local
309 struct pipe_resource *resource = rb_resource->resource; in rbug_screen_resource_changed()
[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_context.c1040 struct rbug_resource *rb_resource = rbug_resource(_resource); in rbug_context_create_sampler_view() local
1042 struct pipe_resource *resource = rb_resource->resource; in rbug_context_create_sampler_view()
1052 return rbug_sampler_view_create(rb_pipe, rb_resource, result); in rbug_context_create_sampler_view()
1070 struct rbug_resource *rb_resource = rbug_resource(_resource); in rbug_context_create_surface() local
1072 struct pipe_resource *resource = rb_resource->resource; in rbug_context_create_surface()
1082 return rbug_surface_create(rb_pipe, rb_resource, result); in rbug_context_create_surface()
1110 struct rbug_resource *rb_resource = rbug_resource(_resource); in rbug_context_transfer_map() local
1112 struct pipe_resource *resource = rb_resource->resource; in rbug_context_transfer_map()
1124 *transfer = rbug_transfer_create(rb_pipe, rb_resource, result); in rbug_context_transfer_map()
1171 struct rbug_resource *rb_resource = rbug_resource(_resource); in rbug_context_buffer_subdata() local
[all …]