Use sRGB encoded reference values for 8-bit Display P3 tests
authorWeiwan Liu <weiwliu@nvidia.com>
Wed, 26 Sep 2018 01:47:47 +0000 (18:47 -0700)
committerWeiwan Liu <weiwliu@nvidia.com>
Wed, 26 Sep 2018 17:54:25 +0000 (10:54 -0700)
commit89051d61768b3aa1a6cbb20a9bbef58d225f4fb0
tree1b3c642842f29fdf73f1e3d0994978978b564c51
parent19a58213e3e870bf258118bd3726c8783cd73b74
Use sRGB encoded reference values for 8-bit Display P3 tests

Per EGL_EXT_gl_colorspace_display_p3 spec, Display P3 assumes
sRGB transfer function. So use the reference values computed
in sRGB space for 8-bit Display P3 tests, instead of linear ones.

Components: AOSP
VK-GL-CTS issue: 1384

Affects:
dEQP-EGL.functional.wide_color.pbuffer_8888_colorspace_p3
dEQP-EGL.functional.wide_color.window_8888_colorspace_p3

Change-Id: I77cf0f84b3189ce4e64f28a83d771b21eccd9214
modules/egl/teglWideColorTests.cpp