commit | ef94567f10e8e6bfba724d683f51b20da196e047 | [log] [tgz] |
---|---|---|
author | Emma Anholt <anholt@google.com> | Wed Apr 12 15:13:01 2023 -0700 |
committer | Alexander Galazin <alexander.galazin@imgtec.com> | Fri May 19 14:51:19 2023 +0000 |
tree | 97087a9961c22227455eaec9982266ce35540564 | |
parent | e28c5b0cc055e1f17d29158f9477eae87e800616 [diff] |
Don't compile unnecessary stages for array_of_arrays tests. If we're testing compile+link with some generated FS code, we don't need to compile a stub TCS/TES/GS. Similar reductions apply to other stages. Reduces runtime of KHR-Single-GL46.arrays_of_arrays_gl.SizedDeclarationsPrimitive (for example) on a brya chromebook from 28s to 18s. Components: OpenGL, OpenGL ES VK-GL-CTS issue: 4398 Affected tests: KHR-GL*.arrays_of_arrays_gl.*, KHR-GLES*.arrays_of_arrays.* Change-Id: Ie0d7c271fda046fa7b78dcf029bfd34db9dbcf25 (cherry picked from commit b481dada59734e8e34050fe884ba6d627d9e5c54)
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.
This repository includes Khronos Vulkan CTS under external/vulkancts
directory. For more information see Vulkan CTS README.
This repository includes Khronos OpenGL / OpenGL ES CTS under external/openglcts
directory. For more information see OpenGL / OpenGL ES CTS README.
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*_angle.so .
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/build_apk.py --sdk <path to Android SDK> --ndk <path to Android NDK> --abis arm64-v8a --angle-path ~/chromium/src/out/Release/