Gert Wollny
5a472049a3
tests: Make it possible to run the unit tests with EGL_SURFACELESS
...
For some reason it is not possible to create a normal EGL context when
a mesa software renderer is used as a backend, and hence the unit tests
will all fail. Make it possible to force a surfaceless EGL context by
specifying the environment variable
VRENDTEST_USE_EGL_SURFACELESS=1
Reviewed-by: Jakob Bornecrantz <jakob@collabora.com>
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>
6 years ago
Elie Tournier
8007cc0b12
tests: Check if multisample is available before running tests
...
Signed-off-by: Elie Tournier <elie.tournier@collabora.com>
Signed-off-by: Jakob Bornecrantz <jakob.bornecrantz@collabora.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
7 years ago
Elie Tournier
a4fbf0d8a5
tests: Check if geometry shaders are available before running tests
...
Signed-off-by: Elie Tournier <elie.tournier@collabora.com>
Signed-off-by: Jakob Bornecrantz <jakob.bornecrantz@collabora.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
7 years ago
Marc-André Lureau
83faf22c16
tests: reset last fence before using it
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
9 years ago
Dave Airlie
c6fd7d55ac
tests: add flush callback to test large transfers
10 years ago
Marc-André Lureau
0d033a1380
tests: add testvirgl_create_backed_simple_1d_res
10 years ago
Dave Airlie
fcaeadc4ad
tests: add fence handling
...
This adds a basic fence handling interface.
10 years ago
Dave Airlie
bdb49d5636
tests: modify some test utility functions
...
add w/h version for texture 2d
add backed buffer binding fn.
10 years ago
Dave Airlie
50ccab6f6c
tests: add a simple backed resource creation utility
...
Then hook the cmd stream test into it to use it.
10 years ago
Dave Airlie
94946a6ea6
tests: add framework to create a context with a command buffer.
10 years ago
Dave Airlie
688017b73f
tests: start adding encoder code to test harness
...
This is to allow testing the cmd stream.
Signed-off-by: Dave Airlie <airlied@redhat.com>
10 years ago
Dave Airlie
99ae4f7a89
tests: add initial transfer API tests
10 years ago
Dave Airlie
2c32b28002
tests: add simple buffer test
10 years ago
Dave Airlie
4240d2e8f5
tests: add simple 2d resource creation helper
10 years ago
Dave Airlie
f7f37ee24e
tests: add simple ctx init/fini handlers
10 years ago
Dave Airlie
c61fbd03ca
tests: add license headers
10 years ago
Dave Airlie
8e391a0b86
tests: start adding a reuseable test library
...
Initial function is just a simple resource create for a 1D resource
10 years ago