virgl: introduce and use virgl_transfer/texture/resource inline wrappers
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 28 Oct 2015 11:14:02 +0000 (11:14 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 30 Oct 2015 17:37:09 +0000 (17:37 +0000)
commit7af46b9c747cbd503a2b97f00f1c603f1b75aaff
tree0970fb5071007a6b88d7448841b11a2a85450e8d
parent6b123fa07ff9d73d6e67416c2372eab5c17282b6
virgl: introduce and use virgl_transfer/texture/resource inline wrappers

The only two remaining cases of (struct virgl_resource *) require a
closer look. Either the error checking is missing or the arguments
provided feel wrong.

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