[Piglit] [PATCH 5/5] glx-buffer-age: Test with vblank_mode=0.

Eric Anholt eric at anholt.net
Fri Mar 7 16:45:04 PST 2014


Reveals a problem with the current set of mesa patches.
Interestingly, glXSwapIntervalMESA(0) doesn't produce the same
behavior.
---
 tests/all.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/all.py b/tests/all.py
index 4a2dc01..98b1b94 100644
--- a/tests/all.py
+++ b/tests/all.py
@@ -706,6 +706,8 @@ add_plain_test(glx, 'glx-swap-singlebuffer')
 add_plain_test(glx, 'glx-make-current')
 add_plain_test(glx, 'glx-make-glxdrawable-current')
 add_plain_test(glx, 'glx-buffer-age')
+glx['glx-buffer-age vblank_mode=0'] = plain_test('glx-buffer-age')
+glx['glx-buffer-age vblank_mode=0'].env['vblank_mode'] = '0'
 add_concurrent_test(glx, 'glx-pixmap-life')
 add_concurrent_test(glx, 'glx-pixmap13-life')
 add_concurrent_test(glx, 'glx-pixmap-multi')
-- 
1.9.0



More information about the Piglit mailing list