summaryrefslogtreecommitdiff
path: root/vtest
AgeCommit message (Collapse)AuthorFilesLines
2016-02-10vtest: make some functions static.Dave Airlie1-2/+2
These functions are only used here. Signed-off-by: Dave Airlie <airlied@redhat.com>
2016-02-10vtest: fix shadowed variable usage.Dave Airlie1-2/+2
Call the input a different name. Signed-off-by: Dave Airlie <airlied@redhat.com>
2016-02-10vtest: fix potential leakMarc-André Lureau1-3/+1
Found that to american fuzzy lop & AddressSanitizer Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2016-02-10vtest: be reasonable about cmd lengthMarc-André Lureau1-0/+4
Avoid overflow, found thanks to AddressSanitizer & american fuzzy lop. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2016-02-10vtest: ensure name is ending with 0Marc-André Lureau1-1/+1
Always nice to have. Fix found thanks to american fuzzy lop. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2016-02-10vtest: fix simple potential leaksMarc-André Lureau1-2/+4
Found thanks to llvm scan-build. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2016-02-10vtest: fix some leaks on errorMarc-André Lureau1-2/+4
Found thanks to llvm scan-build. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2016-02-10vtest: allow to save/replay testsMarc-André Lureau3-35/+86
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>
2016-02-10vtest: fix vtestname leakMarc-André Lureau1-2/+8
Fix leaks found thanks to AddressSanitizer. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2016-01-21vtest: fail on renderer init failure.Dave Airlie1-3/+7
This stops us crashing later due to failing to init. Signed-off-by: Dave Airlie <airlied@redhat.com>
2016-01-21vtest: use VIRGL_RENDERER_THREAD_SYNCMarc-André Lureau1-1/+3
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>
2016-01-21vtest: only create fence before it's neededMarc-André Lureau1-6/+1
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>
2016-01-21vtest: use a poll fd if possibleMarc-André Lureau5-28/+92
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>
2015-04-20virglrenderer: add some more code licenesesDave Airlie4-1/+92
2015-04-01vtest: rename server and install itDave Airlie1-3/+3
2015-03-23build: fix make distcheckDave Airlie1-1/+5
2015-03-18renderer: use debug name in some more debug statementsDave Airlie1-3/+0
2015-03-18vtest: expect explicit initialisation with nameDave Airlie4-4/+24
this gets the cmdline passes to us
2015-03-17vtest: fix some warningsDave Airlie2-3/+2
2015-03-17vtest: add command line option to stop forkingDave Airlie1-15/+33
this makes it easier to apitrace this
2015-03-17vtest: drop more debugging printfsDave Airlie1-2/+0
2015-03-17vtest: ignore SIGCHLDDave Airlie1-0/+11
this allows us to ignore the death of the child process and avoid zombies.
2015-03-17vtest: support forking renderers.Dave Airlie2-18/+31
this should allow running piglits in parallel
2015-03-16vtest: add support for restarting after read errorDave Airlie3-24/+69
allows running a few times in a row
2015-03-16vtest: finish transfer, start adding fencesDave Airlie4-15/+231
2015-03-13vtest: create renderer earlierDave Airlie1-2/+2
2015-03-13vtest: hook up cmd submitDave Airlie3-0/+23
2015-03-13vtest: add a bit more codeDave Airlie4-4/+136
2015-03-13vtest: start adding vtest frameworkMarc-André Lureau4-0/+171
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.