virgl: use virgl_screen/surface upcast wrappers
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 28 Oct 2015 11:21:49 +0000 (11:21 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 30 Oct 2015 17:37:09 +0000 (17:37 +0000)
commitdafcb21405622eae3f8aa49000142f870549cc9b
tree5353e54eca3d8b1e0478439de9c5922544c2f23a
parent7af46b9c747cbd503a2b97f00f1c603f1b75aaff
virgl: use virgl_screen/surface upcast wrappers

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/virgl/virgl_context.c
src/gallium/drivers/virgl/virgl_encode.c
src/gallium/drivers/virgl/virgl_encode.h
src/gallium/drivers/virgl/virgl_resource.c
src/gallium/drivers/virgl/virgl_screen.h