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)
v3: use EGL_NONE instead of DE_NULL when indicating that test
should use the default colorspace. That is do not include
the EGL_GL_COLORSPACE_KHR attribute in the appropriate
create function.
Test: adb -d shell am start \
-n com.drawelements.deqp/android.app.NativeActivity \
-e cmdLine '"deqp --deqp-case=dEQP-EGL.functional.wide_color.* \
--deqp-log-filename=/sdcard/dEQP-Log.qpa"'
Bug:
65291400
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
(cherry picked from commit
fbf132dcf9467388408627bee73d90f7e8a1d401)
Change-Id: I6bd6423e6eb5fe4bb4df0222ab624c41446b0b60