Fixes to EGL.functional.hdr_metadata.* tests
authorTapani Pälli <tapani.palli@intel.com>
Mon, 26 Mar 2018 12:10:16 +0000 (15:10 +0300)
committerChris Forbes <chrisforbes@google.com>
Tue, 27 Mar 2018 22:17:53 +0000 (22:17 +0000)
commitad02e8d4bcbb06c8b1be78c2f2a0f7dafabd27d8
treebfe546b11576da50194ebe6f9f2d7caaccc814f8
parentfda2c834a5080fcac4473f1960bb0226a532d890
Fixes to EGL.functional.hdr_metadata.* tests

- Adjust given values to fit uint16_t (range used in smpte2086
  and cta861.3 specs).

- Allow EGL_BAD_PARAMETER error happen when setting parameters,
  per spec this means values passed are not supported by the
  implementation. Output attribute and given values in this
  case for debugging purposes.

v2: skip unsupported but check supported attributes (Courtney)

Change-Id: I1f386b414c95e65d3532bf10719dc7671e826489
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
(cherry picked from commit 07048b63e90dc2c1e89c069535bb7958a128f887)

Bug: 77150763
Change-Id: Ia0401e760d863a85707f98dd2a1e7e7f268f5597
Test: run on pixel
modules/egl/teglWideColorTests.cpp