• Home
Name Date Size #Lines LOC

..--

.github/03-May-2024-42

android/03-May-2024-2,821,6902,819,139

data/03-May-2024-208,745182,406

doc/03-May-2024-8,7996,981

execserver/03-May-2024-4,9813,448

executor/03-May-2024-9,2376,610

external/03-May-2024-4,510,8344,034,633

framework/03-May-2024-185,200139,039

modules/03-May-2024-481,799369,275

scripts/03-May-2024-12,8229,060

targets/03-May-2024-816660

.editorconfigD03-May-2024188 108

.gitattributesD03-May-2024225 85

.gitignoreD03-May-202482 1110

Android.bpD03-May-20247.7 KiB306262

AndroidGen.bpD03-May-202492.2 KiB1,3971,394

CMakeLists.txtD03-May-202416.1 KiB430347

CODE_OF_CONDUCT.mdD03-May-2024280 21

LICENSED03-May-202411.1 KiB203169

METADATAD03-May-202439 43

MODULE_LICENSE_APACHE2D03-May-20240

NOTICED03-May-202411.1 KiB203169

OWNERSD03-May-2024227 1311

README-android.mdD03-May-2024901 1914

README.mdD03-May-20242.4 KiB5739

deqp_binary.ldsD03-May-202427 65

README-android.md

1# dEQP for Android
2
3## Notes on `deqp-binary`
4
5`deqp-binary` (defined in `Android.bp`) allows running dEQP offscreen
6from a single binary via adb shell. Not all tests will work,
7but most should be fine.
8
9Example usage:
10
11```sh
12cd $ANDROID_PRODUCT_OUT/testcases/deqp-binary/arm64
13adb push ./ /data/local/tmp/
14adb shell "cd /data/local/tmp && ./deqp-binary64 --deqp-caselist-file=/data/local/tmp/vk-incremental-deqp.txt --deqp-log-images=disable --deqp-log-filename=/sdcard/vk-incremental-deqp-results.qpa --deqp-surface-type=fbo --deqp-surface-width=2048 --deqp-surface-height=2048"
15adb shell "cd /data/local/tmp && ./deqp-binary64 --deqp-caselist-file=/data/local/tmp/gles3-incremental-deqp.txt --deqp-log-images=disable --deqp-log-filename=/sdcard/gles3-incremental-deqp-results.qpa --deqp-surface-type=fbo --deqp-surface-width=2048 --deqp-surface-height=2048"
16# Check results.
17adb logcat -s dEQP
18```
19

README.md

1dEQP README
2===========
3
4This repository contains a GPU testing suite called dEQP (drawElements Quality Program).
5dEQP contains tests for several graphics APIs, including OpenGL ES, EGL, and Vulkan.
6
7Documentation
8-------------
9
10Up-to-date documentation for dEQP is available at:
11
12* [The VK-GL-CTS wiki for Khronos members](https://gitlab.khronos.org/Tracker/vk-gl-cts/wikis/home)
13* [The VK-GL-CTS wiki for non-Khronos members](https://github.com/KhronosGroup/VK-GL-CTS/wiki)
14
15The .qpa logs generated by the conformance tests may contain embedded PNG images of the results.
16These can be viewed with `scripts/qpa_image_viewer.html`, by opening the file
17with a web browser and following its instructions, or using the
18[Cherry](https://android.googlesource.com/platform/external/cherry/+/master)
19tool.
20
21Khronos Vulkan Conformance Tests
22--------------------------------
23
24This repository includes Khronos Vulkan CTS under `external/vulkancts` directory.
25For more information see [Vulkan CTS README](external/vulkancts/README.md).
26
27Khronos OpenGL / OpenGL ES Conformance Tests
28--------------------------------
29
30This repository includes Khronos OpenGL / OpenGL ES CTS under `external/openglcts` directory.
31For more information see [OpenGL / OpenGL ES CTS README](external/openglcts/README.md).
32
33ANGLE for Android
34--------------------------------
35
36ANGLE can be built for Android by following the instructions
37[here](https://chromium.googlesource.com/angle/angle.git/+/HEAD/doc/DevSetup.md#building-angle-for-android).
38
39The resulting ANGLE shared object libraries can be linked against and embedded into `dEQP.apk` with
40the `--angle-path` option.   This will cause `dEQP.apk` to use the ANGLE libraries for OpenGL ES
41calls, rather than the native drivers.
42
43An ABI must be specified and the directory structure containing the ANGLE shared objects must match
44it so the build system can find the correct `*.so` files.
45
46Assuming ANGLE shared objects are generated into `~/chromium/src/out/Release/` and `dEQP.apk` will
47be generated with `--abis arm64-v8a`, issue the following commands:
48
49	cd ~/chromium/src/out/Release/
50	mkdir arm64-v8a && cd arm64-v8a
51	cp ../lib*_angle.so .
52
53The `--angle-path ~/chromium/src/out/Release/` option can then be used to link against and embed the
54ANGLE shared object files.   The full command would be:
55
56	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/
57