Dave Airlie
|
621629e32f
|
tests: add 2d array bad layer stride
pass a layer stride too small for other dimensions
|
10 years ago |
Dave Airlie
|
53ab094df9
|
tests: use a box with height to test stride validation
|
10 years ago |
Dave Airlie
|
a423879e87
|
tests: don't pass a bad stride in validation tests
|
10 years ago |
Dave Airlie
|
93072467c4
|
tests: add bad stride test
stride shouldn't be less than resource width
|
10 years ago |
Dave Airlie
|
5fd93680a7
|
tests: don't pass a stride to bad level test
|
10 years ago |
Dave Airlie
|
ee10a18ef5
|
tests: add transfer test with a bad level.
|
10 years ago |
Dave Airlie
|
22f2944e52
|
tests: don't pass a layer stride on the transfer tests
|
10 years ago |
Dave Airlie
|
1f9ab04501
|
tests: do some tests for layer stride with bad texture types
|
10 years ago |
Dave Airlie
|
a6a0b09d5e
|
tests: drop unused test
this is subsumed into other tests
|
10 years ago |
Dave Airlie
|
5f7031e117
|
tests: add mipmap tests to resource creation
|
10 years ago |
Dave Airlie
|
9006de318e
|
tests: more inline transfer tests
This adds code to the encoder that needs to be backported
to the mesa virgl driver to support inline writes for
non-buffer objects.
|
10 years ago |
Dave Airlie
|
44d4cf4fd3
|
tests: add option to test harness for large buffer
|
10 years ago |
Dave Airlie
|
60ee9c4457
|
tests: allocate cmd buf to correct size
the value is in dwords, so calloc the correct size.
|
10 years ago |
Dave Airlie
|
c6fd7d55ac
|
tests: add flush callback to test large transfers
|
10 years ago |
Dave Airlie
|
052835544f
|
tests: add overlapping id test
|
10 years ago |
Dave Airlie
|
5109a1ff26
|
tests: add new transfer tests
this does a transfer per resource type, also start
adding inline transfer tests, these need a bit more work
|
10 years ago |
Dave Airlie
|
88b48d0606
|
tests: add transfer test with bad offset
We need to take offset into account when doing transfer size testing.
|
10 years ago |
Dave Airlie
|
5783d84b30
|
egl: overhaul the fourcc retrieval function
We really need a new mesa interface that works properly for all this.
|
10 years ago |
Marc-André Lureau
|
ac99dd02bd
|
tests: check cursor resource creation
|
10 years ago |
Dave Airlie
|
c3fc63ff74
|
tests: add simple geom shader tests
Draws a triangle but engages the geom shader in the process.
|
10 years ago |
Dave Airlie
|
4a6383f4ce
|
build: make distcheck work
Mostly taken from Marc's branch, just didn't change
as much stuff around
|
10 years ago |
Dave Airlie
|
7234a2e25b
|
tests: use proper handle for surface
this fixes the test to use a correct handle.
|
10 years ago |
Dave Airlie
|
ee3abc1fc8
|
tests: destory vbo in simple rendering test
|
10 years ago |
Marc-André Lureau
|
f66acaff87
|
tests: add check of bad iov write
|
10 years ago |
Marc-André Lureau
|
9ae41c26fe
|
tests: add virgl_test_transfer_1d
Add a working case
|
10 years ago |
Marc-André Lureau
|
0d033a1380
|
tests: add testvirgl_create_backed_simple_1d_res
|
10 years ago |
Dave Airlie
|
b76bbe4f22
|
tests: add simple rendering test
This clears a buffer and renders a triangle to it
it just confirms something is drawn
|
10 years ago |
Dave Airlie
|
91ec75a503
|
tests: allow passing shader strings directly.
This makes writing tests using text shaders possible
|
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
|
1c29fc4176
|
build: add DEFINES to test build
this picks up the _GNU_SOURCE in the tests.
|
10 years ago |
Dave Airlie
|
27666d855f
|
tests: add a simple blitter test
this just blits a piece from one resource to another, then
reads back the second one.
|
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
|
31c561de14
|
tests: add a cmdbuf test that verifies a clear on a buffer.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
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 |
Marc-André Lureau
|
9fcf1e0ec0
|
build-sys: add git.mk
|
10 years ago |
Marc-André Lureau
|
49e125abc1
|
tests: add more valgrind.suppressions
|
10 years ago |
Dave Airlie
|
6b04d57ec4
|
tests: add more transfer box tests
These test some of the box bounds.
|
10 years ago |
Dave Airlie
|
67fb0def2d
|
tests: test return value from transfer functions
|
10 years ago |
Dave Airlie
|
fe4d670752
|
tests: reorg init tests into one with a standard init sequence
|
10 years ago |
Dave Airlie
|
99ae4f7a89
|
tests: add initial transfer API tests
|
10 years ago |
Dave Airlie
|
7104e97418
|
tests: start adding iov attach/detach tests
|
10 years ago |
Dave Airlie
|
eedc194402
|
tests: test trying to recreate ctx 0, and destroy context no created
|
10 years ago |
Dave Airlie
|
f4954eb617
|
tests: test for NULL caps return
|
10 years ago |
Dave Airlie
|
159dafe1a1
|
tests: add some tests for illegal attach/detach
|
10 years ago |
Dave Airlie
|
0e19ae8014
|
tests: test trying to detach a resource we never attached.
Just makes sure we don't corrupt memory of do anything dumb
|
10 years ago |
Dave Airlie
|
e4e889dfa5
|
tests: add get_resource_info tests
|
10 years ago |
Dave Airlie
|
c396c1af7e
|
tests: test sampler view buffer binding
|
10 years ago |
Dave Airlie
|
259fd7ea04
|
tests: add capability retrival tests
|
10 years ago |