| /third_party/skia/tools/skqp/ |
| D | README_GENERATING_MODELS.md | 1 How SkQP Generates Render Test Models 15 COMMIT=$(python tools/skqp/find_commit_with_best_gold_results.py \ 16 origin/main ^origin/skqp/dev) 23 python tools/skqp/cut_release.py HEAD~10 HEAD 27 platform_tools/android/apps/skqp/src/main/assets/files.checksum 28 platform_tools/android/apps/skqp/src/main/assets/skqp/rendertests.txt 29 platform_tools/android/apps/skqp/src/main/assets/skqp/unittests.txt 32 `origin/skqp/dev` a parent of this commit (without merging it in), and 33 push this new commit to `origin/skqp/dev`, using this script: 35 sh tools/skqp/branch_skqp_dev.sh [all …]
|
| D | release.sh | 3 # Use of this source code is governed by a BSD-style license that can be 8 set -e -x 10 [ -f platform_tools/android/apps/skqp/src/main/assets/files.checksum ] || exit 1 11 [ -f platform_tools/android/apps/skqp/src/main/assets/skqp/rendertests.txt ] || exit 1 12 [ -f platform_tools/android/apps/skqp/src/main/assets/skqp/unittests.txt ] || exit 1 14 python tools/skqp/gn_to_bp.py 15 python tools/skqp/download_model 16 python tools/skqp/setup_resources 20 cat > platform_tools/android/apps/skqp/src/main/Android.mk <<- "EOM" 22 # Use of this source code is governed by a BSD-style license that can be [all …]
|
| D | README.md | 1 SkQP chapter 4 SkQP (Skia Quality Program) is a component of the Android CTS (Compatablity 5 Test Suite) that tests an Android device's GPU and OpenGLES & Vulkan drivers 8 See https://skia.org/dev/testing/skqp for pre-build APKs. 10 How to build and run the SkQP tests 11 ----------------------------------- 15 - You will need Java JDK 8, `git`, and `python`. 17 …- Install Chromium's [depot\_tools](http://commondatastorage.googleapis.com/chrome-infra-docs/fl… 22 - Install the [Android NDK](https://developer.android.com/ndk/downloads/). 24 ( cd ~; unzip ~/Downloads/android-ndk-*.zip ) [all …]
|
| D | README_ALGORITHM.md | 1 SkQP Render Test Algorithm 4 The following is a description of the render test validation algorithm that 5 will be used by the version of SkQP that will be released for Android Q-release. 11 First, look for a file named `skqp/rendertests.txt` in the 12 `platform_tools/android/apps/skqp/src/main/assets` directory. The format of 13 this file is: each line contains one render test name, followed by a comma, 14 followed by an integer. The integer is the `passing_threshold` for that test. 16 For each test, we have a `max_image` and a `min_image`. These are PNG-encoded 17 images stored in SkQP's APK's asset directory (in the paths `gmkb/${TEST}/min.png` 18 and `gmkb/${TEST}/max.png`). [all …]
|
| /third_party/flutter/skia/tools/skqp/ |
| D | README_GENERATING_MODELS.md | 1 How SkQP Generates Render Test Models 15 COMMIT=$(python tools/skqp/find_commit_with_best_gold_results.py \ 16 origin/master ^origin/skqp/dev) 23 python tools/skqp/cut_release.py HEAD~10 HEAD 27 platform_tools/android/apps/skqp/src/main/assets/files.checksum 28 platform_tools/android/apps/skqp/src/main/assets/skqp/rendertests.txt 29 platform_tools/android/apps/skqp/src/main/assets/skqp/unittests.txt 32 `origin/skqp/dev` a parent of this commit (without merging it in), and 33 push this new commit to `origin/skqp/dev`, using this script: 35 sh tools/skqp/branch_skqp_dev.sh [all …]
|
| D | release.sh | 3 # Use of this source code is governed by a BSD-style license that can be 8 set -e -x 10 [ -f platform_tools/android/apps/skqp/src/main/assets/files.checksum ] || exit 1 11 [ -f platform_tools/android/apps/skqp/src/main/assets/skqp/rendertests.txt ] || exit 1 12 [ -f platform_tools/android/apps/skqp/src/main/assets/skqp/unittests.txt ] || exit 1 14 python tools/skqp/gn_to_bp.py 15 python tools/skqp/download_model 16 python tools/skqp/setup_resources 20 cat > platform_tools/android/apps/skqp/src/main/Android.mk <<- "EOM" 22 # Use of this source code is governed by a BSD-style license that can be [all …]
|
| D | README.md | 1 SkQP chapter 4 SkQP (Skia Quality Program) is a component of the Android CTS (Compatablity 5 Test Suite) that tests an Android device's GPU and OpenGLES & Vulkan drivers 8 See https://skia.org/dev/testing/skqp for pre-build APKs. 10 How to build and run the SkQP tests 11 ----------------------------------- 15 - You will need Java JDK 8, `git`, and `python`. 17 …- Install Chromium's [depot\_tools](http://commondatastorage.googleapis.com/chrome-infra-docs/fl… 22 - Install the [Android NDK](https://developer.android.com/ndk/downloads/). 24 ( cd ~; unzip ~/Downloads/android-ndk-*.zip ) [all …]
|
| D | README_ALGORITHM.md | 1 SkQP Render Test Algorithm 4 The following is a description of the render test validation algorithm that 5 will be used by the version of SkQP that will be released for Android Q-release. 11 First, look for a file named `skqp/rendertests.txt` in the 12 `platform_tools/android/apps/skqp/src/main/assets` directory. The format of 13 this file is: each line contains one render test name, followed by a comma, 14 followed by an integer. The integer is the `passing_threshold` for that test. 16 For each test, we have a `max_image` and a `min_image`. These are PNG-encoded 17 images stored in SkQP's APK's asset directory (in the paths `gmkb/${TEST}/min.png` 18 and `gmkb/${TEST}/max.png`). [all …]
|
| /third_party/mesa3d/docs/ci/ |
| D | skqp.rst | 1 skqp title 4 `skqp <https://skia.org/docs/dev/testing/skqp/>`_ stands for SKIA Quality 9 The rendering tests have support for GL, GLES and Vulkan backends and test some 14 ----- 19 It is worth noting that `rendertests.txt` can bring some detail about each test 20 expectation, so each test can have a max pixel error count, to tell skqp that it 21 is OK to have at most that number of errors for that test. See also: 22 https://github.com/google/skia/blob/c29454d1c9ebed4758a54a69798869fa2e7a36e0/tools/skqp/README_ALGO… 24 .. _test-location: 30 subdirectory inside skqp assets directory. [all …]
|
| /third_party/flutter/skia/tools/skqp/src/ |
| D | skqp.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 8 #include "tools/skqp/src/skqp.h" 23 #include "tests/Test.h" 33 #include "tools/skqp/src/skqp_model.h" 44 static constexpr char kRenderTestsPath[] = "skqp/rendertests.txt"; 46 static constexpr char kUnitTestsPath[] = "skqp/unittests.txt"; 50 // F is [](const char*, size_t) -> void 58 size_t len = ptr - start; in readlines() 64 static void get_unit_tests(SkQPAssetManager* mgr, std::vector<SkQP::UnitTest>* unitTests) { in get_unit_tests() 68 if (l > 0 && s[l - 1] == '\n') { // strip line endings. in get_unit_tests() [all …]
|
| D | skqp_main.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 11 #include "tools/skqp/src/skqp.h" 24 //TODO(halcanary): does this need to be changed if I run SkQP in Windows? in StdAssetManager() 56 matchLen--; in should_skip() 60 matchLen--; in should_skip() 62 if ((matchEnd = matchName[matchLen - 1] == '$')) { in should_skip() 63 matchLen--; in should_skip() 68 && strncmp(name + testLen - matchLen, matchName, matchLen) == 0 in should_skip() 89 SkQP skqp; in main() local 90 skqp.init(&mgr, argv[2]); in main() [all …]
|
| D | skqp.h | 4 * Use of this source code is governed by a BSD-style license that can be 27 struct Test; 43 class SkQP { 51 using UnitTest = const skiatest::Test*; 60 SkQP(); 61 ~SkQP(); 64 Initialize Skia and the SkQP. Should be executed only once. 66 @param assetManager - provides assets for the models. Does not take ownership. 67 @param reportDirectory - where to write out report. 72 // All three values will be 0 if the test passes. [all …]
|
| D | skqp_model.h | 4 * Use of this source code is governed by a BSD-style license that can be 15 #include "tools/skqp/src/skqp.h" 20 namespace skqp { 22 /** Prefered colortype for comparing test outcomes. */ 25 /** Prefered alphatype for comparing test outcomes. */ 37 SkQP::RenderOutcome fOutcome; 38 std::string fErrorString; // if non-empty, an error occured. 41 SkQP::RenderOutcome Check(const SkPixmap& minImg, 47 /** Check if the given test image matches the expected results. 49 @param name the name of the rendering test that produced the image
|
| /third_party/skia/tools/skqp/src/ |
| D | skqp.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 8 #include "tools/skqp/src/skqp.h" 23 #include "tests/Test.h" 37 #include "tools/skqp/src/skqp_model.h" 48 static constexpr char kDefaultRenderTestsPath[] = "skqp/rendertests.txt"; 50 static constexpr char kUnitTestsPath[] = "skqp/unittests.txt"; 54 // F is [](const char*, size_t) -> void 62 size_t len = ptr - start; in readlines() 68 static void get_unit_tests(SkQPAssetManager* mgr, std::vector<SkQP::UnitTest>* unitTests) { in get_unit_tests() 72 if (l > 0 && s[l - 1] == '\n') { // strip line endings. in get_unit_tests() [all …]
|
| D | skqp_main.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 11 #include "tools/skqp/src/skqp.h" 24 //TODO(halcanary): does this need to be changed if I run SkQP in Windows? in StdAssetManager() 62 matchLen--; in should_skip() 66 matchLen--; in should_skip() 68 if ((matchEnd = matchName[matchLen - 1] == '$')) { in should_skip() 69 matchLen--; in should_skip() 74 && strncmp(name + testLen - matchLen, matchName, matchLen) == 0 in should_skip() 89 args->assetDir = argv[1]; in parse_args() 90 args->renderTests = argv[2]; in parse_args() [all …]
|
| D | skqp_model.h | 4 * Use of this source code is governed by a BSD-style license that can be 15 #include "tools/skqp/src/skqp.h" 20 namespace skqp { 22 /** Prefered colortype for comparing test outcomes. */ 25 /** Prefered alphatype for comparing test outcomes. */ 37 SkQP::RenderOutcome fOutcome; 38 std::string fErrorString; // if non-empty, an error occured. 41 SkQP::RenderOutcome Check(const SkPixmap& minImg, 47 /** Check if the given test image matches the expected results. 49 @param name the name of the rendering test that produced the image [all …]
|
| D | skqp.h | 4 * Use of this source code is governed by a BSD-style license that can be 27 struct Test; 43 class SkQP { 51 using UnitTest = const skiatest::Test*; 60 SkQP(); 61 ~SkQP(); 64 Initialize Skia and the SkQP. Should be executed only once. 66 @param assetManager - provides assets for the models. Does not take ownership. 67 @param renderTests - file containing list of render tests. 68 @param reportDirectory - where to write out report. [all …]
|
| /third_party/mesa3d/.gitlab-ci/ |
| D | skqp-runner.sh | 27 # Copy either unit test or render test files from a specific driver given by 29 # If there is no test file at the expected location, this function will 32 SKQP_FILE_PREFIX="${INSTALL}/${GPU_VERSION}-skqp" 34 if echo "${SKQP_BACKEND}" | grep -qE 'vk|gl(es)?' 36 SKQP_RENDER_TESTS_FILE="${SKQP_FILE_PREFIX}-${SKQP_BACKEND}_rendertests.txt" 37 [ -f "${SKQP_RENDER_TESTS_FILE}" ] || return 1 38 cp "${SKQP_RENDER_TESTS_FILE}" "${SKQP_ASSETS_DIR}"/skqp/rendertests.txt 44 if echo "${SKQP_BACKEND}" | grep -qE "unitTest" 47 [ -f "${SKQP_UNIT_TESTS_FILE}" ] || return 1 48 cp "${SKQP_UNIT_TESTS_FILE}" "${SKQP_ASSETS_DIR}"/skqp/unittests.txt [all …]
|
| /third_party/skia/site/docs/dev/testing/ |
| D | skqp.md | 2 --- 3 title: "SkQP" 4 linkTitle: "SkQP" 6 --- 9 Development APKs of SkQP are kept in Google storage. Each file in named 13 These are universal APKs that contain native libraries for armeabi-v7a, 14 arm64-v8a, x86, and x86\_64 architectures. The most recent is listed first. 17 [https://storage.googleapis.com/skia-skqp/apklist](https://storage.googleapis.com/skia-skqp/apklist) 20 `origin/skqp/release` branch. 24 adb install -r skqp-universal-{APK_SHA_HERE}.apk [all …]
|
| /third_party/flutter/skia/site/dev/testing/ |
| D | skqp.md | 1 SkQP chapter 4 Development APKs of SkQP are kept in Google storage. Each file in named 8 These are universal APKs that contain native libraries for armeabi-v7a, 9 arm64-v8a, x86, and x86\_64 architectures. The most recent is listed first. 12 [https://storage.googleapis.com/skia-skqp/apklist](https://storage.googleapis.com/skia-skqp/apklist) 15 `origin/skqp/release` branch. 19 adb install -r skqp-universal-{APK_SHA_HERE}.apk 20 adb logcat -c 21 adb shell am instrument -w org.skia.skqp 25 adb logcat TestRunner org.skia.skqp skia DEBUG "*:S" [all …]
|
| /third_party/mesa3d/src/intel/ci/ |
| D | gitlab-ci.yml | 1 .intel-common-test: 3 - .lava-test:amd64 8 FLAKES_CHANNEL: "#intel-ci" 11 .anv-test: 13 - .intel-common-test 14 - .anv-rules 18 .iris-test: 20 - .intel-common-test 21 - .iris-rules 25 .intel-test: [all …]
|
| /third_party/flutter/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/ |
| D | SkQPActivity.java | 1 package org.skia.skqp; 26 // Note: /sdcard/Android/data/<package-name> is a location an app is allowed to write to. in run() 32 SkQP impl = new SkQP(); in run() 34 Log.i(SkQP.LOG_PREFIX, "Output Dir: " + outputDirPath); in run() 39 Log.e(SkQP.LOG_PREFIX, "ensureEmtpyDirectory:" + e.getMessage()); in run() 47 String classname = SkQP.kSkiaGM + impl.mBackends[backend]; in run() 49 String testName = SkQP.kSkiaGM + impl.mBackends[backend] + "_" + impl.mGMs[gm]; in run() 52 Log.i(SkQP.LOG_PREFIX, "Running: " + testName); in run() 59 Log.w(SkQP.LOG_PREFIX, "Error: " + testName + " " + error); in run() 61 Log.w(SkQP.LOG_PREFIX, String.format("Fail: %s %f", testName, value)); in run() [all …]
|
| /third_party/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/ |
| D | SkQPActivity.java | 1 package org.skia.skqp; 26 // Note: /sdcard/Android/data/<package-name> is a location an app is allowed to write to. in run() 32 SkQP impl = new SkQP(); in run() 34 Log.i(SkQP.LOG_PREFIX, "Output Dir: " + outputDirPath); in run() 39 Log.e(SkQP.LOG_PREFIX, "ensureEmtpyDirectory:" + e.getMessage()); in run() 47 String classname = SkQP.kSkiaGM + impl.mBackends[backend]; in run() 49 String testName = SkQP.kSkiaGM + impl.mBackends[backend] + "_" + impl.mGMs[gm]; in run() 52 Log.i(SkQP.LOG_PREFIX, "Running: " + testName); in run() 59 Log.w(SkQP.LOG_PREFIX, "Error: " + testName + " " + error); in run() 61 Log.w(SkQP.LOG_PREFIX, String.format("Fail: %s %f", testName, value)); in run() [all …]
|
| /third_party/flutter/skia/infra/bots/recipes/ |
| D | skqp_test.py | 2 # Use of this source code is governed by a BSD-style license that can be 5 # Recipe module for Skia Swarming SKQP testing. 17 """Test an APK on Firebase Testlab.""" 19 apk_file = api.vars.slave_dir.join('out','devrel','skqp-universal-debug.apk') 20 upload_path = 'skia-stephana-test/testing/skqp-universal-debug.apk' 23 '--logtostderr', 24 '--devices', wlist_file, 25 '--upload_path', upload_path, 39 builder = 'Test-Debian9-Clang-GCE-CPU-AVX2-universal-devrel-All-Android_SKQP' 41 api.test(builder) +
|
| /third_party/flutter/skia/infra/skqp/ |
| D | run_skqp.sh | 4 # Use of this source code is governed by a BSD-style license that can be 17 set -ex 20 timeout 60 adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; don… 24 adb install -r /OUT/skqp-universal-debug.apk 25 adb logcat -c 27 tmp_file="$(mktemp "${TMPDIR:-/tmp}/skqp.XXXXXXXXXX")" 29 adb shell am instrument -w org.skia.skqp | tee "$tmp_file" | fold -s 31 adb logcat -d TestRunner org.skia.skqp skia DEBUG "*:S" 33 if ! grep -q '^OK ' "$tmp_file"; then 34 echo 'this test failed'
|