From 4f007aba95651a760586cd4fa02fe5b51becb099 Mon Sep 17 00:00:00 2001 From: "zhongjun.chen" Date: Tue, 23 Jun 2020 18:58:11 +0800 Subject: Cherry-pick from android10-tests-dev into future revisions. Relax org.skia.skqp.SkQPRunner#unitTest_CCPR_busyPath Decreasing the kNumBusyVerbs count in CCPRRenderingTest function,for the DDR(512M) is so weak that the phone cannot afford this testcase. Test: passed this test Bug: 156326016 Bug: 160733383 Change-Id: I80a2611cb597157a4909544dbc14591e38cd7065 (cherry picked from commit 317648fc9951cf74a46ba7b3b2a5a9a1f4918d6d) --- tests/GrCCPRTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/GrCCPRTest.cpp b/tests/GrCCPRTest.cpp index 9c84717d34..c4bf58973a 100644 --- a/tests/GrCCPRTest.cpp +++ b/tests/GrCCPRTest.cpp @@ -883,7 +883,7 @@ protected: class CCPR_busyPath : public CCPRRenderingTest { void onRun(skiatest::Reporter* reporter, const CCPRPathDrawer& ccpr) const override { - static constexpr int kNumBusyVerbs = 1 << 17; + static constexpr int kNumBusyVerbs = 1 << 14; ccpr.clear(); SkPath busyPath; busyPath.moveTo(0, 0); // top left -- cgit v1.2.3