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
|
ca38be7a2d
|
renderer: check transfer read/write args better.
This confirms the transfer read/write args are non-NULL
|
10 years ago |
Dave Airlie
|
7104e97418
|
tests: start adding iov attach/detach tests
|
10 years ago |
Dave Airlie
|
6a2d49f37a
|
renderer: check detach_iov interface
check the return values aren't NULL
|
10 years ago |
Dave Airlie
|
eedc194402
|
tests: test trying to recreate ctx 0, and destroy context no created
|
10 years ago |
Dave Airlie
|
3d91ff730e
|
renderer: cleanup context create errors and context destroy
|
10 years ago |
Dave Airlie
|
d30144b6aa
|
renderer: consolidate on errno return values
|
10 years ago |
Dave Airlie
|
14b6e99bb1
|
renderer: protect against null debug name
|
10 years ago |
Dave Airlie
|
57ca6830eb
|
renderer: only write get_cursor_contexts if required
|
10 years ago |
Dave Airlie
|
f4954eb617
|
tests: test for NULL caps return
|
10 years ago |
Dave Airlie
|
1f4f6912e7
|
renderer: don't fill into a NULL caps
|
10 years ago |
Dave Airlie
|
159dafe1a1
|
tests: add some tests for illegal attach/detach
|
10 years ago |
Dave Airlie
|
7b4bb33ce4
|
renderer: protect attach/detach resource against illegal inputs
make sure we find the context and resource for 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
|
8b423dc28a
|
renderer: fixup get_info interface
don't overwrite memory if we get a bad res or info,
return the gbm and virgl formats
use errno return values
|
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 |
Dave Airlie
|
96e1b0b693
|
renderer: reset decode contexts in two stages
reset the non-0 contexts first, then kill resource
table, then nuke the 0 context.
|
10 years ago |
Dave Airlie
|
38685b314b
|
tests: test flags combinations.
|
10 years ago |
Dave Airlie
|
cbbf679c2f
|
renderer: test legal flags for resource creation
|
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
|
c949d36a00
|
renderer: add more restrictions on resource interface.
This restricts a bunch of illegal combinations on the
resource creation interface
|
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
|
bf8a951c1e
|
renderer: fix reset to use ctx 0
switch to ctx 0 before removing resources
|
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 |
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
|
d43773a7b6
|
renderer: start validating the arguments to resource creation
This will refuse to create resources with some illegal arguments
|
10 years ago |
Dave Airlie
|
c61fbd03ca
|
tests: add license headers
|
10 years ago |
Dave Airlie
|
4e69e3f8ac
|
tests: update ctx reset test
|
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 |
Dave Airlie
|
797dfc028b
|
valgrind: make the egl suppression more general
|
10 years ago |
Dave Airlie
|
d44ec6aba8
|
tests: add a test to call the reset hooks.
This tests the reset interface.
|
10 years ago |
Dave Airlie
|
86cfc6729f
|
renderer: reinit after reset
if we get reset called we need to reinit certains things
we've destroyed.
|
10 years ago |
Dave Airlie
|
d081aba9bf
|
tests: add test to leak context and make sure it gets destroyed
|
10 years ago |
Dave Airlie
|
f6af5914b0
|
renderer: destroy all contexts on renderer finish
|
10 years ago |
Dave Airlie
|
64154337c2
|
add .gitignore
|
10 years ago |
Dave Airlie
|
ff4d88ae5c
|
tests: test dangling resources.
If we leave a resource in the resource table it shouldn't cause
a memory leak.
|
10 years ago |
Dave Airlie
|
aef2ec2e78
|
renderer: cleanup dangling resources.
if a context goes away we should cleanup any resources
left in its resource hash table.
|
10 years ago |
Dave Airlie
|
4920fc6d1d
|
tests: create and bind a resource to a context
cleanup properly and make sure no leaks.
|
10 years ago |
Dave Airlie
|
474591db5f
|
renderer: fix extra whitespace
|
10 years ago |
Dave Airlie
|
4de668a972
|
tests: add simple test case to init a context and tear it down
This just checks we don't leak memory on context init/teardown.
|
10 years ago |
Dave Airlie
|
8ea7848b6e
|
virglrenderer: fix some memory leaks on cleanup
Writing some unit tests with valgrind, showed we don't always
cleanup properly fix that.
|
10 years ago |
Dave Airlie
|
f38615b5e3
|
tests: call cleanup interface
This calls the cleanup interface.
|
10 years ago |
Dave Airlie
|
3ef1317b81
|
renderer: add renderer cleanup interface
this just tears down the EGL stuff for now
|
10 years ago |