OpenGL ES testing
This page provides an overview of the GPU testing suite called deqp (drawElements Quality Program).
You can access the code for deqp in AOSP at the following location:
To work with the latest submitted code, use the deqp-dev
branch. If you want the code that matches the Android 5.0 CTS release, use the lollipop-release
branch.
Deploying deqp
To deploy the deqp test suite to a new environment, please review the deqp information regarding the following:
- Building test programs
- Porting the test framework (optional, depending on the target platform)
- Running the tests
- Automating the tests
- Using special test groups
- Integrating with Android CTS
Source layout
The source code layout for the deqp test modules and supporting libraries is shown in the table below. The listing is not complete but highlights the most important directories.
Directory | Description |
---|---|
android | Android tester sources and build scripts |
data | Test data files |
modules | Test module sources |
modules/egl | EGL module |
modules/gles2 | GLES2 module |
modules/gles3 | GLES3 module |
modules/gles31 | GLES3.1 module |
targets | Target-specific build configuration files |
framework | deqp test module framework and utilities |
framework/delibs | Base portability and build libraries |
framework/platform | Platform ports |
framework/qphelper | Test program integration library (C) |
framework/common | Deqp framework (C++) |
framework/opengl, framework/egl | API-specific utilities |
execserver | Device-side ExecServer source |
executor | Host-side test executor shell tool and utilities |
external | Build stub directory for external libs libpng and zlib |
Open Source components
The deqp uses libpng
and zlib
. They can be fetched from the web with the script external/fetch_sources.py
or with git pulls from git repositories platform/external/[libpng,zlib]
.