Searched refs:reducedClip (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/gpu/ |
D | GrClipStackClip.cpp | 144 const GrReducedClip& reducedClip) { in UseSWOnlyPath() argument 156 translate.setTranslate(SkIntToScalar(-reducedClip.left()), SkIntToScalar(-reducedClip.top())); in UseSWOnlyPath() 158 for (ElementList::Iter iter(reducedClip.elements()); iter.get(); iter.next()) { in UseSWOnlyPath() 260 const GrReducedClip reducedClip(*fStack, devBounds, in apply() local 263 if (reducedClip.hasIBounds() && !GrClip::IsInsideClip(reducedClip.ibounds(), devBounds)) { in apply() 264 out->addScissor(reducedClip.ibounds(), bounds); in apply() 267 if (!reducedClip.windowRectangles().empty()) { in apply() 268 out->addWindowRectangles(reducedClip.windowRectangles(), in apply() 272 if (reducedClip.elements().isEmpty()) { in apply() 273 return InitialState::kAllIn == reducedClip.initialState(); in apply() [all …]
|
/external/skia/gm/ |
D | windowrectangles.cpp | 187 const GrReducedClip reducedClip(stack, SkRect::Make(kCoverRect), kNumWindows); in onCoverClipStack() local 192 this->visualizeAlphaMask(ctx, rtc, reducedClip, std::move(paint)); in onCoverClipStack() 195 this->visualizeStencilMask(ctx, rtc, reducedClip, std::move(paint)); in onCoverClipStack() 200 const GrReducedClip& reducedClip, GrPaint&& paint) { in visualizeAlphaMask() argument 220 reducedClip.drawAlphaClipMask(maskRTC.get()); in visualizeAlphaMask() 234 const GrReducedClip& reducedClip, in visualizeStencilMask() argument 243 reducedClip.drawStencilClipMask(ctx, rtc); in visualizeStencilMask()
|
/external/skia/tests/ |
D | ClipStackTest.cpp | 1451 const GrReducedClip reducedClip(*fStack, SkRect::MakeWH(512, 512), 0); in testingOnly_createClipMask() local 1452 return this->createSoftwareClipMask(context, reducedClip); in testingOnly_createClipMask()
|