Home
last modified time | relevance | path

Searched refs:kIntersect (Results 1 – 25 of 108) sorted by relevance

12345

/third_party/skia/tests/
DClipStackTest.cpp49 s.clipPath(p, SkMatrix::I(), SkClipOp::kIntersect, doAA); in test_assign_and_comparison()
55 s.clipRect(r, SkMatrix::I(), SkClipOp::kIntersect, doAA); in test_assign_and_comparison()
57 s.clipRect(r, SkMatrix::I(), SkClipOp::kIntersect, doAA); in test_assign_and_comparison()
87 s.clipRect(r, SkMatrix::I(), SkClipOp::kIntersect, doAA); in test_assign_and_comparison()
127 s.clipPath(p, SkMatrix::I(), SkClipOp::kIntersect, doAA); in test_assign_and_comparison()
228 SkClipOp::kIntersect, in test_bounds()
270 stack.clipRect(rectA, SkMatrix::I(), SkClipOp::kIntersect, false); in test_bounds()
274 stack.clipRRect(rrectA, SkMatrix::I(), SkClipOp::kIntersect, false); in test_bounds()
278 stack.clipPath(pathA, SkMatrix::I(), SkClipOp::kIntersect, false); in test_bounds()
291 (gOps[op] == SkClipOp::kIntersect)); in test_bounds()
[all …]
DGrClipStackTest.cpp108 ElementsBuilder& intersect() { fOp = SkClipOp::kIntersect; return *this; } in intersect()
160 SkClipOp fOp = SkClipOp::kIntersect;
249 bool intersect = (e.fOp == SkClipOp::kIntersect && !e.fShape.inverted()) || in getOptimalBounds()
1060 .actual().rect(intR1, GrAA::kYes, SkClipOp::kIntersect) in DEF_TEST()
1062 .rect(intR2, GrAA::kYes, SkClipOp::kIntersect) in DEF_TEST()
1064 .expect().rect(intCombo, GrAA::kYes, SkClipOp::kIntersect) in DEF_TEST()
1099 b.actual().path(make_octagon(d), GrAA::kYes, SkClipOp::kIntersect); in DEF_TEST()
1180 .actual().rect(rect, lm, GrAA::kYes, SkClipOp::kIntersect) in DEF_TEST()
1182 .expect().rect(lm.mapRect(rect), GrAA::kYes, SkClipOp::kIntersect) in DEF_TEST()
1192 .actual().rrect(localRRect, lm, GrAA::kYes, SkClipOp::kIntersect) in DEF_TEST()
[all …]
DAAClipTest.cpp274 for (SkClipOp op : {SkClipOp::kDifference, SkClipOp::kIntersect}) { in test_irect()
353 clip.op(ir, SkClipOp::kIntersect); in test_really_a_rect()
372 rc0.op(r, SkMatrix::I(), SkClipOp::kIntersect, false); in did_dx_affect()
374 rc1.op(r, SkMatrix::I(), SkClipOp::kIntersect, true); in did_dx_affect()
376 rc2.op(r, SkMatrix::I(), SkClipOp::kIntersect, true); in did_dx_affect()
422 rc.op(path, SkMatrix::I(), SkClipOp::kIntersect, true); in test_crbug_422693()
/third_party/skia/src/gpu/v1/
DClipStack.cpp50 if (a.op() == SkClipOp::kIntersect) { in get_clip_geometry()
51 if (b.op() == SkClipOp::kIntersect) { in get_clip_geometry()
83 if (b.op() == SkClipOp::kIntersect) { in get_clip_geometry()
178 if (op == SkClipOp::kIntersect) { in get_clip_edge_type()
267 helper->clear(e.fOp == SkClipOp::kIntersect ? 0x00 : 0xFF); in draw_to_sw_mask()
272 if (e.fOp == SkClipOp::kIntersect) { in draw_to_sw_mask()
386 if (e.fOp == SkClipOp::kIntersect) { in render_stencil_mask()
415 SkClipOp op() const { return SkClipOp::kIntersect; } in op()
517 fOp = fOp == SkClipOp::kIntersect ? SkClipOp::kDifference : SkClipOp::kIntersect; in simplify()
602 if (other.fOp != SkClipOp::kIntersect || fOp != SkClipOp::kIntersect) { in combine()
[all …]
/third_party/skia/gm/
Dcomplexclip4.cpp53 canvas->clipRect(clipRect, SkClipOp::kIntersect, aa); in emulateClipRectReplace()
60 canvas->clipRRect(clipRRect, SkClipOp::kIntersect, aa); in emulateClipRRectReplace()
67 canvas->clipPath(path, SkClipOp::kIntersect, aa); in emulateClipPathReplace()
113 SkClipOp::kIntersect, fDoAAClip); in onDraw()
/third_party/skia/src/core/
DSkClipStack.cpp251 this->initCommon(saveCount, SkClipOp::kIntersect, false); in initShader()
257 this->initCommon(saveCount, SkClipOp::kIntersect, doAA); in initReplaceRect()
309 (SkClipOp::kDifference == op || SkClipOp::kIntersect == op)) { in canBeIntersectedInPlace()
315 SkClipOp::kIntersect == op && in canBeIntersectedInPlace()
316 (SkClipOp::kIntersect == fOp || this->isReplaceOp()); in canBeIntersectedInPlace()
434 (SkClipOp::kIntersect == fOp && nullptr == prior) || in updateBoundAndGenID()
435 (SkClipOp::kIntersect == fOp && prior->fIsIntersectionOfRects && in updateBoundAndGenID()
499 case SkClipOp::kIntersect: in updateBoundAndGenID()
650 if (SkClipOp::kIntersect != element->getOp() && !element->isReplaceOp()) { in internalQuickContains()
676 if (SkClipOp::kIntersect != element->getOp() && !element->isReplaceOp()) { in internalQuickContains()
[all …]
/third_party/skia/include/core/
DSkClipOp.h15 kIntersect = 1, enumerator
16 kMax_EnumValue = kIntersect
DSkCoverageMode.h22 kIntersect, // A ∩ B A*B enumerator
/third_party/flutter/skia/docs/examples/
DCanvas_clipRegion.cpp13 canvas->clipRegion(region, SkClipOp::kIntersect); in draw()
17 canvas->clipRect(SkRect::Make(iRect), SkClipOp::kIntersect); in draw()
DCanvas_clipPath_2.cpp14 canvas->clipPath(path, SkClipOp::kIntersect); in draw()
19 canvas->clipPath(path, SkClipOp::kIntersect); in draw()
DCanvas_clipPath_3.cpp15 canvas->clipPath(path, SkClipOp::kIntersect); in draw()
20 canvas->clipPath(path, SkClipOp::kIntersect); in draw()
/third_party/skia/docs/examples/
DCanvas_clipRegion.cpp13 canvas->clipRegion(region, SkClipOp::kIntersect); in draw()
17 canvas->clipRect(SkRect::Make(iRect), SkClipOp::kIntersect); in draw()
DCanvas_clipPath_2.cpp14 canvas->clipPath(path, SkClipOp::kIntersect); in draw()
19 canvas->clipPath(path, SkClipOp::kIntersect); in draw()
DCanvas_clipPath_3.cpp15 canvas->clipPath(path, SkClipOp::kIntersect); in draw()
20 canvas->clipPath(path, SkClipOp::kIntersect); in draw()
Dpathops.cpp61 canvas->clipRect(SkRect::MakeWH(110, 110), SkClipOp::kIntersect, true); in draw()
73 canvas->clipRect(SkRect::MakeWH(110, 110), SkClipOp::kIntersect, true); in draw()
/third_party/skia/modules/sksg/src/
DSkSGRect.cpp19 canvas->clipRect(fRect, SkClipOp::kIntersect, antiAlias); in onClip()
43 canvas->clipRRect(fRRect, SkClipOp::kIntersect, antiAlias); in onClip()
DSkSGMerge.cpp30 canvas->clipPath(fMerged, SkClipOp::kIntersect, antiAlias); in onClip()
49 case Merge::Mode::kIntersect: in mode_to_op()
/third_party/flutter/skia/modules/sksg/src/
DSkSGRect.cpp19 canvas->clipRect(fRect, SkClipOp::kIntersect, antiAlias); in onClip()
45 canvas->clipRRect(fRRect, SkClipOp::kIntersect, antiAlias); in onClip()
DSkSGMerge.cpp29 canvas->clipPath(fMerged, SkClipOp::kIntersect, antiAlias); in onClip()
48 case Merge::Mode::kIntersect: in mode_to_op()
/third_party/skia/bench/
DAAClipBench.cpp60 canvas->clipPath(fClipPath, SkClipOp::kIntersect, fDoAA); in onDraw()
62 canvas->clipRect(fClipRect, SkClipOp::kIntersect, fDoAA); in onDraw()
130 canvas->clipPath(path, SkClipOp::kIntersect, fDoAA); in recurse()
/third_party/flutter/skia/src/pdf/
DSkPDFGraphicStackState.cpp51 case SkClipOp::kIntersect: in is_rect()
67 case SkClipOp::kIntersect: in is_complex_clip()
88 case SkClipOp::kIntersect: op = kIntersect_SkPathOp; break; in apply_clip()
/third_party/skia/src/pdf/
DSkPDFGraphicStackState.cpp44 } else if (element->getOp() == SkClipOp::kIntersect) { in is_rect()
60 element->getOp() != SkClipOp::kIntersect)) { in is_complex_clip()
79 case SkClipOp::kIntersect: op = kIntersect_SkPathOp; break; in apply_clip()
/third_party/flutter/skia/experimental/xform/
DSkXform.h123 ClipXF(sk_sp<Xform> parent, const SkRect& r, SkClipOp op = SkClipOp::kIntersect)
129 void setRect(const SkRect& r, SkClipOp op = SkClipOp::kIntersect) {
/third_party/skia/experimental/xform/
DSkXform.h123 ClipXF(sk_sp<Xform> parent, const SkRect& r, SkClipOp op = SkClipOp::kIntersect)
129 void setRect(const SkRect& r, SkClipOp op = SkClipOp::kIntersect) {
/third_party/flutter/skia/include/core/
DSkCoverageMode.h22 kIntersect, // A ∩ B A*B enumerator

12345