Home
last modified time | relevance | path

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

12

/external/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.cpp145 : fPathRef(SkPathRef::CreateEmpty()) { in SkPath()
150 SkPath::SkPath(sk_sp<SkPathRef> pr, SkPathFillType ft, bool isVolatile, SkPathConvexity ct, in SkPath()
360 fPathRef.reset(SkPathRef::CreateEmpty()); in reset()
368 SkPathRef::Rewind(&fPathRef); in rewind()
532 SkPathRef::Editor ed(&fPathRef); in setPt()
544 SkPathRef::Editor ed(&fPathRef); in setLastPt()
610 SkPathRef::Editor(&fPathRef, inc, inc); in incReserve()
618 SkPathRef::Editor ed(&fPathRef); in moveTo()
653 SkPathRef::Editor ed(&fPathRef); in lineTo()
671 SkPathRef::Editor ed(&fPathRef); in quadTo()
[all …]
DSkPathBuilder.cpp183 SkPath SkPathBuilder::make(sk_sp<SkPathRef> pr) const { in make()
213 return this->make(sk_sp<SkPathRef>(new SkPathRef(fPts, in snapshot()
220 auto path = this->make(sk_sp<SkPathRef>(new SkPathRef(std::move(fPts), in detach()
DSkPathPriv.h143 SkPathRef* fPathRef;
388 SkPathRef::Editor ed(&path->fPathRef); in UpdatePathPoint()
/external/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 …]
/external/skqp/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.h98 sk_sp<SkPathRef::GenIDChangeListener> listener) { in AddGenIDChangeListener()
144 SkPathRef* fPathRef;
DSkPath.cpp156 : fPathRef(SkPathRef::CreateEmpty()) { in SkPath()
385 fPathRef.reset(SkPathRef::CreateEmpty()); in reset()
393 SkPathRef::Rewind(&fPathRef); in rewind()
728 SkPathRef::Editor ed(&fPathRef); in setPt()
740 SkPathRef::Editor ed(&fPathRef); in setLastPt()
773 SkPathRef::Editor(&fPathRef, inc, inc); in incReserve()
781 SkPathRef::Editor ed(&fPathRef); in moveTo()
817 SkPathRef::Editor ed(&fPathRef); in lineTo()
836 SkPathRef::Editor ed(&fPathRef); in quadTo()
867 SkPathRef::Editor ed(&fPathRef); in conicTo()
[all …]
DSkPath_serial.cpp317 SkPathRef* pathRef = SkPathRef::CreateFromBuffer(&buffer); in readFromMemory_LE3()
/external/skqp/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 …]
/external/skqp/include/core/
DSkPath.h1578 SkPathRef::Iter fRawIter;
1682 sk_sp<SkPathRef> fPathRef;
1753 SkPathRef::Editor ed(&fPathRef); in setBounds()
/external/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.h256 SkPath make(sk_sp<SkPathRef>) const;
/external/skqp/src/gpu/ccpr/
DGrCCPathCache.h31 class Key : public SkPathRef::GenIDChangeListener {
/external/skqp/src/gpu/
DGrShape.h451 void addGenIDChangeListener(sk_sp<SkPathRef::GenIDChangeListener>) const;
DGrSoftwarePathRenderer.cpp222 class PathInvalidator : public SkPathRef::GenIDChangeListener {
DGrShape.cpp368 void GrShape::addGenIDChangeListener(sk_sp<SkPathRef::GenIDChangeListener> listener) const { in addGenIDChangeListener()
/external/skqp/src/gpu/ops/
DGrTessellatingPathRenderer.cpp43 class PathInvalidator : public SkPathRef::GenIDChangeListener {
/external/skia/gn/
Dcore.gni292 "$_src/core/SkPathRef.cpp",
473 "$_include/private/SkPathRef.h",
/external/skqp/gn/
Dcore.gni204 "$_src/core/SkPathRef.cpp",
440 "$_include/private/SkPathRef.h",
/external/skqp/tests/
DPathTest.cpp4186 static size_t GetFreeSpace(const SkPathRef& ref) { in GetFreeSpace()
4193 sk_sp<SkPathRef> pathRef(new SkPathRef); in TestPathRef()
4195 SkPathRef::Editor ed(&pathRef); in TestPathRef()
4344 class ChangeListener : public SkPathRef::GenIDChangeListener {
/external/skia/tests/
DPathTest.cpp4194 static size_t GetFreeSpace(const SkPathRef& ref) { in GetFreeSpace()
4202 sk_sp<SkPathRef> pathRef(new SkPathRef); in TestPathRef()
4204 SkPathRef::Editor ed(&pathRef); in TestPathRef()
/external/skqp/
DBUILD.gn1110 "src/core/SkPathRef.cpp",
DAndroid.bp709 "src/core/SkPathRef.cpp",
/external/skia/
DAndroid.bp305 "src/core/SkPathRef.cpp",
1076 "src/core/SkPathRef.cpp",

12