Chris Wilson
1c95b7e811
test/dri2-test: Add WaitMSC accuracy tests
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk >
2016-02-03 09:58:05 +00:00
Chris Wilson
84e824873b
test/dri2-race: Capture race between window-manger and clients
...
If the window manager closes the Window before the client disconnects,
we can end up with a blocked client as dri2 does not call AttendClient()
in its DRI2DrawableGone.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk >
2016-02-02 17:19:48 +00:00
Chris Wilson
459efa036e
test/dri2: Reset swap-interval after testing async swapping
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk >
2015-04-02 22:50:54 +01:00
Chris Wilson
3c3f7d7df4
test/dri2: Check vblank waits
...
Make sure that waiting 60 times for a vblank, 60 msc pass
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk >
2015-04-02 22:50:19 +01:00
Chris Wilson
2e7ae76038
test/dri2: Use xcb for more accurate timing of SwapBuffers
...
To do SwapBuffers correctly requires a Swap/Get buffers combination, and
this is easiest using xcb rather than xlib.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk >
2015-01-28 11:46:43 +00:00
Chris Wilson
f2b2b6eda0
test/dri2: Use the right device node
...
Use the device node as instructed by Xorg.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk >
2014-07-23 13:55:39 +01:00
Chris Wilson
d3781e19cf
test/dri2: Restore original configuration after testing
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk >
2014-05-23 11:21:47 +01:00
Chris Wilson
c8decdbccd
test/dri2: Check validity of MSC across CRTC
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk >
2014-05-23 09:49:05 +01:00
Chris Wilson
76790db4e6
test: Exercise flips/blit swaps on each pipe
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk >
2013-09-12 15:25:19 +01:00