aboutsummaryrefslogtreecommitdiff
path: root/platform_tools
AgeCommit message (Collapse)Author
2020-06-12Remove tests that require large malloc allocations.android11-devDerek Sollenberger
These tests are not adjusted to the memory capacity of the device and for devices with low memory requirements these tests can exceed the expected limitations and cause the app to crash. Test: this is a test Bug: b/158704814 Bug: b/149072884 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/282622 Auto-Submit: Derek Sollenberger <djsollen@google.com> Reviewed-by: Tyler Denniston <tdenniston@google.com> Commit-Queue: Derek Sollenberger <djsollen@google.com>i Reviewed-on: https://skia-review.googlesource.com/c/skia/+/282756 (cherry picked from commit fa8ed33ffe32be96303457e709f45a388ba80693) Change-Id: Ie9723c1a177e5a3b5b3ba785f5daa9ab745a74ad
2020-04-06Remove vts10 tests from vts suiteDan Shi
The tests are only needed in vts10 suite, as they are part of CTS package and no longer needed in vts 11. Bug: 151896491 Test: local build Exempt-From-Owner-Approval: This CL removes vts10 tests from vts suite. It won't change test logic or behavior. Change-Id: Ic03533eb4400808606af8946276314faedd2c8db Merged-In: Ic03533eb4400808606af8946276314faedd2c8db
2020-02-20Merge "[skqp/release] Remove threshold for scale-pixels" am: a592de2f03 am: ↵Automerger Merge Worker
e632e0a7c6 am: de24cae346 Change-Id: I723d7ff85d570765eb901b1c8cbe3b57d51251cd
2020-02-19[skqp/release] Remove threshold for scale-pixelsTyler Denniston
Cherry pick of 0e6de918cc9599083559d88cf4dec4e562ac1591 from the skqp/release branch. scale-pixels render test threshold set to -1 Bug: 147278747 Change-Id: I85773cf47f31008bb64feefc95e1ecb08255a50e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/270578 Reviewed-by: Derek Sollenberger <djsollen@google.com> Commit-Queue: Tyler Denniston <tdenniston@google.com> Test: CtsSkQPTestCases
2020-01-01CtsSkQPTestCases secondary_userBookatz
Marks this CTS test module as supporting secondary_user, meaning that the tests are eligible to be run from a regular Android user other than the system user (i.e. other than user 0). Note that 'user' here refers to the concept of users in Android Multiuser; it is NOT the same as a uid. Bug: 141773058 Test: module passed with secondary_user params (--enable-optional-parameterization --module-parameter secondary_user) Change-Id: Id7132697b8cdb13fedcefcfe54c724af02d24b6c
2019-11-04SkQP: Relax largeglyphblur, linear_gradient, linear_gradient_nodither, ↵Hal Canary
cliperror. largeglyphblur,3000 linear_gradient,110000 linear_gradient_nodither,120000 cliperror,3600 Bug: b/143412016 Change-Id: I357484777de367a7b2cfcde28c202dcdc5c6b3b7 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/252482 Reviewed-by: Derek Sollenberger <djsollen@google.com> Cherry-Pick: 3cfb0727efe9971ea37e17d2088841cee07926bd
2019-10-02SkQP: relax colormatrixndk-sysroot-r21Hal Canary
Bug: b/142004524 Change-Id: I5cddc5719cc55deaf7d20190bb1ee1d4361b15df Reviewed-on: https://skia-review.googlesource.com/c/skia/+/245718 Reviewed-by: Hal Canary <halcanary@google.com> Cherry-Pick: 4cd3579c17606b73e34d06efd0de0738ca2bd2f1
2019-10-02Merge "SkQP: mark readpixels as a bad GM"Treehugger Robot
2019-10-02SkQP: mark readpixels as a bad GMHal Canary
Bug: b/140327954 Change-Id: Id661bd605fad94a7cbb40d3cdb9a581db11929d5 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/245677 Reviewed-by: Derek Sollenberger <djsollen@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Cherry-Pick: 4d02d78c0679f5d67ead5a7f92094a8ddbb09009
2019-10-02SkQP: relax colorfiltershaderHal Canary
Bug: 136618832 Change-Id: Icca94c47c5eeb69db59082bb46be5389cd226f65 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/245581 Reviewed-by: Hal Canary <halcanary@google.com> Cherry-Pick: 7febe066844df2630ca00ba00badbda65b0790ed
2019-08-13Adjust SkQP thresholds to accommodate SwiftShader.Stephen White
am: 9080e36257 Change-Id: Ib90c723ef56fb33f541e9481c32207a13b11c515
2019-08-05Adjust SkQP thresholds to accommodate SwiftShader.Stephen White
Bug: 138935153 No-Tree-Checks: true No-Presubmit: true Change-Id: I9160f48efbea4f78d160f4f65823bcd8ad7a1e62 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/228339 Reviewed-by: Hal Canary <halcanary@google.com> Reviewed-by: Derek Sollenberger <djsollen@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org> Cherry-Pick: 7ca17260c57b854b545bde8f32a8122409a45402
2019-07-29SkQP: relax blurcircles2Hal Canary
am: 7c4db2b347 Change-Id: I227b1dbdd956636e196a955903f4ee4f8af78c9f
2019-07-29SkQP: relax blurcircles2Hal Canary
based on collaboration with imgtec Bug: b/138466039 Change-Id: Id718f3295120494bb1bbe6a0c8cf57f94615433a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/230297 Reviewed-by: Hal Canary <halcanary@google.com> Cherry-Pick: c17992639a00589491fca7c34e7b6b43736cf759
2019-07-22Convert CtsSkQPTestCases to Android.bpColin Cross
am: 247a0c7ee2 Change-Id: Ib255a48dba676d75555bb232eb0a5ea773581350
2019-07-18Convert CtsSkQPTestCases to Android.bpColin Cross
See build/soong/README.md for more information. Fixes:122332596 Test: atest CtsSkQPTestCases Change-Id: If36ea097baa8dc0e8a8bb3dd0be4c9f96b709cb9
2019-06-26SkQP: fix Filterable.filter am: c0b8bf2b74Hal Canary
am: 172d9d067a Change-Id: I4b42b8101457e504e58cc7cbba73010d2dd07506
2019-06-25SkQP: fix Filterable.filterHal Canary
Change-Id: Id50c24d16a3ba6810fbf49b91a7a93c3df5cb743 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/223296 (cherry picked from commit 8b23d0ee5355b2d6e5898ec43adcdfe7d982e78c) Reviewed-on: https://skia-review.googlesource.com/c/skia/+/223699 Reviewed-by: Hal Canary <halcanary@google.com> Cherry-Pick: af6f35e58c7b5ee833e1ece0964cc4f2b31067f9
2019-06-11Mark CtsSkQPTestCases as non-shardableandroid10-devJulien Desprez
Current SKQP runner doesn't support sharding. Test: make cts Bug: 134522828 Change-Id: Ic505e9a96ee3c79e2e38ba5cdc2a417e32a84b26
2019-04-03SkQP: relax zero_length_paths_aaandroid-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5Hal Canary
Bug: b/129265491 Change-Id: I736df82736816f3653c5fe4e44a48bdbfb175f62 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/205927 Reviewed-by: Derek Sollenberger <djsollen@google.com> Cherry-Pick: f8c14db13f8eb0755f7465a158197184e5707b26
2019-03-15SkQP: relax test radial_gradient_precisionHal Canary
motivation: this is a bad test in that low-precision drivers will give completely different results. The jitter test might have caught this, but I ran the jitter test with the 8888 backend, which has high precision. Bug: skia:8857 https://bugs.skia.org/8857 Bug: b/127371533 Change-Id: I7111ca34df7e510a1dbb591b1161b32912c82fe0 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/200926 Reviewed-by: Michael Ludwig <michaelludwig@google.com> Cherry-Pick: 72614c620d7ae548e7d73a1c7687f2521d04708e
2019-03-14SkQP: relax perlinnoise testHal Canary
Bug: skia:8857 https://bugs.skia.org/8857 Change-Id: I826bed444acdaae10e3a5e126024768b21796b56 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/200051 Reviewed-by: Derek Sollenberger <djsollen@google.com> Cherry-Pick: 0c851f6440c16a76c32235ed9ac72a1c5a304aff
2019-03-05SkQP: bring release.sh script into skqp/release branch.Hal Canary
This will make it easier to keep the skia/skqp/release branch and the aosp-skqp/master branches in sync from now on. This needs to be re-run whenever we change build options in the android tree. *** Also, run the script. this fixes the emoji gms Change-Id: Ib3aaf34c59c99888b2d74a5a9f989a6479b292ff Cherry-Pick: 4a88aed99104299e3241f8e0d22214c34a506d8d
2019-03-04Merge "SkQP: android.support.test -> androidx.test"Hal Canary
2019-03-04SkQP: android.support.test -> androidx.testHal Canary
Change-Id: I8f9cb8130162235754ecb390d3ebbe33fc526cf6 Reviewed-on: https://skia-review.googlesource.com/c/193161 Reviewed-by: Hal Canary <halcanary@google.com> Cherry-Pick: 2ccdd2bc1d01566210bcba5fbac2a4bf31f15845 Reviewed-on: https://skia-review.googlesource.com/c/193178 Reviewed-by: Derek Sollenberger <djsollen@google.com> Cherry-Pick: 97db916daf1b2b664763936a8ae26a8001331e34
2019-03-01SkQP: disable 1 testHal Canary
etc1 test has bad model data. Change-Id: I9cbc90541d92b9ac35e83c7cd2d1591d8328637e Reviewed-on: https://skia-review.googlesource.com/c/196648 Reviewed-by: Greg Daniel <egdaniel@google.com> Cherry-Pick: 480d82bfb730eaf6a312b1a8bfcb4dd6a253291c
2019-03-01SkQP: fix five testsHal Canary
set `skia_use_expat` to true: - coloremoji_blendmodes - scaledemoji - scaledemojipos disable bad tests: - arcs_as_paths - ovals_as_paths Change-Id: I883cf13f54b424b8d3964fc045bd6282cbc028c9 Reviewed-on: https://skia-review.googlesource.com/c/196644 Reviewed-by: Ben Wagner <bungeman@google.com> Cherry-Pick: e7e803e3a96948526c52220941594b0a6d3cdc24
2019-02-08Add Instant and ABI XML tags for CtsSkQPTestCases.Derek Sollenberger
Bug: 123367918 Test: this is a test suite Change-Id: I0abca35813ea8b7e0999acac0d4e7824c68963b2
2019-02-07Add resources and build files required to build CtsSkQPTestCasesHal Canary
This is essentially what derek did here: https://android.googlesource.com/platform/external/skqp/+/4e83d4bdaf3a Change-Id: Ic85ceab20c6431fe9966e151dbb810bb0e78c779
2019-02-06Cut SkQP for Q-release [2019-02-05]Hal Canary
Change-Id: I53c169b6e36082a3437643c22f7c7c06acfb3be0
2019-01-11SkQP: relax unit test SRGBReadWritePixels (Pie)Hal Canary
am: 4cfdcef4d4 Change-Id: Ia8ab28a49be241a0fc598b2d8688eb39522298bc
2019-01-10SkQP: relax unit test SRGBReadWritePixels (Pie)Hal Canary
Bug: b/121168757 Change-Id: Ifc57c1ed0eb2e9e9125ffa3a2b698f127f904b54 Reviewed-on: https://skia-review.googlesource.com/c/182962 Reviewed-by: Brian Salomon <bsalomon@google.com>
2019-01-08Add support for Windows to the gradle buildsChris Dalton
Bug: skia: Change-Id: Ie463354281f5091866c6ccda3d041f6c7d8f0558 Reviewed-on: https://skia-review.googlesource.com/c/182101 Reviewed-by: Derek Sollenberger <djsollen@google.com> Reviewed-by: Stan Iliev <stani@google.com> Commit-Queue: Chris Dalton <csmartdalton@google.com>
2019-01-04remove more extra semicolonsKevin Lubick
The cloud-build is now at a new enough Clang to find these. Bug: skia: Change-Id: Ib7cfecb7d79194dcdeca7c0cf22a9b2dbb8cb655 Reviewed-on: https://skia-review.googlesource.com/c/181162 Commit-Queue: Kevin Lubick <kjlubick@google.com> Commit-Queue: Joe Gregorio <jcgregorio@google.com> Auto-Submit: Kevin Lubick <kjlubick@google.com> Reviewed-by: Joe Gregorio <jcgregorio@google.com>
2019-01-03SkQP: relax one test: bug339297_as_clipHal Canary
am: 7017a3a72e Change-Id: Ib9c42665460ce0814f5c35456ca4ae6a95e3adb6
2018-12-13SkQP: relax one test: bug339297_as_clipHal Canary
b/120948223 Change-Id: I98abe6bd7ce8492896b50c058ff61379ffe9f617 Reviewed-on: https://skia-review.googlesource.com/c/177344 Reviewed-by: Hal Canary <halcanary@google.com>
2018-11-30SkQP: refatctor C++ bits.Hal Canary
* C++ code moved into tools/skqp/src/. * State held with single SkQP class. * gmkb functions moved to skqp_model.{h,cpp} * model no longer knows about report format. * skqp_main and skqp_lib no longer have globals * jni code has fewer globals. * skqp_main no longer uses googletest. * AssetMng returns SkData, not a SkStream. * Add jitter tool. * dump GPU information into grdump.txt * JUnit puts report in directory with timestamp. * Document SkQP Render Test Algorithm. * GPU driver correctness workarounds always off * cut_release tool for assembling models * make_rendertests_list.py to help cut_release * make_gmkb.go emits a list of models CQ_INCLUDE_TRYBOTS=skia.primary:Build-Debian9-Clang-x86-devrel-Android_SKQP Change-Id: I7d4f0c24592b1f64be0088578a3f1a0bc366dd4d Reviewed-on: https://skia-review.googlesource.com/c/110420 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
2018-11-07Skottie Android demo app improvementsStan Iliev
Changed SkottieView base class to TextureView. Implemented new SkottieAnimation interface, which allows to get animation duration, set and get animation progress. SkottieView will draw correctly even if animation is stopped. Test: Ran Skottie app Bug: skia: Change-Id: I952793b75518107f515ddec8ad6524f4048f42e7 Reviewed-on: https://skia-review.googlesource.com/c/167945 Commit-Queue: Stan Iliev <stani@google.com> Reviewed-by: Derek Sollenberger <djsollen@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org>
2018-11-02SkQP: relax 6 testsHal Canary
b/116035455 Change-Id: I460c1cd0836937740c58affa1ba2ea2f9816984b Reviewed-on: https://skia-review.googlesource.com/c/167722 Reviewed-by: Mike Klein <mtklein@google.com>
2018-11-02SkQP: relax 6 testsHal Canary
b/116035455 Change-Id: I460c1cd0836937740c58affa1ba2ea2f9816984b Reviewed-on: https://skia-review.googlesource.com/c/167722 Reviewed-by: Mike Klein <mtklein@google.com>
2018-10-26SkQP/Java: remove unneeded stack trace, count tests correcctlyHal Canary
Change-Id: I347817c785d28340001e130a691d034cccec4ec1 Reviewed-on: https://skia-review.googlesource.com/c/165310 Commit-Queue: Hal Canary <halcanary@google.com> Commit-Queue: Ben Wagner <bungeman@google.com> Auto-Submit: Hal Canary <halcanary@google.com> Reviewed-by: Ben Wagner <bungeman@google.com>
2018-10-26skqp/.../assets/.gitignore: remove important thingsHal Canary
Change-Id: Iabe82a2404d4119b1464a62729fdc04ee0b0e765 Reviewed-on: https://skia-review.googlesource.com/c/165309 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
2018-10-19SkQP: rely on TestRunner for loggingHal Canary
BEFORE: V org.skia.skqp: Rendering Test 'gles_lcdtextsize' started (411/890). I TestRunner: started: gles_lcdtextsize(org.skia.skqp.SkQPRunner) I org.skia.skqp: Rendering Test 'gles_lcdtextsize' passed I TestRunner: finished: gles_lcdtextsize(org.skia.skqp.SkQPRunner) AFTER: I TestRunner: started: gles_lcdtextsize(org.skia.skqp.SkQPRunner) I TestRunner: finished: gles_lcdtextsize(org.skia.skqp.SkQPRunner) I org.skia.skqp: Rendering Test 'gles_lcdtextsize' complete (411/890). [pass] Change-Id: I40632ac1dc06da2395de83564580c0e490bc6e18 Reviewed-on: https://skia-review.googlesource.com/c/163786 Commit-Queue: Hal Canary <halcanary@google.com> Commit-Queue: Kevin Lubick <kjlubick@google.com> Auto-Submit: Hal Canary <halcanary@google.com> Reviewed-by: Kevin Lubick <kjlubick@google.com>
2018-10-08Add Build and Test jobs for SKQP using docker.Kevin Lubick
Uses Docker to compile an APK and then run it on an emulator. We use a specialized image for build (includes Clang, etc) And then the 3rd party base image for just the test (which has the emulator and SDK on it). Bug: skia:7578, skia:7692 Change-Id: I948e0b091868e7173b00e3affd7c3d59a5cd1ec2 Reviewed-on: https://skia-review.googlesource.com/c/159681 Reviewed-by: Stephan Altmueller <stephana@google.com> Reviewed-by: Hal Canary <halcanary@google.com>
2018-10-04Update android apps to latest android pluginStan Iliev
NDK depricated mips toolchain, which is causing a build error, because old android gradle plugin is looking for it. Updating to latest plugin is fixing the build issue. Test: Built skottie demo app from command line and Android Studio Bug: skia: Change-Id: I0071bf996c44f96969079cb680cb05ec38efdc93 Reviewed-on: https://skia-review.googlesource.com/c/159581 Reviewed-by: Heather Miller <hcm@google.com> Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Stan Iliev <stani@google.com>
2018-08-23Merge "SkQP: Remove test InitialTextureClear" into pie-cts-devHal Canary
am: 9fb71b3312 Change-Id: I83e32f2766b136c7b00a9d71cb78436c12ebcce3
2018-08-23[skottie] Plumb external SkFontMgrFlorin Malita
Allow embedders to pass a font manager. In order to avoid excessive factory API clutter, introduce an Animation::Builder helper to wrap factory options. Also clean up various bits: * hoist scene parsing out of the Animation ctor * store the animation duration explicitly (instead of unused fps) * plumb const SkFontMgr& internally (instead of a ref) Change-Id: I3e180dfa85ba18c8462cfeb5a7385bef985ed6c4 Reviewed-on: https://skia-review.googlesource.com/148800 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org>
2018-08-22SkQP: Remove test InitialTextureClearHal Canary
b/113014859 BUG: skia:8184 No-Try: true Change-Id: I0bdd09189d465831cdad4b81d62c2df008abfba6 Reviewed-on: https://skia-review.googlesource.com/148320 Auto-Submit: Hal Canary <halcanary@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
2018-08-20SkQP: Remove tests that use too much RAMHal Canary
Bug: 80207024 Change-Id: Ia99833fc799b679110016ef77871a81985ddab4d Reviewed-on: https://skia-review.googlesource.com/142592 Reviewed-by: Derek Sollenberger <djsollen@google.com> Commit-Queue: Hal Canary <halcanary@google.com> (cherry picked from commit 3e34285f2a0fd2aa5f83f51dd65a42fd454ed7ee) Reviewed-on: https://skia-review.googlesource.com/142761
2018-08-20SkQP: remove IntTexture GPU unit test from SkQPHal Canary
Bug: 79208762 Change-Id: I5f1bea3dc4eda203eb4af2a433ec219d258be12a Reviewed-on: https://skia-review.googlesource.com/134611 Reviewed-by: Derek Sollenberger <djsollen@google.com> (cherry picked from commit cdd738ccc6308b573c54c2ac64f2f85f0d8f6391) Reviewed-on: https://skia-review.googlesource.com/134641 Reviewed-by: Hal Canary <halcanary@google.com>