/third_party/skia/tests/ |
D | ClipStackTest.cpp | 49 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 …]
|
D | GrClipStackTest.cpp | 108 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 …]
|
D | AAClipTest.cpp | 274 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/ |
D | ClipStack.cpp | 50 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/ |
D | complexclip4.cpp | 53 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/ |
D | SkClipStack.cpp | 251 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/ |
D | SkClipOp.h | 15 kIntersect = 1, enumerator 16 kMax_EnumValue = kIntersect
|
D | SkCoverageMode.h | 22 kIntersect, // A ∩ B A*B enumerator
|
/third_party/flutter/skia/docs/examples/ |
D | Canvas_clipRegion.cpp | 13 canvas->clipRegion(region, SkClipOp::kIntersect); in draw() 17 canvas->clipRect(SkRect::Make(iRect), SkClipOp::kIntersect); in draw()
|
D | Canvas_clipPath_2.cpp | 14 canvas->clipPath(path, SkClipOp::kIntersect); in draw() 19 canvas->clipPath(path, SkClipOp::kIntersect); in draw()
|
D | Canvas_clipPath_3.cpp | 15 canvas->clipPath(path, SkClipOp::kIntersect); in draw() 20 canvas->clipPath(path, SkClipOp::kIntersect); in draw()
|
/third_party/skia/docs/examples/ |
D | Canvas_clipRegion.cpp | 13 canvas->clipRegion(region, SkClipOp::kIntersect); in draw() 17 canvas->clipRect(SkRect::Make(iRect), SkClipOp::kIntersect); in draw()
|
D | Canvas_clipPath_2.cpp | 14 canvas->clipPath(path, SkClipOp::kIntersect); in draw() 19 canvas->clipPath(path, SkClipOp::kIntersect); in draw()
|
D | Canvas_clipPath_3.cpp | 15 canvas->clipPath(path, SkClipOp::kIntersect); in draw() 20 canvas->clipPath(path, SkClipOp::kIntersect); in draw()
|
D | pathops.cpp | 61 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/ |
D | SkSGRect.cpp | 19 canvas->clipRect(fRect, SkClipOp::kIntersect, antiAlias); in onClip() 43 canvas->clipRRect(fRRect, SkClipOp::kIntersect, antiAlias); in onClip()
|
D | SkSGMerge.cpp | 30 canvas->clipPath(fMerged, SkClipOp::kIntersect, antiAlias); in onClip() 49 case Merge::Mode::kIntersect: in mode_to_op()
|
/third_party/flutter/skia/modules/sksg/src/ |
D | SkSGRect.cpp | 19 canvas->clipRect(fRect, SkClipOp::kIntersect, antiAlias); in onClip() 45 canvas->clipRRect(fRRect, SkClipOp::kIntersect, antiAlias); in onClip()
|
D | SkSGMerge.cpp | 29 canvas->clipPath(fMerged, SkClipOp::kIntersect, antiAlias); in onClip() 48 case Merge::Mode::kIntersect: in mode_to_op()
|
/third_party/skia/bench/ |
D | AAClipBench.cpp | 60 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/ |
D | SkPDFGraphicStackState.cpp | 51 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/ |
D | SkPDFGraphicStackState.cpp | 44 } 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/ |
D | SkXform.h | 123 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/ |
D | SkXform.h | 123 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/ |
D | SkCoverageMode.h | 22 kIntersect, // A ∩ B A*B enumerator
|