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
Dave Airlie
332b82e6e3
tests: make some functions static.
9 years ago
Dave Airlie
5f7031e117
tests: add mipmap tests to resource creation
10 years ago
Marc-André Lureau
ac99dd02bd
tests: check cursor resource creation
10 years ago
Dave Airlie
c396c1af7e
tests: test sampler view buffer binding
10 years ago
Dave Airlie
38685b314b
tests: test flags combinations.
10 years ago
Dave Airlie
fdc64af424
tests: overhaul resource tests.
...
This overhauls the resource tests to use loops and a couple
of tables for all the simple validation.
10 years ago
Dave Airlie
abedc608f3
tests: add resource buffer with depth and samples
10 years ago
Dave Airlie
3ec5982dc4
tests: add buffer with height
10 years ago
Dave Airlie
2c32b28002
tests: add simple buffer test
10 years ago
Dave Airlie
051bf2d40e
tests: add array tests to resource test
10 years ago
Dave Airlie
ae6a662940
tests: add initial resource tests
...
This tests some illegal resource creation types.
10 years ago