Home
last modified time | relevance | path

Searched refs:fVerbs (Results 1 - 19 of 19) sorted by relevance

/third_party/skia/src/core/
H A DSkPathRef.cpp53 fPathRef->fVerbs.shrinkToFit(); in shrinkToFit()
63 + fVerbs .reserved() * sizeof(fVerbs [0]) in approximateBytesUsed()
165 (*dst)->fVerbs = src.fVerbs;
231 (*pathRef)->fVerbs.rewind();
250 // since it is only a cache of info in the fVerbs, but its a fast way to
262 if (fPoints != ref.fPoints || fConicWeights != ref.fConicWeights || fVerbs != ref.fVerbs) {
266 if (ref.fVerbs
[all...]
H A DSkEdgeClipper.cpp50 fCurrVerb = fVerbs; in clipLine()
61 fCurrVerb = fVerbs; in clipLine()
62 return SkPath::kDone_Verb != fVerbs[0]; in clipLine()
223 fCurrVerb = fVerbs; in clipQuad()
236 SkASSERT(fCurrVerb - fVerbs < kMaxVerbs); in clipQuad()
244 fCurrVerb = fVerbs; in clipQuad()
245 return SkPath::kDone_Verb != fVerbs[0]; in clipQuad()
419 fCurrVerb = fVerbs; in clipCubic()
440 SkASSERT(fCurrVerb - fVerbs < kMaxVerbs); in clipCubic()
449 fCurrVerb = fVerbs; in clipCubic()
[all...]
H A DSkPathBuilder.cpp35 fVerbs.reset(); in reset()
71 fVerbs.setReserve(Sk32_sat_add(fVerbs.count(), extraVbCount)); in incReserve()
93 fVerbs.push_back((uint8_t)SkPathVerb::kMove); in moveTo()
104 fVerbs.push_back((uint8_t)SkPathVerb::kLine); in lineTo()
116 fVerbs.push_back((uint8_t)SkPathVerb::kQuad); in quadTo()
128 fVerbs.push_back((uint8_t)SkPathVerb::kConic); in conicTo()
142 fVerbs.push_back((uint8_t)SkPathVerb::kCubic); in cubicTo()
149 if (fVerbs.count() > 0) { in close()
152 fVerbs in close()
[all...]
H A DSkPathPriv.h424 const uint8_t* fVerbs; member in SkPathEdgeIter
476 SkASSERT(fVerbs <= fVerbsStop); in next()
477 if (fVerbs == fVerbsStop) { in next()
485 const auto v = *fVerbs++; in next()
H A DSkEdgeClipper.h46 SkPath::Verb fVerbs[kMaxVerbs]; member in SkEdgeClipper
H A DSkQuadClipper.h52 SkPath::Verb fVerbs[kMaxVerbs]; member in SkQuadClipper2
H A DSkPath.cpp239 fPathRef->fVerbs == compare.fPathRef->fVerbs && in isInterpolatable()
1450 if (path.fPathRef->fVerbs.count() == 0) { in reversePathTo()
1684 fVerbs = nullptr; in Iter()
1695 fVerbs = path.fPathRef->verbsBegin(); in setPath()
1708 if (fVerbs == nullptr || fVerbs == fVerbStop) { in isClosedContour()
1715 const uint8_t* verbs = fVerbs; in isClosedContour()
1760 if (fVerbs == fVerbStop) { in next()
1772 unsigned verb = *fVerbs in next()
[all...]
/third_party/skia/include/private/
H A DSkPathRef.h70 , fVerbs(std::move(verbs)) in SkPathRef()
191 const uint8_t* fVerbs; member in final::Iter
301 int countVerbs() const { return fVerbs.count(); } in countVerbs()
309 const uint8_t* verbsBegin() const { return fVerbs.begin(); } in verbsBegin()
314 const uint8_t* verbsEnd() const { return fVerbs.end(); } in verbsEnd()
332 uint8_t atVerb(int index) const { return fVerbs[index]; } in atVerb()
415 fVerbs.setReserve(fVerbs.count() + additionalVerbs); in incReserve()
434 fVerbs.setReserve(verbCount + reserveVerbs); in resetToSize()
435 fVerbs in resetToSize()
507 SkTDArray<uint8_t> fVerbs; global() member in final
[all...]
/third_party/skia/samplecode/
H A DSampleSimpleStroker.cpp37 return SkPath::Make(fPoints.data(), fPoints.size(), fVerbs.data(), fVerbs.size(), nullptr, in getPath()
42 fVerbs.push_back(SkPath::kMove_Verb); in moveTo()
47 fVerbs.push_back(SkPath::kLine_Verb); in lineTo()
51 void close() { fVerbs.push_back(SkPath::kClose_Verb); } in close()
54 fVerbs.clear(); in rewind()
60 int countVerbs() const { return fVerbs.size(); } in countVerbs()
78 const std::vector<uint8_t>& verbs() const { return fVerbs; } in verbs()
83 std::vector<uint8_t> fVerbs; member in __anon18654::PathRecorder
/third_party/skia/src/gpu/tessellate/
H A DPathWedgeTessellator.cpp42 , fVerbs(SkPathPriv::VerbData(fPath)) in MidpointContourParser()
51 switch (fVerbs[fVerbsIdx]) { in parseNextContour()
95 return SkPathPriv::Iterate(fVerbs, fVerbs + fVerbsIdx, fPoints, fWeights); in currentContour()
102 fVerbs += fVerbsIdx; in advance()
113 const uint8_t* fVerbs; member in skgpu::__anon18864::MidpointContourParser
H A DStrokeIterator.h140 return fVerbs[(fQueueFrontIdx + i) & (kQueueBufferCount - 1)]; in atVerb()
161 fVerbs[i] = verb; in enqueue()
356 Verb fVerbs[kQueueBufferCount]; member in skgpu::StrokeIterator
/third_party/skia/tests/
H A DParsePathTest.cpp95 int fVerbs; in DEF_TEST() member
127 REPORTER_ASSERT(r, path.countVerbs() == gTests[i].fVerbs); in DEF_TEST()
H A DPathTest.cpp4228 + (ref.fVerbs.reserved() - ref.fVerbs.count()) * sizeof(uint8_t); in GetFreeSpace()
/third_party/skia/include/core/
H A DSkPathBuilder.h223 SkTDArray<uint8_t> fVerbs; member in SkPathBuilder
247 int countVerbs() const { return fVerbs.count(); } in countVerbs()
H A DSkPath.h1513 const uint8_t* fVerbs; member in SkPath::Iter
/third_party/skia/bench/
H A DPathBench.cpp320 fVerbs.reset(kNumVerbs); in createData()
323 fVerbs[i] = static_cast<SkPath::Verb>(fRandom.nextULessThan(SkPath::kDone_Verb)); in createData()
324 } while (!allowMoves && SkPath::kMove_Verb == fVerbs[i]); in createData()
343 int verb = fVerbs[(fCurrVerb++) & (kNumVerbs - 1)]; in makePath()
380 fVerbs.reset(0); in finishedMakingPaths()
392 SkAutoTArray<SkPath::Verb> fVerbs; member in RandomPathBench
H A DTriangulatorBench.cpp17 const char* fVerbs; member
41 for (const char* v = kTigerPaths[i].fVerbs; *v; ++v) {
/third_party/skia/tools/fonts/
H A DTestTypeface.h38 const unsigned char* fVerbs; member
H A DTestTypeface.cpp41 init(fontData.fPoints, fontData.fVerbs); in SkTestFont()

Completed in 26 milliseconds