Dave Airlie
016341850c
tests: align viewports/scissor encoding with mesa.
...
This just realigns some of the encoder code with mesa.
9 years ago
Dave Airlie
3263d939b2
virglrenderer: add some more code liceneses
10 years ago
Dave Airlie
c098cd852b
tests: add a test that engages transform feedback
10 years ago
Dave Airlie
9259bc768e
renderer: handle transform feedback 2 and 3 extensions
...
This fixes a number of issues with how transform feedback works
it does requires ARB_transform_feedback3 to work at all, but
hopefully this extension is widespread enough, if not we can
revisit later.
It uses transform feedback objects to store the stream out
state.
10 years ago
Dave Airlie
0ff22a06b7
renderer: ABI break: overhaul viewport/scissor state
...
add support for multiple viewports, and reduce
viewport size.
10 years ago
Dave Airlie
ebcc110592
tests: make buffer size larger for bad stride test
10 years ago
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