Home
last modified time | relevance | path

Searched refs:SkPathRef (Results 1 – 25 of 28) sorted by relevance

12

/third_party/skia/src/core/
DSkPathRef.cpp19 SkPathRef::Editor::Editor(sk_sp<SkPathRef>* pathRef, in Editor()
29 SkPathRef* copy = new SkPathRef; in Editor()
48 SkPathRef* pr = new SkPathRef; in shrinkToFit()
60 size_t SkPathRef::approximateBytesUsed() const { in approximateBytesUsed()
61 return sizeof(SkPathRef) in approximateBytesUsed()
67 SkPathRef::~SkPathRef() { in ~SkPathRef()
74 static SkPathRef* gEmpty = nullptr;
76 SkPathRef* SkPathRef::CreateEmpty() { in CreateEmpty()
79 gEmpty = new SkPathRef; in CreateEmpty()
140 void SkPathRef::CreateTransformedCopy(sk_sp<SkPathRef>* dst, in CreateTransformedCopy()
[all …]
DSkPath.cpp147 : fPathRef(SkPathRef::CreateEmpty()) { in SkPath()
152 SkPath::SkPath(sk_sp<SkPathRef> pr, SkPathFillType ft, bool isVolatile, SkPathConvexity ct, in SkPath()
362 fPathRef.reset(SkPathRef::CreateEmpty()); in reset()
370 SkPathRef::Rewind(&fPathRef); in rewind()
534 SkPathRef::Editor ed(&fPathRef); in setPt()
546 SkPathRef::Editor ed(&fPathRef); in setLastPt()
612 SkPathRef::Editor(&fPathRef, inc, inc); in incReserve()
620 SkPathRef::Editor ed(&fPathRef); in moveTo()
662 SkPathRef::Editor ed(&fPathRef); in lineTo()
680 SkPathRef::Editor ed(&fPathRef); in quadTo()
[all …]
DSkPathBuilder.cpp187 SkPath SkPathBuilder::make(sk_sp<SkPathRef> pr) const { in make()
230 return this->make(sk_sp<SkPathRef>(new SkPathRef(fPts, in snapshot()
237 auto path = this->make(sk_sp<SkPathRef>(new SkPathRef(std::move(fPts), in detach()
DSkPathPriv.h144 SkPathRef* fPathRef;
391 SkPathRef::Editor ed(&path->fPathRef); in UpdatePathPoint()
DBUILD.bazel235 "SkPathRef.cpp",
/third_party/skia/include/private/
DSkPathRef.h65 class SK_API SkPathRef final : public SkNVRefCnt<SkPathRef> {
67 SkPathRef(SkTDArray<SkPoint> points, SkTDArray<uint8_t> verbs, SkTDArray<SkScalar> weights, in SkPathRef() function
89 Editor(sk_sp<SkPathRef>* pathRef,
137 std::tuple<SkPoint*, SkScalar*> growForVerbsInPath(const SkPathRef& path) { in growForVerbsInPath()
152 SkPathRef* pathRef() { return fPathRef; } in pathRef()
165 SkPathRef* fPathRef;
171 Iter(const SkPathRef&);
173 void setPathRef(const SkPathRef&);
200 static SkPathRef* CreateEmpty();
286 static void CreateTransformedCopy(sk_sp<SkPathRef>* dst,
[all …]
DBUILD.bazel29 "SkPathRef.h",
/third_party/flutter/skia/src/core/
DSkPathRef.cpp29 SkPathRef::Editor::Editor(sk_sp<SkPathRef>* pathRef, in Editor()
39 SkPathRef* copy = new SkPathRef; in Editor()
82 sk_sp<SkPathRef> pr(new SkPathRef); in shrinkToFit()
92 SkPathRef::~SkPathRef() { in ~SkPathRef()
108 static SkPathRef* gEmpty = nullptr;
110 SkPathRef* SkPathRef::CreateEmpty() { in CreateEmpty()
113 gEmpty = new SkPathRef; in CreateEmpty()
174 void SkPathRef::CreateTransformedCopy(sk_sp<SkPathRef>* dst, in CreateTransformedCopy()
175 const SkPathRef& src, in CreateTransformedCopy()
181 dst->reset(const_cast<SkPathRef*>(&src)); in CreateTransformedCopy()
[all …]
DSkPathPriv.h90 sk_sp<SkPathRef::GenIDChangeListener> listener) { in AddGenIDChangeListener()
136 SkPathRef* fPathRef;
DSkPath.cpp158 : fPathRef(SkPathRef::CreateEmpty()) { in SkPath()
391 fPathRef.reset(SkPathRef::CreateEmpty()); in reset()
399 SkPathRef::Rewind(&fPathRef); in rewind()
745 SkPathRef::Editor ed(&fPathRef); in setPt()
757 SkPathRef::Editor ed(&fPathRef); in setLastPt()
790 SkPathRef::Editor(&fPathRef, inc, inc); in incReserve()
798 SkPathRef::Editor ed(&fPathRef); in moveTo()
834 SkPathRef::Editor ed(&fPathRef); in lineTo()
853 SkPathRef::Editor ed(&fPathRef); in quadTo()
884 SkPathRef::Editor ed(&fPathRef); in conicTo()
[all …]
DSkPath_serial.cpp317 SkPathRef* pathRef = SkPathRef::CreateFromBuffer(&buffer); in readFromMemory_LE3()
/third_party/flutter/skia/include/private/
DSkPathRef.h41 class SK_API SkPathRef final : public SkNVRefCnt<SkPathRef> {
45 Editor(sk_sp<SkPathRef>* pathRef,
103 SkPathRef* pathRef() { return fPathRef; } in pathRef()
116 SkPathRef* fPathRef;
122 Iter(const SkPathRef&);
124 void setPathRef(const SkPathRef&);
151 static SkPathRef* CreateEmpty();
237 static void CreateTransformedCopy(sk_sp<SkPathRef>* dst,
238 const SkPathRef& src,
241 static SkPathRef* CreateFromBuffer(SkRBuffer* buffer);
[all …]
/third_party/flutter/skia/include/core/
DSkPath.h1563 SkPathRef::Iter fRawIter;
1667 sk_sp<SkPathRef> fPathRef;
1737 SkPathRef::Editor ed(&fPathRef); in setBounds()
/third_party/skia/include/core/
DSkPath.h1765 SkPath(sk_sp<SkPathRef>, SkPathFillType, bool isVolatile, SkPathConvexity,
1768 sk_sp<SkPathRef> fPathRef;
1834 SkPathRef::Editor ed(&fPathRef); in setBounds()
DSkPathBuilder.h257 SkPath make(sk_sp<SkPathRef>) const;
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCPathCache.h31 class Key : public SkPathRef::GenIDChangeListener {
/third_party/flutter/skia/src/gpu/
DGrSoftwarePathRenderer.cpp221 class PathInvalidator : public SkPathRef::GenIDChangeListener {
/third_party/flutter/skia/src/gpu/geometry/
DGrShape.h451 void addGenIDChangeListener(sk_sp<SkPathRef::GenIDChangeListener>) const;
DGrShape.cpp366 void GrShape::addGenIDChangeListener(sk_sp<SkPathRef::GenIDChangeListener> listener) const { in addGenIDChangeListener()
/third_party/flutter/skia/src/gpu/ops/
DGrTessellatingPathRenderer.cpp44 class PathInvalidator : public SkPathRef::GenIDChangeListener {
/third_party/skia/gn/
Dcore.gni298 "$_src/core/SkPathRef.cpp",
483 "$_include/private/SkPathRef.h",
/third_party/flutter/skia/gn/
Dcore.gni282 "$_src/core/SkPathRef.cpp",
460 "$_include/private/SkPathRef.h",
/third_party/flutter/skia/src/utils/
DSkShadowUtils.cpp384 class ShadowInvalidator : public SkPathRef::GenIDChangeListener {
/third_party/flutter/skia/tests/
DPathTest.cpp4160 static size_t GetFreeSpace(const SkPathRef& ref) { in GetFreeSpace()
4167 sk_sp<SkPathRef> pathRef(new SkPathRef); in TestPathRef()
4169 SkPathRef::Editor ed(&pathRef); in TestPathRef()
4318 class ChangeListener : public SkPathRef::GenIDChangeListener {
/third_party/skia/tests/
DPathTest.cpp4226 static size_t GetFreeSpace(const SkPathRef& ref) { in GetFreeSpace()
4234 sk_sp<SkPathRef> pathRef(new SkPathRef); in TestPathRef()
4236 SkPathRef::Editor ed(&pathRef); in TestPathRef()

12