diff options
author | Robert Phillips <robertphillips@google.com> | 2016-12-01 12:57:20 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-12-01 18:43:49 +0000 |
commit | 155b29224d64b5c12bf7fc789edb5c257b6281c8 (patch) | |
tree | 47f7179d9701d27a732219422266eee52c4d0bd4 /src/gpu/GrBlurUtils.cpp | |
parent | 0a2782c98c45127a10d6392c539e7bce72dc5513 (diff) |
Remove use of makeDeferredRenderTargetContextWithFallback
This is a partial revert of https://codereview.chromium.org/2514543002 (Defer more renderTargetContexts in the GPU image filter paths - take 2)
I have been unable to reproduce the performance regression in crbug.com/668179 locally so intend to revert the above CL piecemeal.
BUG=668179
Change-Id: Idf3d66d71c452f5718d7b1d8d945ca7ff46b75d8
Reviewed-on: https://skia-review.googlesource.com/5441
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrBlurUtils.cpp')
-rw-r--r-- | src/gpu/GrBlurUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrBlurUtils.cpp b/src/gpu/GrBlurUtils.cpp index 8f14bf75e5..61a40eafaa 100644 --- a/src/gpu/GrBlurUtils.cpp +++ b/src/gpu/GrBlurUtils.cpp @@ -104,7 +104,7 @@ static sk_sp<GrTextureProxy> create_mask_GPU(GrContext* context, sampleCnt = 0; } - sk_sp<GrRenderTargetContext> rtContext(context->makeDeferredRenderTargetContextWithFallback( + sk_sp<GrRenderTargetContext> rtContext(context->makeRenderTargetContextWithFallback( SkBackingFit::kApprox, maskRect.width(), maskRect.height(), kAlpha_8_GrPixelConfig, nullptr, sampleCnt)); if (!rtContext) { |