diff options
author | 2016-05-04 12:47:41 -0700 | |
---|---|---|
committer | 2016-05-04 12:47:41 -0700 | |
commit | 76948d4faaca9fd7730576e2f79790ca8d93c10b (patch) | |
tree | 702a78ad811ecb9ab0f96d07eee64ecdf8191bd1 /src/effects/SkMorphologyImageFilter.cpp | |
parent | c4025189d31efcb0d54bf14b7712b38725f86c13 (diff) |
Add Gr*Proxy classes
This isn't wired in anywhere yet.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1937553002
Committed: https://skia.googlesource.com/skia/+/de5bf0cfeca908b81a28cc50065f7bc2da3d2fd1
Committed: https://skia.googlesource.com/skia/+/92605b35efa0155c44d24bd8415b4cc1db8831db
Review-Url: https://codereview.chromium.org/1937553002
Diffstat (limited to 'src/effects/SkMorphologyImageFilter.cpp')
-rw-r--r-- | src/effects/SkMorphologyImageFilter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp index 2a0f078c05..121a7fdc01 100644 --- a/src/effects/SkMorphologyImageFilter.cpp +++ b/src/effects/SkMorphologyImageFilter.cpp @@ -487,7 +487,7 @@ static sk_sp<SkSpecialImage> apply_morphology(GrContext* context, SkASSERT(radius.width() > 0 || radius.height() > 0); if (radius.fWidth > 0) { - sk_sp<GrDrawContext> dstDrawContext(context->newDrawContext(GrContext::kLoose_BackingFit, + sk_sp<GrDrawContext> dstDrawContext(context->newDrawContext(SkBackingFit::kApprox, rect.width(), rect.height(), kSkia8888_GrPixelConfig)); if (!dstDrawContext) { @@ -508,7 +508,7 @@ static sk_sp<SkSpecialImage> apply_morphology(GrContext* context, srcRect = dstRect; } if (radius.fHeight > 0) { - sk_sp<GrDrawContext> dstDrawContext(context->newDrawContext(GrContext::kLoose_BackingFit, + sk_sp<GrDrawContext> dstDrawContext(context->newDrawContext(SkBackingFit::kApprox, rect.width(), rect.height(), kSkia8888_GrPixelConfig)); if (!dstDrawContext) { |