Require EGL_KHR_gl_colorspace for wide_color tests.
authorTapani Pälli <tapani.palli@intel.com>
Mon, 28 Aug 2017 06:20:53 +0000 (09:20 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 29 Aug 2017 04:50:01 +0000 (07:50 +0300)
commit2a3edba962ff9efe07a759bfdc763e50d5400ecc
tree073dcf3d394c35e3b0d233bb7095dc10affb2ed2
parent923d047106727ea91e50f71d42e08aa08abb643f
Require EGL_KHR_gl_colorspace for wide_color tests.

These tests utilize enum EGL_GL_COLORSPACE_KHR which is introduced by
EGL_KHR_gl_colorspace extension, check first for support and skip the
test if extension is not supported.

v2: loosen the check, only check when enum in use (Courtney)

Change-Id: I891a6fdcce49ac6dcd42577076d4cf64a143dd38
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
modules/egl/teglWideColorTests.cpp