Home
last modified time | relevance | path

Searched refs:kIntersect_Op (Results 1 – 25 of 55) sorted by relevance

123

/external/skia/tests/
DClipStackTest.cpp33 s.clipDevPath(p, SkRegion::kIntersect_Op, doAA); in test_assign_and_comparison()
39 s.clipDevRect(r, SkRegion::kIntersect_Op, doAA); in test_assign_and_comparison()
41 s.clipDevRect(r, SkRegion::kIntersect_Op, doAA); in test_assign_and_comparison()
71 s.clipDevRect(r, SkRegion::kIntersect_Op, doAA); in test_assign_and_comparison()
112 s.clipDevPath(p, SkRegion::kIntersect_Op, doAA); in test_assign_and_comparison()
221 SkRegion::kIntersect_Op, in test_bounds()
265 stack.clipDevRect(rectA, SkRegion::kIntersect_Op, false); in test_bounds()
269 stack.clipDevRRect(rrectA, SkRegion::kIntersect_Op, false); in test_bounds()
273 stack.clipDevPath(pathA, SkRegion::kIntersect_Op, false); in test_bounds()
286 (gOps[op] == SkRegion::kIntersect_Op)); in test_bounds()
[all …]
DAAClipTest.cpp158 SkRegion::kIntersect_Op,
337 clip.op(ir, SkRegion::kIntersect_Op); in test_really_a_rect()
384 rc0.op(r, baseSize, SkRegion::kIntersect_Op, false); in did_dx_affect()
386 rc1.op(r, baseSize, SkRegion::kIntersect_Op, true); in did_dx_affect()
388 rc2.op(r, baseSize, SkRegion::kIntersect_Op, true); in did_dx_affect()
434 rc.op(path, rc.getBounds().size(), SkRegion::kIntersect_Op, true); in test_crbug_422693()
DCanvasStateTest.cpp171 const SkRegion::Op clipOps[] = { SkRegion::kIntersect_Op, in DEF_TEST()
172 SkRegion::kIntersect_Op, in DEF_TEST()
293 canvas.clipRRect(roundRect, SkRegion::kIntersect_Op, true); in DEF_TEST()
DMatrixClipCollapseTest.cpp160 canvas->clipRect(r, SkRegion::kIntersect_Op, true); in emit_clip()
167 canvas->clipRRect(rr, SkRegion::kIntersect_Op, true); in emit_clip()
176 canvas->clipPath(p, SkRegion::kIntersect_Op, true); in emit_clip()
186 canvas->clipRegion(r, SkRegion::kIntersect_Op); in emit_clip()
DPictureBBHTest.cpp79 SkIntToScalar(1), SkIntToScalar(1)), SkRegion::kIntersect_Op); in doTest()
/external/skia/src/core/
DSkClipStack.cpp85 visitor->clipRect(kEmptyRect, SkRegion::kIntersect_Op, false); in replay()
176 (SkRegion::kDifference_Op == op || SkRegion::kIntersect_Op == op)) { in canBeIntersectedInPlace()
182 SkRegion::kIntersect_Op == op && in canBeIntersectedInPlace()
183 (SkRegion::kIntersect_Op == fOp || SkRegion::kReplace_Op == fOp); in canBeIntersectedInPlace()
398 (SkRegion::kIntersect_Op == fOp && NULL == prior) || in updateBoundAndGenID()
399 (SkRegion::kIntersect_Op == fOp && prior->fIsIntersectionOfRects && in updateBoundAndGenID()
467 case SkRegion::kIntersect_Op: in updateBoundAndGenID()
624 … if (SkRegion::kIntersect_Op != element->getOp() && SkRegion::kReplace_Op != element->getOp()) in quickContains()
736 if (element && element->canBeIntersectedInPlace(fSaveCount, SkRegion::kIntersect_Op)) { in clipEmpty()
880 SK_COMPILE_ASSERT(1 == SkRegion::kIntersect_Op, op_str); in dump()
DSkRasterClip.cpp83 op = SkRegion::kIntersect_Op; in setConservativeRect()
101 case SkRegion::kIntersect_Op: in mutate_conservative_op()
120 case SkRegion::kIntersect_Op: in mutate_conservative_op()
184 if (SkRegion::kIntersect_Op == op) { in op()
/external/skia/gm/
Dpathopsskpclip.cpp46 rec->clipPath(p, SkRegion::kIntersect_Op, true); in onDraw()
48 rec->clipPath(p, SkRegion::kIntersect_Op, true); in onDraw()
Dcircularclips.cpp41 SkRegion::kIntersect_Op, in onDraw()
58 canvas->clipPath(fCircle2, SkRegion::kIntersect_Op, true); in onDraw()
Dcomplexclip3.cpp59 {SkRegion::kIntersect_Op, "I"}, in onDraw()
88 canvas->clipPath(*firstClip, SkRegion::kIntersect_Op, doAAA); in onDraw()
Dmegalooper.cpp94 canvas->clipRect(outerClip, SkRegion::kIntersect_Op); in draw0x0()
149 canvas->clipRect(outerClip, SkRegion::kIntersect_Op); in draw4x1()
199 canvas->clipRect(outerClip, SkRegion::kIntersect_Op); in draw1x4()
Dpathopsinverse.cpp78 canvas->clipRect(SkRect::MakeWH(110, 110), SkRegion::kIntersect_Op, true); in onDraw()
90 canvas->clipRect(SkRect::MakeWH(110, 110), SkRegion::kIntersect_Op, true); in onDraw()
Ddistantclip.cpp43 rec->clipPath(p, SkRegion::kIntersect_Op, true); in onDraw()
Dcomplexclip.cpp93 {SkRegion::kIntersect_Op, "Isect "}, in onDraw()
134 canvas->clipPath(clipA, SkRegion::kIntersect_Op, fDoAAClip); in onDraw()
Dskbug1719.cpp89 canvas->clipPath(clipPath, SkRegion::kIntersect_Op, true); in onDraw()
Dconvexpolyclip.cpp176 clip->setOnCanvas(canvas, SkRegion::kIntersect_Op, SkToBool(aa)); in onDraw()
202 clip->setOnCanvas(canvas, SkRegion::kIntersect_Op, SkToBool(aa)); in onDraw()
/external/skia/samplecode/
DSampleClipDrawMatch.cpp183 canvas->clipRect(create_rect(offset), SkRegion::kIntersect_Op, useAA); in drawClippedGeom()
189 canvas->clipRRect(create_rrect(offset), SkRegion::kIntersect_Op, useAA); in drawClippedGeom()
195 canvas->clipPath(create_convex_path(offset), SkRegion::kIntersect_Op, useAA); in drawClippedGeom()
201 canvas->clipPath(create_concave_path(offset), SkRegion::kIntersect_Op, useAA); in drawClippedGeom()
DSampleIdentityScale.cpp76 canvas->clipPath(clipPath, SkRegion::kIntersect_Op, SkToBool(1)); in onDrawContent()
/external/skia/tools/
Dfiltermain.cpp203 if (SkRegion::kIntersect_Op != cr->op()) { in check_2()
238 if (SkRegion::kIntersect_Op != crr->op()) { in check_3()
286 if (SkRegion::kIntersect_Op != cr->op()) { in check_4()
358 if (SkRegion::kIntersect_Op != clip0->op() || in check_7()
359 SkRegion::kIntersect_Op != clip1->op() || in check_7()
360 SkRegion::kIntersect_Op != clip2->op()) { in check_7()
512 if (clip->doAA() || SkRegion::kIntersect_Op != clip->op()) { in check_8()
586 if (clip->doAA() || SkRegion::kIntersect_Op != clip->op()) { in check_9()
/external/skia/src/utils/
DSkCanvasStack.cpp57 fList[i]->clipRegion(fCanvasData[i].requiredClip, SkRegion::kIntersect_Op); in clipToZOrderedBounds()
101 tempRegion.op(fCanvasData[i].requiredClip, SkRegion::kIntersect_Op); in onClipRegion()
/external/skia/src/gpu/
DGrReducedClip.cpp76 case SkRegion::kIntersect_Op: in reduced_stack_walker()
222 (SkRegion::kIntersect_Op == newElement->getOp() || isReplace)) { in reduced_stack_walker()
246 case SkRegion::kIntersect_Op: in reduced_stack_walker()
/external/skia/src/gpu/effects/
DGrCoverageSetOpXP.cpp126 case SkRegion::kIntersect_Op: in onGetBlendInfo()
170 case SkRegion::kIntersect_Op: { in Create()
/external/skia/bench/
DRegionContainBench.cpp15 return result.op(a, b, SkRegion::kIntersect_Op); in sect_proc()
/external/skia/src/images/
DSkPageFlipper.cpp56 if (r.op(rgn, SkRegion::kIntersect_Op)) { in inval()
/external/skia/include/core/
DSkCanvas.h447 SkRegion::Op op = SkRegion::kIntersect_Op,
457 SkRegion::Op op = SkRegion::kIntersect_Op,
467 SkRegion::Op op = SkRegion::kIntersect_Op,
493 SkRegion::Op op = SkRegion::kIntersect_Op);

123