tag | f5b6a199e9785a84e6e7a99059bcdd97e7aa5bde | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Mar 06 22:27:05 2023 -0800 |
object | 1ce19fb57a32cbd3064f05edb69d6adfd3034011 |
Android Mainline Module Release 9368779,com.google.android.sdkext
commit | 1ce19fb57a32cbd3064f05edb69d6adfd3034011 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Nov 09 09:13:14 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Nov 09 09:13:14 2022 +0000 |
tree | 76482c5554d44f8eb3bcf5a548c4385b1b36fb25 | |
parent | 5c33261590e6f76972bbe71b5edf1ce525843bee [diff] | |
parent | aa26cefd274e8662a72f0c05bbf37462a7e97311 [diff] |
Snap for 9271768 from aa26cefd274e8662a72f0c05bbf37462a7e97311 to mainline-sdkext-release Change-Id: Icf28e0a82e025167f6b65ca4a5b4611cd9dc8d9e
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/