diff options
author | Robert Phillips <robertphillips@google.com> | 2017-03-30 10:58:57 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-30 16:16:37 +0000 |
commit | 77f1edce072756a6226874be9a41283d19307fef (patch) | |
tree | 99c16ade15217b3dcea6876dc7b9b6b5551132ad /tests | |
parent | 32ebaba7a7331478e9205859a824ee4eaeff6866 (diff) |
Minor cleanup (remove unused GrRenderTargetContext::asTexture method)
Change-Id: I719204e9870b3c849a5c60d967359a70138e6c9c
Reviewed-on: https://skia-review.googlesource.com/10753
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/RenderTargetContextTest.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/RenderTargetContextTest.cpp b/tests/RenderTargetContextTest.cpp index 632ae82838..3db0473b62 100644 --- a/tests/RenderTargetContextTest.cpp +++ b/tests/RenderTargetContextTest.cpp @@ -48,19 +48,6 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(RenderTargetContextTest, reporter, ctxInfo) { check_is_wrapped_status(reporter, rtCtx.get(), true); } - // A deferred rtCtx's textureProxy is also deferred and GrRenderTargetContext::instantiate() - // swaps both from deferred to wrapped - { - sk_sp<GrRenderTargetContext> rtCtx(get_rtc(ctx, false)); - - check_is_wrapped_status(reporter, rtCtx.get(), false); - - GrRenderTarget* rt = rtCtx->instantiate(); - REPORTER_ASSERT(reporter, rt); - - check_is_wrapped_status(reporter, rtCtx.get(), true); - } - // Calling instantiate on a GrRenderTargetContext's textureProxy also instantiates the // GrRenderTargetContext { |