diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/GrClipMaskManager.cpp | 4 | ||||
-rw-r--r-- | src/gpu/GrClipMaskManager.h | 2 | ||||
-rw-r--r-- | src/gpu/GrReducedClip.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp index d076ced281..15dc7e3f91 100644 --- a/src/gpu/GrClipMaskManager.cpp +++ b/src/gpu/GrClipMaskManager.cpp @@ -81,7 +81,7 @@ bool GrClipMaskManager::useSWOnlyPath(const ElementList& elements) { bool useSW = false; SkStroke stroke; stroke.setDoFill(true); - + for (ElementList::Iter iter(elements.headIter()); iter.get(); iter.next()) { const Element* element = iter.get(); // rects can always be drawn directly w/o using the software path @@ -915,7 +915,7 @@ GrTexture* GrClipMaskManager::createSoftwareClipMask(int32_t clipStackGenID, GrAssert(Element::kPath_Type == element->getType()); SkPath clipPath = element->getPath(); clipPath.toggleInverseFillType(); - helper.draw(clipPath, stroke, + helper.draw(clipPath, stroke, SkRegion::kReplace_Op, element->isAA(), 0x00); diff --git a/src/gpu/GrClipMaskManager.h b/src/gpu/GrClipMaskManager.h index de16221d58..d4e6a8d9ee 100644 --- a/src/gpu/GrClipMaskManager.h +++ b/src/gpu/GrClipMaskManager.h @@ -129,7 +129,7 @@ private: const GrReducedClip::ElementList& elements, const SkIRect& clipSpaceIBounds); - // Gets a texture to use for the clip mask. If true is returned then a cached mask was found + // Gets a texture to use for the clip mask. If true is returned then a cached mask was found // that already contains the rasterization of the clip stack, otherwise an uninitialized texture // is returned. bool getMaskTexture(int32_t clipStackGenID, diff --git a/src/gpu/GrReducedClip.cpp b/src/gpu/GrReducedClip.cpp index 47457920bd..baa8533235 100644 --- a/src/gpu/GrReducedClip.cpp +++ b/src/gpu/GrReducedClip.cpp @@ -122,7 +122,7 @@ void ReduceClipStack(const SkClipStack& stack, } SkRect scalarBounds = SkRect::MakeFromIRect(*bounds); - + // Now that we have determined the bounds to use and filtered out the trivial cases, call the // helper that actually walks the stack. reduced_stack_walker(stack, scalarBounds, result, initialState, requiresAA); |