Home
last modified time | relevance | path

Searched refs:fClipPath (Results 1 – 19 of 19) sorted by relevance

/external/skia/src/gpu/ccpr/
DGrCCClipProcessor.cpp25 , fClipPath(std::move(clipPath)) in GrCCClipProcessor()
27 auto view = make_view(caps, fClipPath->atlasLazyProxy()); in GrCCClipProcessor()
35 , fClipPath(that.fClipPath) in GrCCClipProcessor()
45 const SkPath& clipPath = fClipPath->deviceSpacePath(); in onGetGLSLProcessorKey()
53 return that.fClipPath->deviceSpacePath().getGenerationID() == in onIsEqual()
54 fClipPath->deviceSpacePath().getGenerationID() && in onIsEqual()
55 that.fClipPath->deviceSpacePath().getFillType() == in onIsEqual()
56 fClipPath->deviceSpacePath().getFillType() && in onIsEqual()
95 if (proc.fClipPath->deviceSpacePath().isInverseFillType()) { in emitCode()
109 const SkRect pathIBounds = SkRect::Make(proc.fClipPath->pathDevIBounds()); in onSetData()
[all …]
DGrCCClipProcessor.h34 const sk_sp<const GrCCClipPath> fClipPath; variable
/external/skqp/src/gpu/ccpr/
DGrCCClipProcessor.cpp20 , fClipPath(clipPath) in GrCCClipProcessor()
23 , fAtlasAccess(sk_ref_sp(fClipPath->atlasLazyProxy()), GrSamplerState::Filter::kNearest, in GrCCClipProcessor()
30 return skstd::make_unique<GrCCClipProcessor>(fClipPath, MustCheckBounds(fMustCheckBounds), in clone()
42 SkASSERT(that.fClipPath->deviceSpacePath().getGenerationID() == in onIsEqual()
43 fClipPath->deviceSpacePath().getGenerationID()); in onIsEqual()
99 const SkRect pathIBounds = SkRect::Make(proc.fClipPath->pathDevIBounds()); in onSetData()
103 const SkVector& scale = proc.fClipPath->atlasScale(); in onSetData()
104 const SkVector& trans = proc.fClipPath->atlasTranslate(); in onSetData()
DGrCCClipProcessor.h32 const GrCCClipPath* const fClipPath;
/external/skia/bench/
DAAClipBench.cpp21 SkPath fClipPath; member in AAClipBench
37 fClipPath.addRoundRect(fClipRect, SkIntToScalar(10), SkIntToScalar(10)); in AAClipBench()
40 SkASSERT(fClipPath.isConvex()); in AAClipBench()
53 fClipPath.reset(); in onDraw()
54 fClipPath.addRoundRect(fClipRect, in onDraw()
56 SkASSERT(fClipPath.isConvex()); in onDraw()
61 canvas->clipPath(fClipPath, SkClipOp::kIntersect, fDoAA); in onDraw()
72 canvas->drawPath(fClipPath, paint); in onDraw()
DPathTextBench.cpp81 fClipPath = ToolUtils::make_star(SkRect::MakeIWH(kScreenWidth, kScreenHeight), 11, 3); in onDelayedSetup()
82 fClipPath.setIsVolatile(fUncached); in onDelayedSetup()
89 canvas->clipPath(fClipPath, SkClipOp::kIntersect, true); in onDraw()
104 SkPath fClipPath; member in PathTextBench
DClipStrategyBench.cpp28 fClipPath.addCircle(x, y, r); in ClipStrategyBench()
53 canvas->clipPath(fClipPath, true); in onDraw()
78 SkPath fClipPath; member in ClipStrategyBench
/external/skqp/bench/
DAAClipBench.cpp21 SkPath fClipPath; member in AAClipBench
38 fClipPath.addRoundRect(fClipRect, SkIntToScalar(10), SkIntToScalar(10)); in AAClipBench()
42 SkASSERT(fClipPath.isConvex()); in AAClipBench()
55 fClipPath.reset(); in onDraw()
56 fClipPath.addRoundRect(fClipRect, in onDraw()
58 SkASSERT(fClipPath.isConvex()); in onDraw()
63 canvas->clipPath(fClipPath, kReplace_SkClipOp, fDoAA); in onDraw()
74 canvas->drawPath(fClipPath, paint); in onDraw()
DPathTextBench.cpp79 fClipPath = sk_tool_utils::make_star(SkRect::MakeIWH(kScreenWidth,kScreenHeight), 11,3); in onDelayedSetup()
80 fClipPath.setIsVolatile(fUncached); in onDelayedSetup()
87 canvas->clipPath(fClipPath, SkClipOp::kIntersect, true); in onDraw()
102 SkPath fClipPath; member in PathTextBench
DClipStrategyBench.cpp28 fClipPath.addCircle(x, y, r); in ClipStrategyBench()
53 canvas->clipPath(fClipPath, true); in onDraw()
78 SkPath fClipPath; member in ClipStrategyBench
/external/skqp/experimental/svg/model/
DSkSVGRenderContext.h86 const SkPath* clipPath() const { return fClipPath.getMaybeNull(); } in clipPath()
106 SkTLazy<SkPath> fClipPath; variable
DSkSVGAttribute.h85 SkTLazy<SkSVGClip> fClipPath; member
DSkSVGRenderContext.cpp359 if (auto* clip = attrs.fClipPath.getMaybeNull()) { in applyPresentationAttributes()
425 fClipPath.set(clipPath); in applyClip()
DSkSVGNode.cpp64 fPresentationAttributes.fClipPath.set(clip); in setClipPath()
/external/skia/modules/svg/include/
DSkSVGRenderContext.h131 const SkPath* clipPath() const { return fClipPath.getMaybeNull(); } in clipPath()
176 SkTLazy<SkPath> fClipPath; variable
DSkSVGAttribute.h102 SkSVGProperty<SkSVGFuncIRI , false> fClipPath; member
/external/skia/modules/svg/src/
DSkSVGRenderContext.cpp246 if (attrs.fClipPath.isValue()) { in applyPresentationAttributes()
247 this->applyClip(*attrs.fClipPath); in applyPresentationAttributes()
346 fClipPath.set(clipPath); in applyClip()
/external/skqp/samplecode/
DSamplePathText.cpp72 SkPath deviceSpaceClipPath = fClipPath; in onDrawContent()
109 SkPath fClipPath = sk_tool_utils::make_star(SkRect{0,0,1,1}, 11, 3); member in PathText
/external/skia/samplecode/
DSamplePathText.cpp68 SkPath deviceSpaceClipPath = fClipPath; in onDrawContent()
119 SkPath fClipPath = ToolUtils::make_star(SkRect{0, 0, 1, 1}, 11, 3); member in PathText