Home
last modified time | relevance | path

Searched refs:rb_surface (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/rbug/
Drbug_objects.c86 struct rbug_surface *rb_surface; in rbug_surface_create() local
93 rb_surface = CALLOC_STRUCT(rbug_surface); in rbug_surface_create()
94 if(!rb_surface) in rbug_surface_create()
97 memcpy(&rb_surface->base, surface, sizeof(struct pipe_surface)); in rbug_surface_create()
99 pipe_reference_init(&rb_surface->base.reference, 1); in rbug_surface_create()
100 rb_surface->base.texture = NULL; in rbug_surface_create()
101 rb_surface->base.context = &rb_context->base; in rbug_surface_create()
102 rb_surface->surface = surface; /* we own the surface already */ in rbug_surface_create()
103 pipe_resource_reference(&rb_surface->base.texture, &rb_resource->base); in rbug_surface_create()
105 return &rb_surface->base; in rbug_surface_create()
[all …]
Drbug_objects.h198 struct rbug_surface *rb_surface);
Drbug_context.c1012 struct rbug_surface *rb_surface = rbug_surface(_surface); in rbug_context_surface_destroy() local
1016 rb_surface); in rbug_context_surface_destroy()