gles2: Add tests for EXT_clip_control
authorGert Wollny <gert.wollny@collabora.com>
Wed, 15 May 2019 10:12:06 +0000 (12:12 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 27 Jun 2019 12:16:08 +0000 (08:16 -0400)
commit1bc91b14a2c414b6810b2e748e0870c70c5a5108
tree2967ebcb08c8b4dbd8154403f3383f5682eb77d0
parenta73ad78946c44a0bffe62e15a0ed082ce1317bbd
gles2: Add tests for EXT_clip_control

These teste are a port of gl4cClipControlTests.cpp/hpp to GLES2.

Apart from requiring EXT_clip_control the depth range tests also make
use of functionality from NV_read_depth.

v2: - Fix include protector
    - test NV_read_depth in init function instead of using the constructor
    - squash commits into one (alegal-arm)

v3: - Fix copy-paste error (Tapani Pälli)
    - Update license year

v4: Add new tests to Khronos test list (Alexandros Galazin)

v5: Correct GLES version in comment (Alexander Galazin)

v6: - Fix comment for header guard
    - Replace use of NV_read_depth by a resolve draw of the depth buffer
      to a RGBA surface (James Glanville)

Change-Id: Ib6610552798b5a48445f4e2d490c72421460d4cf
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
AndroidGen.mk
android/cts/master/gles2-master.txt
external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.5.x/gles2-master.txt
external/openglcts/data/mustpass/gles/aosp_mustpass/master/gles2-master.txt
framework/opengl/wrapper/glwEnums.inl
framework/opengl/wrapper/glwInitExtES.inl
modules/gles2/functional/CMakeLists.txt
modules/gles2/functional/es2fClipControlTests.cpp [new file with mode: 0644]
modules/gles2/functional/es2fClipControlTests.hpp [new file with mode: 0644]
modules/gles2/functional/es2fFunctionalTests.cpp
scripts/opengl/src_util.py