virgl/vtest: add vtest driver
authorDave Airlie <airlied@gmail.com>
Fri, 13 Mar 2015 04:15:47 +0000 (14:15 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 23 Oct 2015 04:40:07 +0000 (14:40 +1000)
commitb3b82fe8ea1f7d02c93513920143cba2fe145b6c
tree86874c8f56b552d55c63ee6f7d0648c3202fe815
parenta8987b88ff1db4ac00720a9b56c4bc3aeb666537
virgl/vtest: add vtest driver

virgl/vtest is a swrast driver that allows the
virgl acceleration to be tested without having
a virtual machine.

The backend has a unix socket server that
this connects to.

This is run by setting
LIBGL_ALWAYS_SOFTWARE=y
GALLIUM_DRIVER=virpipe

In this mode all renderering is sent over
a socket to the remote renderer, and the
results are readback and copies to the screen
using drisw. This works well enough to develop
new features and to help debug.

Signed-off-by: Dave Airlie <airlied@redhat.com>
configure.ac
src/gallium/Makefile.am
src/gallium/auxiliary/target-helpers/inline_sw_helper.h
src/gallium/drivers/virgl/Automake.inc
src/gallium/winsys/virgl/vtest/Makefile.am [new file with mode: 0644]
src/gallium/winsys/virgl/vtest/Makefile.sources [new file with mode: 0644]
src/gallium/winsys/virgl/vtest/virgl_vtest_public.h [new file with mode: 0644]
src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c [new file with mode: 0644]
src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c [new file with mode: 0644]
src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.h [new file with mode: 0644]
src/gallium/winsys/virgl/vtest/vtest_protocol.h [new file with mode: 0644]