Home
last modified time | relevance | path

Searched refs:fOp (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/src/gpu/geometry/
DGrAATriangulator.h40 EventComparator(Op op) : fOp(op) {} in EventComparator()
42 return fOp == Op::kLessThan ? e1->fAlpha < e2->fAlpha in operator()
45 Op fOp; member
/third_party/skia/experimental/xform/
DSkXform.h126 , fOp(op) in Xform()
131 fOp = op;
139 SkClipOp fOp; variable
DSkXform.cpp86 resolver->clipRect(fRect, fOp); in onVisit()
/third_party/skia/src/core/
DSkClipStack.cpp45 fOp = that.fOp; in Element()
68 if (fOp != element.fOp || fDeviceSpaceType != element.fDeviceSpaceType || in operator ==()
175 fOp = op; in initCommon()
316 (SkClipOp::kIntersect == fOp || this->isReplaceOp()); in canBeIntersectedInPlace()
434 (SkClipOp::kIntersect == fOp && nullptr == prior) || in updateBoundAndGenID()
435 (SkClipOp::kIntersect == fOp && prior->fIsIntersectionOfRects && in updateBoundAndGenID()
495 switch (fOp) { in updateBoundAndGenID()
821 if (op == element->fOp) { in skipToTopmost()
978 (fOp == SkClipOp::kDifference ? "difference" : "intersect"); in dump()
DSkMiniRecorder.cpp52 , fOp(std::move(op)) {} in SkMiniPicture()
55 SkRecords::Draw(c, nullptr, nullptr, 0, nullptr)(fOp); in playback()
64 T fOp; member in SkMiniPicture
DSkRecords.h197 ClipOpAndAA(SkClipOp op, bool aa) : fOp(static_cast<unsigned>(op)), fAA(aa) {}
199 SkClipOp op() const { return static_cast<SkClipOp>(fOp); }
203 unsigned fOp : 31; // This really only needs to be 3, but there's no win today to do so.
DSkClipStack.h136 SkClipOp getOp() const { return fOp; } in getOp()
217 SkClipOp fOp; variable
/third_party/skia/src/gpu/
DGrOpFlushState.h64 : fOp(op) in OpArgs()
75 GrOp* op() { return fOp; } in op()
88 SkASSERT(fOp); in validate()
94 GrOp* fOp;
284 const GrOp* fOp = nullptr; member
DGrOpFlushState.cpp46 while (fCurrDraw != fDraws.end() && fCurrDraw->fOp == op) { in executeDrawsAndUploadsForMeshDrawOp()
173 draw.fOp = fOpArgs->op(); in recordDraw()
/third_party/skia/gm/
Dsimpleaaclip.cpp162 SkClipOp fOp; in onDraw() member
176 this->drawRgnOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDraw()
178 this->drawPathsOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDraw()
Dcomplexclip3.cpp67 SkClipOp fOp; in onDraw() member
97 canvas->clipPath(*secondClip, gOps[op].fOp, doAAB); in onDraw()
Dcomplexclip.cpp89 SkClipOp fOp; in onDraw() member
132 canvas->clipPath(clipB, gOps[op].fOp, fDoAAClip); in onDraw()
/third_party/skia/src/effects/
DSkOpPathEffect.cpp21 : fOne(std::move(one)), fTwo(std::move(two)), fOp(op) {} in SkOpPE()
40 return Op(one, two, fOp, dst); in onFilterPath()
58 switch (fOp) { in computeFastBounds()
84 buffer.write32(fOp); in flatten()
DSkOpPE.h31 SkPathOp fOp; variable
/third_party/skia/src/gpu/v1/
DClipStack.cpp215 GrClipEdgeType edgeType = get_clip_edge_type(e.fOp, e.fAA); in analytic_clip_fp()
251 if (e.fOp == SkClipOp::kDifference) { in clip_atlas_fp()
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()
286 SkASSERT(e.fOp == SkClipOp::kDifference); in draw_to_sw_mask()
381 bool startInside = elements[0]->fOp == SkClipOp::kDifference; in render_stencil_mask()
386 if (e.fOp == SkClipOp::kIntersect) { in render_stencil_mask()
517 fOp = fOp == SkClipOp::kIntersect ? SkClipOp::kDifference : SkClipOp::kIntersect; in simplify()
602 if (other.fOp != SkClipOp::kIntersect || fOp != SkClipOp::kIntersect) { in combine()
666 SkASSERT(fOp == SkClipOp::kIntersect && other.fOp == SkClipOp::kIntersect); in combine()
[all …]
DClipStack.h39 SkClipOp fOp; member
108 SkClipOp op() const { return fOp; } in op()
DDevice.cpp293 region->op(tmp, (SkRegion::Op) e.fOp); in onAsRgnClip()
/third_party/skia/bench/
DPathOpsBench.cpp19 SkPathOp fOp; member in PathOpsBench
22 PathOpsBench(const char suffix[], SkPathOp op) : fOp(op) { in PathOpsBench()
42 Op(fPath1, fPath2, fOp, &result); in onDraw()
/third_party/skia/tools/debugger/
DDrawCommand.cpp992 fOp = op; in ClipPathCommand()
996 void ClipPathCommand::execute(SkCanvas* canvas) const { canvas->clipPath(fPath, fOp, fDoAA); } in execute()
1007 writer.appendString(DEBUGCANVAS_ATTRIBUTE_REGIONOP, clipop_name(fOp)); in toJSON()
1014 fOp = op; in ClipRegionCommand()
1017 void ClipRegionCommand::execute(SkCanvas* canvas) const { canvas->clipRegion(fRegion, fOp); } in execute()
1023 writer.appendString(DEBUGCANVAS_ATTRIBUTE_REGIONOP, clipop_name(fOp)); in toJSON()
1029 fOp = op; in ClipRectCommand()
1033 void ClipRectCommand::execute(SkCanvas* canvas) const { canvas->clipRect(fRect, fOp, fDoAA); } in execute()
1039 writer.appendString(DEBUGCANVAS_ATTRIBUTE_REGIONOP, clipop_name(fOp)); in toJSON()
1049 fOp = op; in ClipRRectCommand()
[all …]
DDrawCommand.h154 SkClipOp fOp; variable
168 SkClipOp fOp; variable
181 SkClipOp fOp; variable
196 SkClipOp fOp; variable
211 SkClipOp fOp; variable
/third_party/skia/samplecode/
DSampleComplexClip.cpp77 SkClipOp fOp; in onDrawContent() member
101 canvas->clipPath(clipB, gOps[op].fOp); in onDrawContent()
/third_party/skia/tests/
DGrClipStackTest.cpp108 ElementsBuilder& intersect() { fOp = SkClipOp::kIntersect; return *this; } in intersect()
109 ElementsBuilder& difference() { fOp = SkClipOp::kDifference; return *this; } in difference()
114 return this->rect(rect, fLocalToDevice, fAA, fOp); in rect()
125 return this->rrect(rrect, fLocalToDevice, fAA, fOp); in rrect()
136 return this->path(path, fLocalToDevice, fAA, fOp); in path()
160 SkClipOp fOp = SkClipOp::kIntersect; member in __anoncd0815240111::ElementsBuilder
249 bool intersect = (e.fOp == SkClipOp::kIntersect && !e.fShape.inverted()) || in getOptimalBounds()
250 (e.fOp == SkClipOp::kDifference && e.fShape.inverted()); in getOptimalBounds()
280 if (a.fAA != b.fAA || a.fOp != b.fOp || a.fLocalToDevice != b.fLocalToDevice || in compare_elements()
322 cs.clipRect(e.fLocalToDevice, e.fShape.rect(), e.fAA, e.fOp); in run()
[all …]