• Home
Name Date Size #Lines LOC

..--

.github/22-Mar-2025-42

android/22-Mar-2025-1,727,5901,725,070

build/22-Mar-2025-94,23083,853

data/22-Mar-2025-208,745182,406

doc/22-Mar-2025-8,7996,981

execserver/22-Mar-2025-4,9813,448

executor/22-Mar-2025-9,2386,611

external/22-Mar-2025-6,873,3906,107,481

framework/22-Mar-2025-190,389142,961

modules/22-Mar-2025-483,739370,974

scripts/22-Mar-2025-13,3009,391

targets/22-Mar-2025-823666

toolchains/22-Mar-2025-8070

.editorconfigD22-Mar-2025188 108

.gitattributesD22-Mar-2025225 85

.gitignoreD22-Mar-202582 1110

Android.mkD22-Mar-20251.6 KiB6947

AndroidGen.bpD22-Mar-202596.5 KiB1,4311,428

AndroidGen.mkD22-Mar-202585.3 KiB1,4181,413

BUILD.gnD22-Mar-20252 KiB4137

CMakeCache.txtD22-Mar-202534.1 KiB973809

CMakeLists.txtD22-Mar-202518 KiB453365

CODE_OF_CONDUCT.mdD22-Mar-2025280 21

LICENSED22-Mar-202511.1 KiB203169

METADATAD22-Mar-2025629 1715

MODULE_LICENSE_APACHE2D22-Mar-20250

NOTICED22-Mar-202511.1 KiB203169

OAT.xmlD22-Mar-20255.5 KiB8327

OWNERSD22-Mar-2025211 1010

README.OpenSourceD22-Mar-2025440 1211

README.en.mdD22-Mar-2025965 3725

README.mdD22-Mar-20254 KiB9065

bundle.jsonD22-Mar-2025840 3434

deqp_binary.ldsD22-Mar-202526 55

history.logD22-Mar-202527 KiB1,0011,000

vk_gl_cts.gniD22-Mar-20253.1 KiB10193

README.OpenSource

1[
2  {
3    "Name": "VK-GL-CTS",
4    "License": "Apache-2.0",
5    "License File": "LICENSE",
6    "Version Number": "vulkan-cts-1.3.7.3",
7    "Owner": "zhangleiyu1@huawei.com",
8    "Upstream URL": "https://github.com/KhronosGroup/VK-GL-CTS",
9    "Description": "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."
10  }
11]
12

README.en.md

1# third_party_vk-gl-cts
2
3#### Description
4{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
5
6#### Software Architecture
7Software architecture description
8
9#### Installation
10
111.  xxxx
122.  xxxx
133.  xxxx
14
15#### Instructions
16
171.  xxxx
182.  xxxx
193.  xxxx
20
21#### Contribution
22
231.  Fork the repository
242.  Create Feat_xxx branch
253.  Commit your code
264.  Create Pull Request
27
28
29#### Gitee Feature
30
311.  You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
322.  Gitee blog [blog.gitee.com](https://blog.gitee.com)
333.  Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
344.  The most valuable open source project [GVP](https://gitee.com/gvp)
355.  The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
366.  The most popular members  [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
37

README.md

1VK-GL-CTS README
2===========
3
4This repository contains Khronos Conformance Testing Suite called VK-GL-CTS
5which originated from dEQP (drawElements Quality Program).
6VK-GL-CTS contains tests for several graphics APIs, including
7OpenGL, OpenGL ES, EGL, Vulkan, and Vulkan SC.
8
9Documentation
10-------------
11
12Up-to-date documentation for VK-GL-CTS is available at:
13
14* [The VK-GL-CTS wiki for Khronos members](https://gitlab.khronos.org/Tracker/vk-gl-cts/wikis/home)
15* [The VK-GL-CTS wiki for non-Khronos members](https://github.com/KhronosGroup/VK-GL-CTS/wiki)
16
17The .qpa logs generated by the conformance tests may contain embedded PNG images of the results.
18These can be viewed with `scripts/qpa_image_viewer.html`, by opening the file
19with a web browser and following its instructions, or using the
20[Cherry](https://android.googlesource.com/platform/external/cherry/)
21tool.
22
23Khronos Vulkan Conformance Tests
24--------------------------------
25
26This repository includes Khronos Vulkan CTS under `external/vulkancts` directory.
27For more information see [Vulkan CTS README](external/vulkancts/README.md).
28
29Khronos OpenGL / OpenGL ES Conformance Tests
30--------------------------------
31
32This repository includes Khronos OpenGL / OpenGL ES CTS under `external/openglcts` directory.
33For more information see [OpenGL / OpenGL ES CTS README](external/openglcts/README.md).
34
35Selecting a subset of targets to build by default
36--------------------------------
37
38When configuring the source code of VK-GL-CTS for running either Vulkan
39Conformance Tests or OpenGL(ES) Conformance Tests as described above, CMake will
40generate build files that, by default on desktop platforms, will build every
41possible project binary. This may be undesirable due the amount of time and disk
42space needed to perform the build.
43
44One way of selecting only a subset of the targets to be built is using CMake's
45target selection mechanism. For example, the following command will only build
46`deqp-vk`, the main Vulkan Conformance Tests binary:
47
48```
49cmake --build BUILD_DIRECTORY --target deqp-vk
50```
51
52When building only a subset of targets is the preferred default behavior for a
53given working copy or build directory, there's a second target selection
54mechanism that can be used to avoid passing the `--target` option every time:
55the `SELECTED_BUILD_TARGETS` CMake option. If set to a non-empty value, only the
56targets listed in that configuration option, separated by spaces, will be built.
57
58For example, passing `-DSELECTED_BUILD_TARGETS="deqp-vk deqp-vksc"` when
59configuring the project will make `cmake --build BUILD_DIRECTORY` act as if it
60had been passed `--target deqp-vk --target deqp-vksc` as additional arguments.
61
62**IMPORTANT**: Target subset selection may not have been thoroughly tested in
63all enviroments and situations, and it does not replace the instructions given
64for the purposes of creating a conformance submission.
65
66ANGLE for Android
67--------------------------------
68
69ANGLE can be built for Android by following the instructions
70[here](https://chromium.googlesource.com/angle/angle.git/+/HEAD/doc/DevSetup.md#building-angle-for-android).
71
72The resulting ANGLE shared object libraries can be linked against and embedded into `dEQP.apk` with
73the `--angle-path` option.   This will cause `dEQP.apk` to use the ANGLE libraries for OpenGL ES
74calls, rather than the native drivers.
75
76An ABI must be specified and the directory structure containing the ANGLE shared objects must match
77it so the build system can find the correct `*.so` files.
78
79Assuming ANGLE shared objects are generated into `~/chromium/src/out/Release/` and `dEQP.apk` will
80be generated with `--abis arm64-v8a`, issue the following commands:
81
82	cd ~/chromium/src/out/Release/
83	mkdir arm64-v8a && cd arm64-v8a
84	cp ../lib*_angle.so .
85
86The `--angle-path ~/chromium/src/out/Release/` option can then be used to link against and embed the
87ANGLE shared object files.   The full command would be:
88
89	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/
90