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.c960 struct virgl_sampler_view *grview; in virgl_create_sampler_view() local
967 grview = CALLOC_STRUCT(virgl_sampler_view); in virgl_create_sampler_view()
968 if (!grview) in virgl_create_sampler_view()
975 grview->base = *state; in virgl_create_sampler_view()
976 grview->base.reference.count = 1; in virgl_create_sampler_view()
978 grview->base.texture = NULL; in virgl_create_sampler_view()
979 grview->base.context = ctx; in virgl_create_sampler_view()
980 pipe_resource_reference(&grview->base.texture, texture); in virgl_create_sampler_view()
981 grview->handle = handle; in virgl_create_sampler_view()
982 return &grview->base; in virgl_create_sampler_view()
[all …]