diff options
author | Robert Phillips <robertphillips@google.com> | 2018-08-14 13:01:29 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-08-14 19:00:19 +0000 |
commit | e4643cc81c56b34482b0f52001e27dfe77552a04 (patch) | |
tree | 20b63b4e4484b5ff949e125e0a889f8f0b0157a0 /src/gpu/SkGpuDevice.cpp | |
parent | d19fed1e291d8fbded9ec7425e9f1fa3861a72f8 (diff) | |
download | platform_external_skqp-e4643cc81c56b34482b0f52001e27dfe77552a04.tar.gz platform_external_skqp-e4643cc81c56b34482b0f52001e27dfe77552a04.tar.bz2 platform_external_skqp-e4643cc81c56b34482b0f52001e27dfe77552a04.zip |
Remove unused parameter from drawPathWithMaskFilter
Change-Id: If2a054c21f11127e61f9f552abb6fb1a395a740c
Reviewed-on: https://skia-review.googlesource.com/147105
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/SkGpuDevice.cpp')
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index 97d9a6551c..bce9275610 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -383,8 +383,7 @@ void SkGpuDevice::drawRect(const SkRect& rect, const SkPaint& paint) { path.setIsVolatile(true); path.addRect(rect); GrBlurUtils::drawPathWithMaskFilter(fContext.get(), fRenderTargetContext.get(), - this->clip(), path, paint, this->ctm(), nullptr, - this->devClipBounds(), true); + this->clip(), path, paint, this->ctm(), nullptr, true); return; } @@ -444,8 +443,7 @@ void SkGpuDevice::drawRRect(const SkRRect& rrect, const SkPaint& paint) { path.setIsVolatile(true); path.addRRect(rrect); GrBlurUtils::drawPathWithMaskFilter(fContext.get(), fRenderTargetContext.get(), - this->clip(), path, paint, this->ctm(), nullptr, - this->devClipBounds(), true); + this->clip(), path, paint, this->ctm(), nullptr, true); return; } @@ -489,8 +487,7 @@ void SkGpuDevice::drawDRRect(const SkRRect& outer, path.setFillType(SkPath::kEvenOdd_FillType); GrBlurUtils::drawPathWithMaskFilter(fContext.get(), fRenderTargetContext.get(), this->clip(), - path, paint, this->ctm(), nullptr, this->devClipBounds(), - true); + path, paint, this->ctm(), nullptr, true); } @@ -640,7 +637,7 @@ void SkGpuDevice::drawPath(const SkPath& origSrcPath, } GrBlurUtils::drawPathWithMaskFilter(fContext.get(), fRenderTargetContext.get(), this->clip(), origSrcPath, paint, this->ctm(), prePathMatrix, - this->devClipBounds(), pathIsMutable); + pathIsMutable); } static const int kBmpSmallTileSize = 1 << 10; @@ -1637,8 +1634,7 @@ void SkGpuDevice::drawGlyphRunList(const SkGlyphRunList& glyphRunList) { GR_CREATE_TRACE_MARKER_CONTEXT("SkGpuDevice", "drawGlyphRunList", fContext.get()); SkDEBUGCODE(this->validate();) - fRenderTargetContext->drawGlyphRunList( - this->clip(), this->ctm(), glyphRunList, this->devClipBounds()); + fRenderTargetContext->drawGlyphRunList(this->clip(), this->ctm(), glyphRunList); } /////////////////////////////////////////////////////////////////////////////// |