Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/tests/
DClipStackTest.cpp65 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
71 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
73 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
103 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
144 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
257 kIntersect_SkClipOp, in test_bounds()
301 stack.clipRect(rectA, SkMatrix::I(), kIntersect_SkClipOp, false); in test_bounds()
305 stack.clipRRect(rrectA, SkMatrix::I(), kIntersect_SkClipOp, false); in test_bounds()
309 stack.clipPath(pathA, SkMatrix::I(), kIntersect_SkClipOp, false); in test_bounds()
322 (gOps[op] == kIntersect_SkClipOp)); in test_bounds()
[all …]
DCanvasStateTest.cpp285 canvas.clipRRect(roundRect, kIntersect_SkClipOp, true); in DEF_TEST()
DPictureTest.cpp443 canvas->clipPath(path, kIntersect_SkClipOp); in test_clip_bound_opt()
/third_party/flutter/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
DSkPictureRecord.cpp260 case kIntersect_SkClipOp: in clipOpExpands()
/third_party/flutter/skia/samplecode/
DSampleIdentityScale.cpp60 canvas->clipPath(clipPath, kIntersect_SkClipOp, true); in onDrawContent()
DSampleClip.cpp125 canvas->clipPath(clipPath, kIntersect_SkClipOp, SkToBool(aa)); in onDrawContent()
DSampleComplexClip.cpp81 {kIntersect_SkClipOp, "Isect "}, in onDrawContent()
DSampleLayers.cpp209 canvas->clipPath(path, kIntersect_SkClipOp, true); in onDrawContent()
DSampleFatBits.cpp274 fMinSurface->getCanvas()->clipRect(r, kIntersect_SkClipOp, true); in drawLine()
/third_party/flutter/skia/gm/
Dcircularclips.cpp49 kIntersect_SkClipOp, in onDraw()
Dcomplexclip4.cpp86 kIntersect_SkClipOp, fDoAAClip); in onDraw()
Dconvexpolyclip.cpp192 clip->setOnCanvas(canvas, kIntersect_SkClipOp, SkToBool(aa)); in onDraw()
218 clip->setOnCanvas(canvas, kIntersect_SkClipOp, SkToBool(aa)); in onDraw()
Dcomplexclip3.cpp74 {kIntersect_SkClipOp, "I"}, in onDraw()
Dsimpleaaclip.cpp165 {SK_ColorRED, "Intersect", kIntersect_SkClipOp}, in onDraw()
Dcomplexclip2.cpp95 kIntersect_SkClipOp, in onOnceBeforeDraw()
Dcomplexclip.cpp91 {kIntersect_SkClipOp, "Isect "}, in onDraw()
Dwindowrectangles.cpp120 canvas->clipRect({ 0, 0, 0, 0 }, kIntersect_SkClipOp, false); in onCoverClipStack()
/third_party/flutter/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()
DGrClipStackClip.cpp182 kIntersect_SkClipOp == op || kReverseDifference_SkClipOp == op; in UseSWOnlyPath()
434 if (kIntersect_SkClipOp == op || kReverseDifference_SkClipOp == op) { in draw_clip_elements_to_mask_helper()
/third_party/flutter/skia/fuzz/
DFuzzDrawFunctions.cpp198 cnv->clipRect(r, kIntersect_SkClipOp, bl); in fuzz_drawRect()
249 cnv->clipPath(path, kIntersect_SkClipOp, bl); in fuzz_drawPath()
/third_party/flutter/skia/bench/
DAAClipBench.cpp134 0 == depth ? kReplace_SkClipOp : kIntersect_SkClipOp, in recurse()
/third_party/flutter/skia/src/svg/
DSkSVGDevice.cpp711 this->cs().clipRect(rect, this->ctm(), kIntersect_SkClipOp, true); in drawAnnotation()
857 cs->clipRect(dst, this->ctm(), kIntersect_SkClipOp, paint.isAntiAlias()); in drawBitmapRect()
/third_party/flutter/skia/tools/debugger/
DDrawCommand.cpp602 case kIntersect_SkClipOp: return DEBUGCANVAS_REGIONOP_INTERSECT; in regionop_name()

12