EGL: Add wide-color tests
authorCourtney Goeltzenleuchter <courtneygo@google.com>
Mon, 19 Jun 2017 16:35:01 +0000 (10:35 -0600)
committerMika Isojärvi <misojarvi@google.com>
Tue, 18 Jul 2017 18:13:24 +0000 (11:13 -0700)
commit6a26fb1fd062558b912d18c76696fcb17c696894
treea3c95d368805fa8f2eb4f7f07446b6d4c6c9c5ba
parent0f5658c72b495abc614f34f99067d7c662670ac3
EGL: Add wide-color tests

Verify necessary extensions and functionality
is present to support wide-color. Specifically, pixel formats
FP16 and 10:10:10:2 and Display-P3 color space.

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"'

TODO:
- Do we need test for EGL_EXT_gl_colorspace_scrgb_linear?
  That should be no-op for driver.

Change-Id: I537a04b1680e33e46215c4bb583f6987d20f0b4a
29 files changed:
Android.mk
android/cts/master/egl-master.txt
external/fetch_sources.py
framework/egl/egluCallLogWrapper.inl
framework/egl/egluCallLogWrapperApi.inl
framework/egl/egluStrUtil.inl
framework/egl/egluStrUtilPrototypes.inl
framework/egl/wrapper/eglwEnums.inl
framework/egl/wrapper/eglwEnumsC.inl
framework/egl/wrapper/eglwFuncPtrLibraryDecl.inl
framework/egl/wrapper/eglwFuncPtrLibraryImpl.inl
framework/egl/wrapper/eglwFunctionTypes.inl
framework/egl/wrapper/eglwFunctions.inl
framework/egl/wrapper/eglwImpl.inl
framework/egl/wrapper/eglwImplExt.inl
framework/egl/wrapper/eglwInitCore.inl
framework/egl/wrapper/eglwInitExtensions.inl
framework/egl/wrapper/eglwLibrary.inl
framework/egl/wrapper/eglwStaticLibrary14.inl
framework/egl/wrapper/eglwStaticLibrary15.inl
framework/qphelper/qpTestLog.h
modules/egl/CMakeLists.txt
modules/egl/teglGetProcAddressTests.inl
modules/egl/teglTestPackage.cpp
modules/egl/teglWideColorTests.cpp [new file with mode: 0644]
modules/egl/teglWideColorTests.hpp [new file with mode: 0644]
scripts/egl/common.py
scripts/egl/enums.py
scripts/khr_util/registry_cache.py