Home
last modified time | relevance | path

Searched refs:kIntersect_SkClipOp (Results 1 – 25 of 56) sorted by relevance

123

/external/skqp/tests/
DClipStackTest.cpp63 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
69 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
71 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
101 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
142 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
255 kIntersect_SkClipOp, in test_bounds()
299 stack.clipRect(rectA, SkMatrix::I(), kIntersect_SkClipOp, false); in test_bounds()
303 stack.clipRRect(rrectA, SkMatrix::I(), kIntersect_SkClipOp, false); in test_bounds()
307 stack.clipPath(pathA, SkMatrix::I(), kIntersect_SkClipOp, false); in test_bounds()
320 (gOps[op] == kIntersect_SkClipOp)); in test_bounds()
[all …]
DSkLiteDLTest.cpp16 p.clipRect(SkRect{2,3,4,5}, kIntersect_SkClipOp, true); in DEF_TEST()
51 c->clipRect(SkRect{2,3,4,5}, kIntersect_SkClipOp, true); in DEF_TEST()
/external/skia/tests/
DClipStackTest.cpp63 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
69 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
71 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
101 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
142 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
255 kIntersect_SkClipOp, in test_bounds()
299 stack.clipRect(rectA, SkMatrix::I(), kIntersect_SkClipOp, false); in test_bounds()
303 stack.clipRRect(rrectA, SkMatrix::I(), kIntersect_SkClipOp, false); in test_bounds()
307 stack.clipPath(pathA, SkMatrix::I(), kIntersect_SkClipOp, false); in test_bounds()
320 (gOps[op] == kIntersect_SkClipOp)); in test_bounds()
[all …]
DSkLiteDLTest.cpp16 p.clipRect(SkRect{2,3,4,5}, kIntersect_SkClipOp, true); in DEF_TEST()
51 c->clipRect(SkRect{2,3,4,5}, kIntersect_SkClipOp, true); in DEF_TEST()
/external/skqp/src/core/
DSkClipStack.cpp265 (kDifference_SkClipOp == op || kIntersect_SkClipOp == op)) { in canBeIntersectedInPlace()
271 kIntersect_SkClipOp == op && in canBeIntersectedInPlace()
272 (kIntersect_SkClipOp == fOp || kReplace_SkClipOp == fOp); in canBeIntersectedInPlace()
486 if (kReplace_SkClipOp == fOp || (kIntersect_SkClipOp == fOp && nullptr == prior) || in updateBoundAndGenID()
487 (kIntersect_SkClipOp == fOp && prior->fIsIntersectionOfRects && in updateBoundAndGenID()
548 case kIntersect_SkClipOp: in updateBoundAndGenID()
706 if (kIntersect_SkClipOp != element->getOp() && kReplace_SkClipOp != element->getOp()) in internalQuickContains()
731 if (kIntersect_SkClipOp != element->getOp() && kReplace_SkClipOp != element->getOp()) in internalQuickContains()
832 Element restriction(fSaveCount, fClipRestrictionRect, SkMatrix::I(), kIntersect_SkClipOp, in clipRRect()
843 Element restriction(fSaveCount, fClipRestrictionRect, SkMatrix::I(), kIntersect_SkClipOp, in clipRect()
[all …]
DSkClipOpPriv.h14 const SkClipOp kIntersect_SkClipOp = SkClipOp::kIntersect; variable
/external/skia/src/core/
DSkClipStack.cpp265 (kDifference_SkClipOp == op || kIntersect_SkClipOp == op)) { in canBeIntersectedInPlace()
271 kIntersect_SkClipOp == op && in canBeIntersectedInPlace()
272 (kIntersect_SkClipOp == fOp || kReplace_SkClipOp == fOp); in canBeIntersectedInPlace()
486 if (kReplace_SkClipOp == fOp || (kIntersect_SkClipOp == fOp && nullptr == prior) || in updateBoundAndGenID()
487 (kIntersect_SkClipOp == fOp && prior->fIsIntersectionOfRects && in updateBoundAndGenID()
548 case kIntersect_SkClipOp: in updateBoundAndGenID()
706 if (kIntersect_SkClipOp != element->getOp() && kReplace_SkClipOp != element->getOp()) in internalQuickContains()
731 if (kIntersect_SkClipOp != element->getOp() && kReplace_SkClipOp != element->getOp()) in internalQuickContains()
832 Element restriction(fSaveCount, fClipRestrictionRect, SkMatrix::I(), kIntersect_SkClipOp, in clipRRect()
843 Element restriction(fSaveCount, fClipRestrictionRect, SkMatrix::I(), kIntersect_SkClipOp, in clipRect()
[all …]
DSkClipOpPriv.h14 const SkClipOp kIntersect_SkClipOp = SkClipOp::kIntersect; variable
/external/skia/gm/
Dmegalooper.cpp94 canvas->clipRect(outerClip, kIntersect_SkClipOp); in draw0x0()
148 canvas->clipRect(outerClip, kIntersect_SkClipOp); in draw4x1()
197 canvas->clipRect(outerClip, kIntersect_SkClipOp); in draw1x4()
Dconvexpolyclip.cpp177 clip->setOnCanvas(canvas, kIntersect_SkClipOp, SkToBool(aa)); in onDraw()
203 clip->setOnCanvas(canvas, kIntersect_SkClipOp, SkToBool(aa)); in onDraw()
Dcircularclips.cpp41 kIntersect_SkClipOp, in onDraw()
Dcomplexclip4.cpp78 kIntersect_SkClipOp, fDoAAClip); in onDraw()
Dcomplexclip3.cpp62 {kIntersect_SkClipOp, "I"}, in onDraw()
Dsimpleaaclip.cpp151 { SK_ColorRED, "Intersect", kIntersect_SkClipOp }, in onDraw()
/external/skqp/gm/
Dmegalooper.cpp94 canvas->clipRect(outerClip, kIntersect_SkClipOp); in draw0x0()
148 canvas->clipRect(outerClip, kIntersect_SkClipOp); in draw4x1()
197 canvas->clipRect(outerClip, kIntersect_SkClipOp); in draw1x4()
Dconvexpolyclip.cpp177 clip->setOnCanvas(canvas, kIntersect_SkClipOp, SkToBool(aa)); in onDraw()
203 clip->setOnCanvas(canvas, kIntersect_SkClipOp, SkToBool(aa)); in onDraw()
Dcircularclips.cpp41 kIntersect_SkClipOp, in onDraw()
Dcomplexclip4.cpp78 kIntersect_SkClipOp, fDoAAClip); in onDraw()
Dcomplexclip3.cpp62 {kIntersect_SkClipOp, "I"}, in onDraw()
/external/skqp/samplecode/
DSampleIdentityScale.cpp66 canvas->clipPath(clipPath, kIntersect_SkClipOp, true); in onDrawContent()
/external/skia/samplecode/
DSampleIdentityScale.cpp66 canvas->clipPath(clipPath, kIntersect_SkClipOp, true); in onDrawContent()
/external/skqp/src/gpu/
DGrReducedClip.cpp126 fMaskElements.addToTail(fAAClipRect, SkMatrix::I(), kIntersect_SkClipOp, true /*doAA*/); in GrReducedClip()
213 case kIntersect_SkClipOp: in walkStack()
389 (kIntersect_SkClipOp == newElement->getOp() || isReplace)) { in walkStack()
414 case kIntersect_SkClipOp: in walkStack()
/external/skia/src/gpu/
DGrReducedClip.cpp126 fMaskElements.addToTail(fAAClipRect, SkMatrix::I(), kIntersect_SkClipOp, true /*doAA*/); in GrReducedClip()
213 case kIntersect_SkClipOp: in walkStack()
389 (kIntersect_SkClipOp == newElement->getOp() || isReplace)) { in walkStack()
414 case kIntersect_SkClipOp: in walkStack()
/external/skqp/fuzz/
DFuzzDrawFunctions.cpp198 cnv->clipRect(r, kIntersect_SkClipOp, bl); in fuzz_drawRect()
249 cnv->clipPath(path, kIntersect_SkClipOp, bl); in fuzz_drawPath()
/external/skia/fuzz/
DFuzzDrawFunctions.cpp198 cnv->clipRect(r, kIntersect_SkClipOp, bl); in fuzz_drawRect()
249 cnv->clipPath(path, kIntersect_SkClipOp, bl); in fuzz_drawPath()

123