diff options
author | Robert Phillips <robertphillips@google.com> | 2018-03-06 08:20:37 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-03-06 14:23:45 +0000 |
commit | 0c4b7b1f2f1dd37204d401a6993119e5431942a6 (patch) | |
tree | af37ee06f3a29a0aeeba00f8bbcf67fbfd0bbea4 /tests/DefaultPathRendererTest.cpp | |
parent | 2f8622029d265e79eb11df8eb06a29ff3faa7ac0 (diff) |
Move internal calls from GrContext to GrContextPriv
A mechanical bulk move just to get these out of the public API.
TBR=bsalomon@google.com
Change-Id: I813efbd54a09dd448275697c0e50947753a5cfd3
Reviewed-on: https://skia-review.googlesource.com/112262
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'tests/DefaultPathRendererTest.cpp')
-rw-r--r-- | tests/DefaultPathRendererTest.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/DefaultPathRendererTest.cpp b/tests/DefaultPathRendererTest.cpp index 176461106f..155d6a7b43 100644 --- a/tests/DefaultPathRendererTest.cpp +++ b/tests/DefaultPathRendererTest.cpp @@ -68,7 +68,8 @@ static void run_test(GrContext* ctx, skiatest::Reporter* reporter) { GrStyle style(SkStrokeRec::kFill_InitStyle); { - auto rtc = ctx->makeDeferredRenderTargetContext(SkBackingFit::kApprox, + auto rtc = ctx->contextPriv().makeDeferredRenderTargetContext( + SkBackingFit::kApprox, kBigSize/2+1, kBigSize/2+1, kRGBA_8888_GrPixelConfig, nullptr); @@ -88,7 +89,8 @@ static void run_test(GrContext* ctx, skiatest::Reporter* reporter) { } { - auto rtc = ctx->makeDeferredRenderTargetContext(SkBackingFit::kExact, kBigSize, kBigSize, + auto rtc = ctx->contextPriv().makeDeferredRenderTargetContext( + SkBackingFit::kExact, kBigSize, kBigSize, kRGBA_8888_GrPixelConfig, nullptr); rtc->clear(nullptr, GrColorPackRGBA(0x0, 0x0, 0x0, 0xFF), |