Lines Matching refs:grview
659 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()
707 struct virgl_sampler_view *grview = virgl_sampler_view(views[i]); in virgl_set_sampler_views() local
712 if (grview) { in virgl_set_sampler_views()
731 struct virgl_sampler_view *grview = virgl_sampler_view(view); in virgl_destroy_sampler_view() local
733 virgl_encode_delete_object(vctx, grview->handle, VIRGL_OBJECT_SAMPLER_VIEW); in virgl_destroy_sampler_view()