virgl: Hide internal virgl_resource functions
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>
Fri, 5 Jul 2019 13:08:43 +0000 (16:08 +0300)
committerChia-I Wu <olvaffe@gmail.com>
Sun, 7 Jul 2019 02:30:38 +0000 (19:30 -0700)
commit4271430dd75f5a05ade6040c5daa57e901ebdef5
tree7d5b1c06420438ff9b2077d032d7252bbddc2a32
parente5b54d001897b44cc75c8d5ca15330fd9d26af8a
virgl: Hide internal virgl_resource functions

Since the transition to virgl_resource_transfer_map(), several
previously public virgl_resource functions are not required to be public
anymore.

We also move the functions earlier in the file so they can be used
without functions declarations.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/drivers/virgl/virgl_resource.c
src/gallium/drivers/virgl/virgl_resource.h