util/gl: Support creation of forward-compatible contexts

Graphics / Mesa 3D Graphics Library / Piglit - Chad Versace [linux.intel.com] - 10 January 2014 15:04 UTC

Add a new boolean flag to the PIGLIT_GL_TEST_CONFIG block, `config.require_forward_compatible_context`. If the test is unable to create a foward-compatible context, then the test skips.

a8a75c4 util/gl: Support creation of forward-compatible contexts
tests/util/piglit-framework-gl.h | 9 +++++++
.../piglit-framework-gl/piglit_wfl_framework.c | 27 ++++++++++++++------
2 files changed, 28 insertions(+), 8 deletions(-)

Upstream: cgit.freedesktop.org


  • Share