diff options
author | 2017-01-30 08:06:27 -0500 | |
---|---|---|
committer | 2017-01-30 13:40:15 +0000 | |
commit | 40fd7c94c24bb30d888c3d85a79cbb96c7fbf800 (patch) | |
tree | 075e886c01de864ba982910f1854f47ba1ae95d8 /src/core/SkGpuBlurUtils.cpp | |
parent | 55b72530fedeb58154635531751a8730982fbf2a (diff) |
Push GrTextureProxy down to more effects
Change-Id: Ie3f32a88f25af082c25bc6daf3fe24e303e80f9e
Reviewed-on: https://skia-review.googlesource.com/7616
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/core/SkGpuBlurUtils.cpp')
-rw-r--r-- | src/core/SkGpuBlurUtils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkGpuBlurUtils.cpp b/src/core/SkGpuBlurUtils.cpp index ec9376501a..d7522ca726 100644 --- a/src/core/SkGpuBlurUtils.cpp +++ b/src/core/SkGpuBlurUtils.cpp @@ -231,7 +231,7 @@ sk_sp<GrRenderTargetContext> GaussianBlur(GrContext* context, const GrPixelConfig config = srcTexture->config(); sk_sp<GrRenderTargetContext> dstRenderTargetContext(context->makeDeferredRenderTargetContext( - fit, width, height, config, colorSpace, 0, kDefault_GrSurfaceOrigin)); + fit, width, height, config, colorSpace, 0, kBottomLeft_GrSurfaceOrigin)); if (!dstRenderTargetContext) { return nullptr; } @@ -250,7 +250,7 @@ sk_sp<GrRenderTargetContext> GaussianBlur(GrContext* context, } sk_sp<GrRenderTargetContext> tmpRenderTargetContext(context->makeDeferredRenderTargetContext( - fit, width, height, config, colorSpace, 0, kDefault_GrSurfaceOrigin)); + fit, width, height, config, colorSpace, 0, kBottomLeft_GrSurfaceOrigin)); if (!tmpRenderTargetContext) { return nullptr; } |