Updated version with changes requested by Tapani and Ken included (the test won't fail if we can't create a high priority context, in case we lack the right permissions.
This series is also available here: https://gitlab.freedesktop.org/rantogno/piglit/commits/review/context_preemption_v2 Rafael Antognolli (7): tests: Add base test for mid-command preemption. egl-context-preemption: Add check for high priority contexts. egl-context-preemption: Add a high priority thread/context. egl-context-preemption: check that preemption actually happened. egl-context-preemption: Add a subtest to reuse the same display. egl-context-preemption: Check that the rendering was correct. tests: Add preemption test to the opengl profile. tests/egl/CMakeLists.gl.txt | 2 + tests/egl/egl-context-preemption.c | 793 +++++++++++++++++++++++++++++ tests/opengl.py | 2 + 3 files changed, 797 insertions(+) create mode 100644 tests/egl/egl-context-preemption.c -- 2.19.1 _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/piglit