/external/skia/gm/ |
circularclips.cpp | 45 SkRegion::kReplace_Op, 57 canvas->clipPath(fCircle1, SkRegion::kReplace_Op, true); 76 canvas->clipPath(fCircle1, SkRegion::kReplace_Op);
|
clip_strokerect.cpp | 39 canvas->clipRect(rect, SkRegion::kReplace_Op, true); 57 canvas->clipRect(rect2, SkRegion::kReplace_Op, true);
|
simpleaaclip.cpp | 109 canvas->clipPath(fBasePath, SkRegion::kReplace_Op, true); 113 canvas->clipRect(fBase, SkRegion::kReplace_Op, true); 153 { SK_ColorYELLOW, "Replace", SkRegion::kReplace_Op },
|
bigblurs.cpp | 84 canvas->clipRect(clipRect, SkRegion::kReplace_Op, false);
|
samplerstress.cpp | 116 canvas->clipPath(path, SkRegion::kReplace_Op, true); // AA is on
|
complexclip2.cpp | 92 SkRegion::kReplace_Op,
|
rrects.cpp | 147 canvas->clipRRect(fRRects[curRRect], SkRegion::kReplace_Op, aaClip);
|
/external/skia/samplecode/ |
SampleClipDrawMatch.cpp | 167 canvas->clipRect(create_rect(offset), SkRegion::kReplace_Op, useAA); 170 canvas->clipRRect(create_rrect(offset), SkRegion::kReplace_Op, useAA); 173 canvas->clipRRect(create_circle(offset), SkRegion::kReplace_Op, useAA); 176 canvas->clipPath(create_convex_path(offset), SkRegion::kReplace_Op, useAA); 179 canvas->clipPath(create_concave_path(offset), SkRegion::kReplace_Op, useAA); 184 canvas->clipRect(r, SkRegion::kReplace_Op, true); // AA here forces shader clips 190 canvas->clipRect(r, SkRegion::kReplace_Op, true); // AA here forces shader clips 196 canvas->clipRect(r, SkRegion::kReplace_Op, true); // AA here forces shader clips 202 canvas->clipRect(r, SkRegion::kReplace_Op, true); // AA here forces shader clips
|
/external/skia/tests/ |
ClipStackTest.cpp | 334 stack.clipDevPath(clipA, SkRegion::kReplace_Op, false); 370 stack.clipDevRect(rectA, SkRegion::kReplace_Op, false); 426 stack.clipDevRect(rect, SkRegion::kReplace_Op, false); 428 stack.clipDevRect(rect, SkRegion::kReplace_Op, false); 437 stack.clipDevRect(rect, SkRegion::kReplace_Op, true); 439 stack.clipDevRect(rect, SkRegion::kReplace_Op, true); 448 stack.clipDevRect(rect, SkRegion::kReplace_Op, false); 450 stack.clipDevRect(rect, SkRegion::kReplace_Op, true); 452 stack.clipDevRect(rect, SkRegion::kReplace_Op, false); 459 stack.clipDevRect(rect, SkRegion::kReplace_Op, false) [all...] |
ClipBoundsTest.cpp | 42 stack.clipDevRect(clipRect, SkRegion::kReplace_Op, false);
|
DeviceLooperTest.cpp | 125 rc.op(rgn, SkRegion::kReplace_Op);
|
/external/skia/src/gpu/ |
GrReducedClip.cpp | 168 case SkRegion::kReplace_Op: 218 bool isReplace = SkRegion::kReplace_Op == newElement->getOp(); 251 element->setOp(SkRegion::kReplace_Op); 260 element->setOp(SkRegion::kReplace_Op); 266 element->setOp(SkRegion::kReplace_Op); 282 element->setOp(SkRegion::kReplace_Op); 286 case SkRegion::kReplace_Op: 387 result->addToHead(isectRect, SkRegion::kReplace_Op, doAA);
|
GrStencil.cpp | 245 case SkRegion::kReplace_Op: 278 case SkRegion::kReplace_Op:
|
GrSWMaskHelper.cpp | 34 SkXfermode::kSrc_Mode, // kReplace_Op 152 if (SkRegion::kReplace_Op == op && 0xFF == alpha) { 326 helper.draw(path, stroke, SkRegion::kReplace_Op, antiAlias, 0xFF);
|
/external/skia/src/core/ |
SkClipStack.cpp | 186 (SkRegion::kIntersect_Op == fOp || SkRegion::kReplace_Op == fOp); 400 if (SkRegion::kReplace_Op == fOp || 476 case SkRegion::kReplace_Op: 508 this->clipDevRect(r, SkRegion::kReplace_Op, false); 518 this->clipDevRect(temp, SkRegion::kReplace_Op, false); 627 if (SkRegion::kIntersect_Op != element->getOp() && SkRegion::kReplace_Op != element->getOp()) 639 if (SkRegion::kReplace_Op == element->getOp()) { 661 if (elementOp == SkRegion::kReplace_Op) { 712 } else if (SkRegion::kReplace_Op == element.getOp()) { 887 static_assert(5 == SkRegion::kReplace_Op, "op_str") [all...] |
SkRasterClip.cpp | 107 case SkRegion::kReplace_Op: 113 *op = SkRegion::kReplace_Op; 122 case SkRegion::kReplace_Op: 131 *op = SkRegion::kReplace_Op; 215 if (SkRegion::kReplace_Op == op) {
|
/external/skia/bench/ |
AAClipBench.cpp | 62 canvas->clipPath(fClipPath, SkRegion::kReplace_Op, fDoAA); 64 canvas->clipRect(fClipRect, SkRegion::kReplace_Op, fDoAA); 133 0 == depth ? SkRegion::kReplace_Op :
|
/external/skia/include/core/ |
SkRegion.h | 246 kReplace_Op, //!< replace the dst region with the op region 248 kLastOp = kReplace_Op 393 kOpCount = kReplace_Op + 1
|
SkClipStack.h | 56 this->initCommon(0, SkRegion::kReplace_Op, false); 208 this->initCommon(saveCount, SkRegion::kReplace_Op, false);
|
/frameworks/base/libs/hwui/ |
ClipArea.cpp | 220 if (op == SkRegion::kReplace_Op) mReplaceOpObserved = true; 221 if (!mPostViewportClipObserved && op == SkRegion::kIntersect_Op) op = SkRegion::kReplace_Op; 237 if (op == SkRegion::kReplace_Op) mReplaceOpObserved = true; 238 if (!mPostViewportClipObserved && op == SkRegion::kIntersect_Op) op = SkRegion::kReplace_Op; 247 if (op == SkRegion::kReplace_Op) mReplaceOpObserved = true; 248 if (!mPostViewportClipObserved && op == SkRegion::kIntersect_Op) op = SkRegion::kReplace_Op; 275 if (op == SkRegion::kReplace_Op && transform->rectToRect()) {
|
/external/skia/src/gpu/effects/ |
GrCoverageSetOpXP.cpp | 121 case SkRegion::kReplace_Op: 248 case SkRegion::kReplace_Op: { 334 blendedColor->fWillBlendWithDst = SkRegion::kReplace_Op != fRegionOp;
|
/frameworks/base/libs/hwui/tests/unit/ |
ClipAreaTests.cpp | 118 area.clipRectWithTransform(expected, &Matrix4::identity(), SkRegion::kReplace_Op); 160 area.clipPathWithTransform(circlePath, &Matrix4::identity(), SkRegion::kReplace_Op); 235 area.clipPathWithTransform(circlePath, &Matrix4::identity(), SkRegion::kReplace_Op);
|
CanvasStateTests.cpp | 77 state.clipRect(50, 50, 150, 150, SkRegion::kReplace_Op);
|
/external/skia/tools/debugger/ |
SkDebugCanvas.cpp | 90 this->INHERITED::onClipRect(large, SkRegion::kReplace_Op, kHard_ClipEdgeStyle); 205 canvas->clipRect(windowRect, SkRegion::kReplace_Op); 256 canvas->clipRect(r, SkRegion::kReplace_Op); 279 if (elementOp == SkRegion::kReplace_Op) { 629 if (elementOp == SkRegion::kReplace_Op) {
|
/frameworks/base/libs/hwui/tests/common/ |
TestUtils.h | 130 snapshot->clip(clip, SkRegion::kReplace_Op); // store clip first, so it isn't transformed
|