aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2018-01-30 15:43:49 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-01-30 21:08:50 +0000
commit57b0430e19f3c8c2ebda4d8b705bc339af00e0fb (patch)
treeca8688d829b33e7d3d3bb9c8c1d609d829ccede8 /tests
parentf650ad99780ad04ac59dff93009a25ba50548f7e (diff)
Fix mock tex rt gpu mem size
Change-Id: Ieeab32d3eb8fdbb16c004537f2d50956d6ec74d3 Reviewed-on: https://skia-review.googlesource.com/102022 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/PathRendererCacheTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PathRendererCacheTests.cpp b/tests/PathRendererCacheTests.cpp
index cc645827d9..15b1faa4ba 100644
--- a/tests/PathRendererCacheTests.cpp
+++ b/tests/PathRendererCacheTests.cpp
@@ -76,7 +76,7 @@ static void test_path(skiatest::Reporter* reporter,
GrStyle style = GrStyle(SkStrokeRec::kFill_InitStyle)) {
sk_sp<GrContext> ctx = GrContext::MakeMock(nullptr);
// The cache needs to be big enough that nothing gets flushed, or our expectations can be wrong
- ctx->setResourceCacheLimits(100, 1000000);
+ ctx->setResourceCacheLimits(100, 8000000);
GrResourceCache* cache = ctx->contextPriv().getResourceCache();
sk_sp<GrRenderTargetContext> rtc(ctx->makeDeferredRenderTargetContext(