commit | e4696a1cae1077186423775bb622620fc18f2853 | [log] [tgz] |
---|---|---|
author | Mika Väinölä <mika.vainola@siru.fi> | Mon Dec 13 13:00:05 2021 +0200 |
committer | Matthew Netsch <quic_mnetsch@quicinc.com> | Thu Jan 06 22:40:36 2022 +0000 |
tree | 600892e24acb347697aec62da00dea626cac9be7 | |
parent | e6c30c3cc7714c0614a44e2616d76519b3960e45 [diff] |
Disable two warnings for old Amber versions Older versions of Amber fail to build with Clang >= 11 and GCC >=11 due -Werror and warnings that have been fixed in later versions. Upgrading Amber in older CTS branches risks accidental downgrades during fix propagation. This change disables -Wsuggest-destructor-override for Clang and -Wuninitialized for GCC when building libamber. These should be re-enabled in newer Vulkan CTS releases. Components: Framework, Vulkan VK-GL-CTS issue: 3361 Change-Id: Ifc2ed69584d8ad179042b80212e02ceb9956d110
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/