From: Ricardo Garcia Date: Wed, 25 Mar 2020 16:43:42 +0000 (+0100) Subject: Add tool to view TestResults.qpa images X-Git-Tag: upstream/1.3.5~1467 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=303de9db993b58cee1bdcc7b01db72b5d23712a8;p=platform%2Fupstream%2FVK-GL-CTS.git Add tool to view TestResults.qpa images This commit adds a self-contained, single-page web app to view images contained in TestResults.qpa files, usually saved there when a test fails. To use it, just open the HTML file with a web browser. VK-GL-CTS issue: 2281 Change-Id: I40fa637037a2b6ea5aef140055a749a2ed440edf --- diff --git a/README.md b/README.md index 0ed668a..03f9070 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,10 @@ Documentation Up-to-date documentation for the dEQP is available at [Android Open Source Project site](http://source.android.com/devices/graphics/testing.html). -The .qpa logs generated by the conformance tests may contain embedded png images of the results. -These can be viewed with the [Cherry](https://android.googlesource.com/platform/external/cherry/+/master) +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](https://android.googlesource.com/platform/external/cherry/+/master) tool. Khronos Vulkan Conformance Tests @@ -49,4 +51,4 @@ be generated with `--abis arm64-v8a`, issue the following commands: 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 --ndk --abis arm64-v8a --angle-path ~/chromium/src/out/Release/ \ No newline at end of file + python scripts/android/build_apk.py --sdk --ndk --abis arm64-v8a --angle-path ~/chromium/src/out/Release/ diff --git a/scripts/qpa_image_viewer.html b/scripts/qpa_image_viewer.html new file mode 100644 index 0000000..21ba2c5 --- /dev/null +++ b/scripts/qpa_image_viewer.html @@ -0,0 +1,288 @@ + + + + + Load PNGs from QPA output + + + +

Load PNGs from QPA output

+ +
+
+

Option 1: Load local QPA files

+ + + +
+ +
+

Option 2: Paste QPA text or text extract containing <Image> elements below and click "Load images"

+ + +
+
+ +
+ 🔎 Image zoom + + +
+ +
+ + + +