Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_context.c659 struct virgl_sampler_view *grview; in virgl_create_sampler_view() local
666 grview = CALLOC_STRUCT(virgl_sampler_view); in virgl_create_sampler_view()
667 if (!grview) in virgl_create_sampler_view()
674 grview->base = *state; in virgl_create_sampler_view()
675 grview->base.reference.count = 1; in virgl_create_sampler_view()
677 grview->base.texture = NULL; in virgl_create_sampler_view()
678 grview->base.context = ctx; in virgl_create_sampler_view()
679 pipe_resource_reference(&grview->base.texture, texture); in virgl_create_sampler_view()
680 grview->handle = handle; in virgl_create_sampler_view()
681 return &grview->base; in virgl_create_sampler_view()
[all …]