tag | 60e6b3131d8c53bba4ae28d00d1b726bb2fd8fb6 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Sat Jan 29 01:17:07 2022 -0800 |
object | 055f60749b3ae687e10112c8cf465db98a0a5e0e |
Android Mainline 12.0.0 Release 29 (7819986,com.google.android.media)
commit | 055f60749b3ae687e10112c8cf465db98a0a5e0e | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Oct 02 12:00:51 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Oct 02 12:00:51 2021 +0000 |
tree | 8b7358800ef2064aa70d1731350ff1776dd6bc26 | |
parent | 659baa941d5faedf37ad2a53f9c1f547f4c7e946 [diff] | |
parent | b86c94dda7444472199b517c96dfe324653b0cb5 [diff] |
Snap for 7788333 from b86c94dda7444472199b517c96dfe324653b0cb5 to mainline-media-release Change-Id: If1fb095fa9c690b6f5f6c0ebcf2cf1aa2dbc86ae
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/