Home
last modified time | relevance | path

Searched refs:reducedClip (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/
DGrClipStackClip.cpp150 const GrReducedClip& reducedClip) { in UseSWOnlyPath() argument
158 translate.setTranslate(SkIntToScalar(-reducedClip.left()), SkIntToScalar(-reducedClip.top())); in UseSWOnlyPath()
160 for (ElementList::Iter iter(reducedClip.elements()); iter.get(); iter.next()) { in UseSWOnlyPath()
262 const GrReducedClip reducedClip(*fStack, devBounds, in apply() local
265 if (reducedClip.hasIBounds() && !GrClip::IsInsideClip(reducedClip.ibounds(), devBounds)) { in apply()
266 out->addScissor(reducedClip.ibounds(), bounds); in apply()
269 if (!reducedClip.windowRectangles().empty()) { in apply()
270 out->addWindowRectangles(reducedClip.windowRectangles(), in apply()
274 if (reducedClip.elements().isEmpty()) { in apply()
275 return InitialState::kAllIn == reducedClip.initialState(); in apply()
[all …]
/external/skia/gm/
Dwindowrectangles.cpp188 const GrReducedClip reducedClip(stack, SkRect::Make(kCoverRect), kNumWindows); in onCoverClipStack() local
193 this->visualizeAlphaMask(ctx, rtc, reducedClip, std::move(paint)); in onCoverClipStack()
196 this->visualizeStencilMask(ctx, rtc, reducedClip, std::move(paint)); in onCoverClipStack()
201 const GrReducedClip& reducedClip, GrPaint&& paint) { in visualizeAlphaMask() argument
221 reducedClip.drawAlphaClipMask(maskRTC.get()); in visualizeAlphaMask()
235 const GrReducedClip& reducedClip, in visualizeStencilMask() argument
244 reducedClip.drawStencilClipMask(ctx, rtc); in visualizeStencilMask()
/external/skia/tests/
DClipStackTest.cpp1418 const GrReducedClip reducedClip(*fStack, SkRect::MakeWH(512, 512), 0); in testingOnly_createClipMask() local
1419 return this->createSoftwareClipMask(context, reducedClip); in testingOnly_createClipMask()