Home
last modified time | relevance | path

Searched refs:kReplace_Op (Results 1 – 25 of 43) sorted by relevance

12

/external/skia/tests/
DClipStackTest.cpp334 stack.clipDevPath(clipA, SkRegion::kReplace_Op, false); in test_isWideOpen()
370 stack.clipDevRect(rectA, SkRegion::kReplace_Op, false); in test_isWideOpen()
426 stack.clipDevRect(rect, SkRegion::kReplace_Op, false); in test_rect_replace()
428 stack.clipDevRect(rect, SkRegion::kReplace_Op, false); in test_rect_replace()
437 stack.clipDevRect(rect, SkRegion::kReplace_Op, true); in test_rect_replace()
439 stack.clipDevRect(rect, SkRegion::kReplace_Op, true); in test_rect_replace()
448 stack.clipDevRect(rect, SkRegion::kReplace_Op, false); in test_rect_replace()
450 stack.clipDevRect(rect, SkRegion::kReplace_Op, true); in test_rect_replace()
452 stack.clipDevRect(rect, SkRegion::kReplace_Op, false); in test_rect_replace()
459 stack.clipDevRect(rect, SkRegion::kReplace_Op, false); in test_rect_replace()
[all …]
DClipBoundsTest.cpp42 stack.clipDevRect(clipRect, SkRegion::kReplace_Op, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DDeviceLooperTest.cpp125 rc.op(rgn, SkRegion::kReplace_Op); in test_complex()
DCanvasStateTest.cpp180 SkRegion::kReplace_Op, in DEF_TEST()
/external/skia/samplecode/
DSampleClipDrawMatch.cpp167 canvas->clipRect(create_rect(offset), SkRegion::kReplace_Op, useAA); in drawClippedGeom()
170 canvas->clipRRect(create_rrect(offset), SkRegion::kReplace_Op, useAA); in drawClippedGeom()
173 canvas->clipRRect(create_circle(offset), SkRegion::kReplace_Op, useAA); in drawClippedGeom()
176 canvas->clipPath(create_convex_path(offset), SkRegion::kReplace_Op, useAA); in drawClippedGeom()
179 canvas->clipPath(create_concave_path(offset), SkRegion::kReplace_Op, useAA); in drawClippedGeom()
184 canvas->clipRect(r, SkRegion::kReplace_Op, true); // AA here forces shader clips in drawClippedGeom()
190 canvas->clipRect(r, SkRegion::kReplace_Op, true); // AA here forces shader clips in drawClippedGeom()
196 canvas->clipRect(r, SkRegion::kReplace_Op, true); // AA here forces shader clips in drawClippedGeom()
202 canvas->clipRect(r, SkRegion::kReplace_Op, true); // AA here forces shader clips in drawClippedGeom()
/external/skia/src/gpu/
DGrReducedClip.cpp168 case SkRegion::kReplace_Op: in reduced_stack_walker()
218 bool isReplace = SkRegion::kReplace_Op == newElement->getOp(); in reduced_stack_walker()
251 element->setOp(SkRegion::kReplace_Op); in reduced_stack_walker()
260 element->setOp(SkRegion::kReplace_Op); in reduced_stack_walker()
266 element->setOp(SkRegion::kReplace_Op); in reduced_stack_walker()
282 element->setOp(SkRegion::kReplace_Op); in reduced_stack_walker()
286 case SkRegion::kReplace_Op: in reduced_stack_walker()
387 result->addToHead(isectRect, SkRegion::kReplace_Op, doAA); in ReduceClipStack()
DGrStencil.cpp245 case SkRegion::kReplace_Op: in GetClipPasses()
278 case SkRegion::kReplace_Op: in GetClipPasses()
DGrSWMaskHelper.cpp152 if (SkRegion::kReplace_Op == op && 0xFF == alpha) { in draw()
326 helper.draw(path, stroke, SkRegion::kReplace_Op, antiAlias, 0xFF); in DrawPathMaskToTexture()
DGrBlurUtils.cpp136 tempPaint.setCoverageSetOpXPFactory(SkRegion::kReplace_Op); in create_mask_GPU()
/external/skia/gm/
Dcircularclips.cpp45 SkRegion::kReplace_Op, in onDraw()
57 canvas->clipPath(fCircle1, SkRegion::kReplace_Op, true); in onDraw()
76 canvas->clipPath(fCircle1, SkRegion::kReplace_Op); in onDraw()
Dclip_strokerect.cpp39 canvas->clipRect(rect, SkRegion::kReplace_Op, true); in onDraw()
57 canvas->clipRect(rect2, SkRegion::kReplace_Op, true); in onDraw()
Dsimpleaaclip.cpp109 canvas->clipPath(fBasePath, SkRegion::kReplace_Op, true); in drawPathsOped()
113 canvas->clipRect(fBase, SkRegion::kReplace_Op, true); in drawPathsOped()
153 { SK_ColorYELLOW, "Replace", SkRegion::kReplace_Op }, in onDraw()
Dbigblurs.cpp84 canvas->clipRect(clipRect, SkRegion::kReplace_Op, false); in onDraw()
Dsamplerstress.cpp116 canvas->clipPath(path, SkRegion::kReplace_Op, true); // AA is on in onDraw()
Drrects.cpp147 canvas->clipRRect(fRRects[curRRect], SkRegion::kReplace_Op, aaClip); in onDraw()
Dcomplexclip2.cpp92 SkRegion::kReplace_Op, in onOnceBeforeDraw()
/external/skia/src/core/
DSkClipStack.cpp186 (SkRegion::kIntersect_Op == fOp || SkRegion::kReplace_Op == fOp); in canBeIntersectedInPlace()
400 if (SkRegion::kReplace_Op == fOp || in updateBoundAndGenID()
476 case SkRegion::kReplace_Op: in updateBoundAndGenID()
508 this->clipDevRect(r, SkRegion::kReplace_Op, false); in SkClipStack()
518 this->clipDevRect(temp, SkRegion::kReplace_Op, false); in SkClipStack()
627 … if (SkRegion::kIntersect_Op != element->getOp() && SkRegion::kReplace_Op != element->getOp()) in quickContains()
639 if (SkRegion::kReplace_Op == element->getOp()) { in quickContains()
661 if (elementOp == SkRegion::kReplace_Op) { in asPath()
712 } else if (SkRegion::kReplace_Op == element.getOp()) { in pushElement()
887 static_assert(5 == SkRegion::kReplace_Op, "op_str"); in dump()
DSkRasterClip.cpp107 case SkRegion::kReplace_Op: in mutate_conservative_op()
113 *op = SkRegion::kReplace_Op; in mutate_conservative_op()
122 case SkRegion::kReplace_Op: in mutate_conservative_op()
131 *op = SkRegion::kReplace_Op; in mutate_conservative_op()
215 if (SkRegion::kReplace_Op == op) { in op()
/external/skia/bench/
DAAClipBench.cpp62 canvas->clipPath(fClipPath, SkRegion::kReplace_Op, fDoAA); in onDraw()
64 canvas->clipRect(fClipRect, SkRegion::kReplace_Op, fDoAA); in onDraw()
133 0 == depth ? SkRegion::kReplace_Op : in recurse()
/external/skia/include/core/
DSkRegion.h246 kReplace_Op, //!< replace the dst region with the op region enumerator
248 kLastOp = kReplace_Op
393 kOpCount = kReplace_Op + 1
DSkClipStack.h56 this->initCommon(0, SkRegion::kReplace_Op, false); in Element()
208 this->initCommon(saveCount, SkRegion::kReplace_Op, false); in Element()
/external/skia/src/gpu/effects/
DGrCoverageSetOpXP.cpp121 case SkRegion::kReplace_Op: in onGetBlendInfo()
248 case SkRegion::kReplace_Op: { in Create()
334 blendedColor->fWillBlendWithDst = SkRegion::kReplace_Op != fRegionOp; in getInvariantBlendedColor()
/external/skia/tools/debugger/
DSkDebugCanvas.cpp90 this->INHERITED::onClipRect(large, SkRegion::kReplace_Op, kHard_ClipEdgeStyle); in SkDebugCanvas()
205 canvas->clipRect(windowRect, SkRegion::kReplace_Op); in drawTo()
256 canvas->clipRect(r, SkRegion::kReplace_Op); in drawTo()
279 if (elementOp == SkRegion::kReplace_Op) { in drawTo()
629 if (elementOp == SkRegion::kReplace_Op) { in addClipStackData()
DSkObjectParser.cpp329 } else if (op == SkRegion::kReplace_Op) { in RegionOpToString()
/external/skia/site/user/api/
Dskregion.md78 kReplace_Op

12