OpenGL ES CTS fixes for passing on WGL
authorPiers Daniell <pdaniell@nvidia.com>
Wed, 4 Mar 2020 06:29:28 +0000 (23:29 -0700)
committerPiers Daniell <pdaniell@nvidia.com>
Wed, 11 Mar 2020 17:42:10 +0000 (11:42 -0600)
commit6718efacbbeab1e8df00d0cd272d654b19bec6af
tree98091306d2f5d4ec0fd9944a50857fc43f362010
parent1828eb3cf3ff6defc0b5d715886706c4009f370b
OpenGL ES CTS fixes for passing on WGL

When running cts-runner --type=es32 on a WGL platform it will pick up several
pixel formats for the default framebuffer that aren't supported correctly
by the existing OpenGL ES 3.2 tests.

1. OpenGL ES 3.2 CTS expects the platform to expose rgb565, but that is not
available on WGL and should not be a requirement of OpenGL ES 3.2
conformance. This CL disables rgb565 is a requirement for all non-Android
platforms, which extends the change originally made for X11 in
https://gerrit.khronos.org/#/c/4615/ for issue VK-GL-CTS issue: 1474.

2. The 10-bit+ bits per pixel component WGL pixel formats are skipped since
the existing OpenGL ES 3.2 tests, which use pixel transfer functions
like glReadPixels, and assume an 8-bit type, don't work correctly since
glReadPixels is not defined to do format and type conversions like it
does with OpenGL.

3. Default framebuffers with sRGB color space are skipped because
under OpenGL ES sRGB encoded will default for on in this case and the
existing OpenGL ES tests do not currently support a non-linear
default framebuffer. This is not a problem with OpenGL since with
OpenGL sRGB encoding has to be enabled explicitly.

Affects: cts-runner --type=es32 on WGL

Components: OpenGL

VK-GL-CTS issue: 2257

Change-Id: If12aff8c10571b7c0f72da618b13753c340a60c4
12 files changed:
external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.2.x/mustpass.xml
external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.3.x/mustpass.xml
external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.4.x/mustpass.xml
external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.5.x/mustpass.xml
external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.6.x/mustpass.xml
external/openglcts/data/mustpass/gles/aosp_mustpass/master/mustpass.xml
external/openglcts/modules/common/glcConfigListWGL.cpp
external/openglcts/modules/runner/CMakeLists.txt
external/openglcts/modules/runner/glcAospMustpassEs.hpp
external/openglcts/scripts/build_mustpass.py
framework/platform/win32/tcuWGL.cpp
framework/platform/win32/tcuWGL.hpp