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.c89 struct rbug_surface *rb_surface; in rbug_surface_create() local
96 rb_surface = CALLOC_STRUCT(rbug_surface); in rbug_surface_create()
97 if (!rb_surface) in rbug_surface_create()
100 memcpy(&rb_surface->base, surface, sizeof(struct pipe_surface)); in rbug_surface_create()
102 pipe_reference_init(&rb_surface->base.reference, 1); in rbug_surface_create()
103 rb_surface->base.texture = NULL; in rbug_surface_create()
104 rb_surface->base.context = &rb_context->base; in rbug_surface_create()
105 rb_surface->surface = surface; /* we own the surface already */ in rbug_surface_create()
106 pipe_resource_reference(&rb_surface->base.texture, &rb_resource->base); in rbug_surface_create()
108 return &rb_surface->base; in rbug_surface_create()
[all …]
Drbug_objects.h198 struct rbug_surface *rb_surface);
Drbug_context.c1075 struct rbug_surface *rb_surface = rbug_surface(_surface); in rbug_context_surface_destroy() local
1079 rb_surface); in rbug_context_surface_destroy()