Home
last modified time | relevance | path

Searched refs:kDifference (Results 1 – 25 of 110) sorted by relevance

12345

/third_party/skia/gm/
Dwindowrectangles.cpp87 SkClipOp::kDifference, false); in onDraw()
89 SkClipOp::kDifference, true); in onDraw()
91 SkMatrix::I(), SkClipOp::kDifference, true); in onDraw()
95 stack.clipRRect(nine, SkMatrix::I(), SkClipOp::kDifference, true); in onDraw()
100 stack.clipRRect(complx, SkMatrix::I(), SkClipOp::kDifference, false); in onDraw()
Dskbug_9319.cpp26 canvas->clipRect(r, SkClipOp::kDifference);
37 canvas->clipRRect(rr, SkClipOp::kDifference);
Dcomplexclip.cpp93 {SkClipOp::kDifference, "Diff " }, in onDraw()
230 canvas->clipShader(sh, SkClipOp::kDifference);
462 canvas->clipShader(shader, SkClipOp::kDifference);
470 canvas->clipShader(shader, SkClipOp::kDifference);
478 canvas->clipShader(shader, SkClipOp::kDifference);
498 canvas->clipShader(shader, SkClipOp::kDifference);
/third_party/flutter/skia/gm/
Dskbug_9319.cpp26 canvas->clipRect(r, SkClipOp::kDifference);
37 canvas->clipRRect(rr, SkClipOp::kDifference);
/third_party/skia/tests/
DGrClipStackTest.cpp109 ElementsBuilder& difference() { fOp = SkClipOp::kDifference; return *this; } in difference()
250 (e.fOp == SkClipOp::kDifference && e.fShape.inverted()); in getOptimalBounds()
1061 .rect(diff, GrAA::kYes, SkClipOp::kDifference) in DEF_TEST()
1065 .rect(diff, GrAA::kYes, SkClipOp::kDifference) in DEF_TEST()
1082 b.actual().path(make_octagon(d), GrAA::kNo, SkClipOp::kDifference); in DEF_TEST()
1357 .actual().rect(bigR, lm1, GrAA::kYes, SkClipOp::kDifference) in DEF_TEST()
1358 .rect(smR, lm2, GrAA::kYes, SkClipOp::kDifference) in DEF_TEST()
1360 .expect().rect(bigR, lm1, GrAA::kYes, SkClipOp::kDifference) in DEF_TEST()
1365 .actual().rrect(bigRR, lm1, GrAA::kYes, SkClipOp::kDifference) in DEF_TEST()
1366 .rrect(smRR, lm2, GrAA::kYes, SkClipOp::kDifference) in DEF_TEST()
[all …]
DClipStackTest.cpp63 s.clipRect(r, SkMatrix::I(), SkClipOp::kDifference, doAA); in test_assign_and_comparison()
78 s.clipRect(r, SkMatrix::I(), SkClipOp::kDifference, doAA); in test_assign_and_comparison()
95 s.clipPath(rp, SkMatrix::I(), SkClipOp::kDifference, doAA); in test_assign_and_comparison()
105 s.clipRect(r, SkMatrix::I(), SkClipOp::kDifference, doAA); in test_assign_and_comparison()
155 stack.clipRect(gRects[i], SkMatrix::I(), SkClipOp::kDifference, false); in test_iterators()
198 element = iter.skipToTopmost(SkClipOp::kDifference); in test_iterators()
229 SkClipOp::kDifference in test_bounds()
334 stack.clipRect(emptyRect, SkMatrix::I(), SkClipOp::kDifference, false); in test_isWideOpen()
608 stack.clipRect(outsideRect, SkMatrix::I(), SkClipOp::kDifference, false); in test_quickContains()
798 stack.clipPath(path, SkMatrix::I(), SkClipOp::kDifference, false); in test_invfill_diff_bug()
/third_party/skia/src/gpu/effects/
DGrCustomXfermode.cpp39 static_assert(kDifference_GrBlendEquation == (int)SkBlendMode::kDifference + kEqOffset); in hw_blend_equation()
366 static constexpr const CustomXPFactory gDifference(SkBlendMode::kDifference); in Get()
388 case SkBlendMode::kDifference: in Get()
/third_party/skia/include/core/
DSkClipOp.h14 kDifference = 0, enumerator
DSkCoverageMode.h23 kDifference, // A - B A*(1-B) enumerator
/third_party/flutter/skia/include/core/
DSkCoverageMode.h23 kDifference, // A - B A*(1-B) enumerator
DSkClipOp.h14 kDifference = 0, enumerator
DSkBlendMode.h37 kDifference, //!< subtract darker from lighter with higher contrast enumerator
/third_party/flutter/skia/src/gpu/effects/
DGrCustomXfermode.cpp42 GR_STATIC_ASSERT(kDifference_GrBlendEquation == (int)SkBlendMode::kDifference + EQ_OFFSET); in hw_blend_equation()
395 static _CONSTEXPR_ const CustomXPFactory gDifference(SkBlendMode::kDifference); in Get()
418 case SkBlendMode::kDifference: in Get()
/third_party/flutter/skia/src/core/
DSkClipOpPriv.h13 const SkClipOp kDifference_SkClipOp = SkClipOp::kDifference;
DSkCoverageModePriv.h37 kDifference, // 0,1,0
/third_party/skia/docs/examples/
DCanvas_clipRect_2.cpp8 for (SkClipOp op: { SkClipOp::kIntersect, SkClipOp::kDifference } ) { in draw()
DRRect_MakeOval.cpp12 paint.setBlendMode(SkBlendMode::kDifference); in draw()
Dskpaint_compose_shader.cpp10 SkBlendMode::kDifference, in draw()
Dskpaint_compose.cpp9 SkBlendMode::kDifference, in draw()
DCanvas_clipPath.cpp13 canvas->clipPath(path, SkClipOp::kDifference, false); in draw()
DCanvas_clipRect_3.cpp18 canvas->clipRect(clipRect, SkClipOp::kDifference, alias); in draw()
/third_party/flutter/skia/docs/examples/
DCanvas_clipRect_2.cpp8 for (SkClipOp op: { SkClipOp::kIntersect, SkClipOp::kDifference } ) { in draw()
DRRect_MakeOval.cpp12 paint.setBlendMode(SkBlendMode::kDifference); in draw()
DCanvas_clipPath.cpp13 canvas->clipPath(path, SkClipOp::kDifference, false); in draw()
/third_party/skia/src/gpu/v1/
DClipStack.cpp67 SkASSERT(b.op() == SkClipOp::kDifference); in get_clip_geometry()
82 SkASSERT(a.op() == SkClipOp::kDifference); in get_clip_geometry()
97 SkASSERT(b.op() == SkClipOp::kDifference); in get_clip_geometry()
251 if (e.fOp == SkClipOp::kDifference) { in clip_atlas_fp()
286 SkASSERT(e.fOp == SkClipOp::kDifference); in draw_to_sw_mask()
381 bool startInside = elements[0]->fOp == SkClipOp::kDifference; in render_stencil_mask()
517 fOp = fOp == SkClipOp::kIntersect ? SkClipOp::kDifference : SkClipOp::kIntersect; in simplify()
1057 if (fStackOp == SkClipOp::kDifference && toAdd.op() == SkClipOp::kIntersect) { in appendElement()
1191 if (current.op() == SkClipOp::kDifference) { in getConservativeBounds()
1560 if (element.op() == SkClipOp::kDifference) { in clip()

12345