New Tests:
 * Add GL_RGB9_E5 as renderable ext format in fbo tests
 * Add a new GLES2TextureSharingTest
 * Support FP16 CPU Rendering
 * Tests for OpenGL ES 3.1 and 3.2 compressed formats
 * Allow EGL tests to use ES3 with EGL_KHR_create_context
 * Added layered AHB EGL tests
 * Rework platform memory limits
 * Add yuv420 format to EGL AHB tests
 * Mirror existing ANGLE waiver for Samsung devices

 * Fix glcPackedPixelsTests to properly account for skip images
 * Query default FBO Depth, Stencil only when format requires
 * Remove invalid reserved keywords tests
 * Fix source data size in SSBO array length tests
 * Fix signed integer overflow
 * Fix tessellation cases using precise qualifier for OpenGL 4.5
 * Check support for EGL 1.5 or higher when using GLES3
 * Fix signed integer overflow in vertex array tests
 * Avoid OOB params access in call log wrapper
 * Fix shader operator tests' precision expectation
 * Fix OpenGL implicit conversions tests
 * GCC 11 build fixes for opengl-es-cts
 * Fix for the various multisample tests with GL 4.5
 * Throttling CTS producing frame speed
 * Fix sRGB cases in framebuffer_fetch tests for OpenGL 4.5
 * Increase tolearance for dithering tests
 * Fix compilation issues with ShaderLibraryCase assert
 * Improve max image samples check in KHR-GL46.multi_bind test
 * Use the correct attachment parameter when not the default FBO
 * Fix bug in compressed PixelStorageModes tests
 * Accept NaN as valid in atan2 precision tests
 * Relax get_frame_timestamps
 * Fix vector access in EGL partial update tests
 * Fix uninitialized local variables in generated shader.
 * Add memoryBarrier before buffer map verify
 * Pad out glClearBufferuiv value
 * Fix for the bounding box tests with GL 4.5
 * Fix loop over cube map faces in GL4
 * Fix fma precision tests for Open GL 4.5
 * Regenerate main/gl45-master.txt
 * Add check for ES compatibility extensions with Desktop OpenGL
 * Add missing extension requirement
 * Fix for the common function tests with GL 4.5
 * Fix GLES3 Clang UBSan errors
 * Fix to multisample texture test shaders with GL 4.5
 * Avoid shifting by more than bit width
 * Fix error logs in ssbo/image load store tests
 * Remove direct state access usage from RenderbufferCase
 * Enable the dEQP-GL45 package on Android
 * Check for integer texture support in negative teximage tests
 * Fix out-of-bounds stack read
 * Remove shaders.arrays from the Khronos mustpass
 * Remove few EGL robustness tests
 * Fix array iteration range
 * x11_egl: only append library path if it's not empty

 * Remove unreachable breaks
 * Remove unused test cases from gen-keywords script
 * Update Android API and permissions for OpenGL
 * Extract findLSB() and findMSB() to a separate helper file.
 * Work around bogus GCC 9 warnings
 * Allow the use of the standard types
 * Remove extra semicolons
 * Fix error in
 * Implement getProcAddress for surfaceless platform
 * Switch the branch to the main mustpass
 * Fix Clang -Wcomma warnings
 * Update KC-CTS for MR40
Use the correct attachment parameter when not the default FBO

When using glGetFramebufferAttachmentParameteriv to query the
currently bound framebuffer, the attachment parameter is
different depending on whether the framebuffer is the default
framebuffer or not.

For the default framebuffer GL_DEPTH and GL_STENCIL can be
used, but for non-default these are invalid and

This CL updates the changes in CL 8180 and CL 8629 to
use the correct attachment parameter when not using
the default framebuffer.

VK-GL-CTS issue: 3092


Test both with and without: --deqp-surface-type=fbo

Change-Id: Id5f27405861ec62b5fdd84e1a4c2668d8cb272a1
1 file changed
tree: 4e54c34c66164876337afda23eb2d4344580b686
  1. .github/
  2. android/
  3. data/
  4. doc/
  5. execserver/
  6. executor/
  7. external/
  8. framework/
  9. modules/
  10. scripts/
  11. targets/
  12. .editorconfig
  13. .gitattributes
  14. .gitignore
  17. CMakeLists.txt
  21. NOTICE
  22. OWNERS


This repository contains a GPU testing suite called dEQP (drawElements Quality Program). dEQP contains tests for several graphics APIs, including OpenGL ES, EGL, and Vulkan.


Up-to-date documentation for the dEQP is available at Android Open Source Project site.

The .qpa logs generated by the conformance tests may contain embedded PNG images of the results. These can be viewed with scripts/qpa_image_viewer.html, by opening the file with a web browser and following its instructions, or using the Cherry tool.

Khronos Vulkan Conformance Tests

This repository includes Khronos Vulkan CTS under external/vulkancts directory. For more information see Vulkan CTS README.

Khronos OpenGL / OpenGL ES Conformance Tests

This repository includes Khronos OpenGL / OpenGL ES CTS under external/openglcts directory. For more information see OpenGL / OpenGL ES CTS README.

ANGLE for Android

ANGLE can be built for Android by following the instructions here.

The resulting ANGLE shared object libraries can be linked against and embedded into dEQP.apk with the --angle-path option. This will cause dEQP.apk to use the ANGLE libraries for OpenGL ES calls, rather than the native drivers.

An ABI must be specified and the directory structure containing the ANGLE shared objects must match it so the build system can find the correct *.so files.

Assuming ANGLE shared objects are generated into ~/chromium/src/out/Release/ and dEQP.apk will be generated with --abis arm64-v8a, issue the following commands:

cd ~/chromium/src/out/Release/
mkdir arm64-v8a && cd arm64-v8a
cp ../lib* .

The --angle-path ~/chromium/src/out/Release/ option can then be used to link against and embed the ANGLE shared object files. The full command would be:

python scripts/android/ --sdk <path to Android SDK> --ndk <path to Android NDK> --abis arm64-v8a --angle-path ~/chromium/src/out/Release/