Marc-André Lureau
0f01f30fb2
vtest: fix simple potential leaks
...
Found thanks to llvm scan-build.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
9 years ago
Marc-André Lureau
1edf354bf8
vtest: fix some leaks on error
...
Found thanks to llvm scan-build.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
9 years ago
Marc-André Lureau
1b736c547a
vtest: allow to save/replay tests
...
This is useful to do some quite accurate comparative
benchmarks/profiling, and to run fuzzers, such as american fuzzy lop.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
9 years ago
Marc-André Lureau
602e68705e
vtest: fix vtestname leak
...
Fix leaks found thanks to AddressSanitizer.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
9 years ago
Dave Airlie
66708981de
vtest: fail on renderer init failure.
...
This stops us crashing later due to failing to init.
Signed-off-by: Dave Airlie <airlied@redhat.com>
9 years ago
Marc-André Lureau
7c3927ce08
vtest: use VIRGL_RENDERER_THREAD_SYNC
...
Built-in EGL supports threaded contexts, so enable sync thread.
Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
9 years ago
Marc-André Lureau
a603f027aa
vtest: only create fence before it's needed
...
Just as bad as waiting only for the last fence, after all.
Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
9 years ago
Marc-André Lureau
47559de28d
vtest: use a poll fd if possible
...
For the same glmark2 "build" test, perf reports about half
instructions.
Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
9 years ago
Dave Airlie
3263d939b2
virglrenderer: add some more code liceneses
10 years ago
Dave Airlie
d94bbd440c
vtest: rename server and install it
10 years ago
Dave Airlie
dfce1b852f
build: fix make distcheck
10 years ago
Dave Airlie
e416e18569
renderer: use debug name in some more debug statements
10 years ago
Dave Airlie
962d14f0a7
vtest: expect explicit initialisation with name
...
this gets the cmdline passes to us
10 years ago
Dave Airlie
a49e95abbe
vtest: fix some warnings
10 years ago
Dave Airlie
b5407f6602
vtest: add command line option to stop forking
...
this makes it easier to apitrace this
10 years ago
Dave Airlie
f17d4783c0
vtest: drop more debugging printfs
10 years ago
Dave Airlie
c73a1d3f8f
vtest: ignore SIGCHLD
...
this allows us to ignore the death of the child process
and avoid zombies.
10 years ago
Dave Airlie
54d8c08748
vtest: support forking renderers.
...
this should allow running piglits in parallel
10 years ago
Dave Airlie
0a3ccfcb01
vtest: add support for restarting after read error
...
allows running a few times in a row
10 years ago
Dave Airlie
1e9560f092
vtest: finish transfer, start adding fences
10 years ago
Dave Airlie
020b8307e1
vtest: create renderer earlier
10 years ago
Dave Airlie
f8a2c57692
vtest: hook up cmd submit
10 years ago
Dave Airlie
437c841b7e
vtest: add a bit more code
10 years ago
Marc-André Lureau
0b27e44304
vtest: start adding vtest framework
...
The idea is to have a unix socket and possible shmem protocol
between a renderering server and local gallium sw driver.
This could be used to validate virgl without qemu with piglit.
10 years ago