aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrBlurUtils.cpp
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2017-10-30 13:39:09 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-10-30 19:18:03 +0000
commit65c7f662ba4ec1c78dc5fc67b184ee9c7b614f55 (patch)
tree77231d7f3f1e4000fc84927489403f91f96fdff1 /src/gpu/GrBlurUtils.cpp
parenta6df670e565325bfe860ed71ded0b7685f9a90ad (diff)
Add mip support to GrAHardwareBufferImageGenerator
Bug: skia: Change-Id: I482d8f9937c86ed441016afef2d8f924282dd17a Reviewed-on: https://skia-review.googlesource.com/63861 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/GrBlurUtils.cpp')
-rw-r--r--src/gpu/GrBlurUtils.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/GrBlurUtils.cpp b/src/gpu/GrBlurUtils.cpp
index 68fd9f3899..9760205de2 100644
--- a/src/gpu/GrBlurUtils.cpp
+++ b/src/gpu/GrBlurUtils.cpp
@@ -85,6 +85,7 @@ static bool sw_draw_with_mask_filter(GrContext* context,
sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext(
desc,
+ GrMipMapped::kNo,
SkBackingFit::kApprox,
SkBudgeted::kYes);
if (!sContext) {