/third_party/skia/src/core/ |
D | SkPathRef.cpp | 53 fPathRef->fVerbs.shrinkToFit(); in shrinkToFit() 63 + fVerbs .reserved() * sizeof(fVerbs [0]) in approximateBytesUsed() 165 (*dst)->fVerbs = src.fVerbs; in CreateTransformedCopy() 231 (*pathRef)->fVerbs.rewind(); in Rewind() 262 if (fPoints != ref.fPoints || fConicWeights != ref.fConicWeights || fVerbs != ref.fVerbs) { in operator ==() 266 if (ref.fVerbs.count() == 0) { in operator ==() 289 buffer->write32(fVerbs.count()); in writeToBuffer() 292 buffer->write(fVerbs.begin(), fVerbs.bytes()); in writeToBuffer() 293 buffer->write(fPoints.begin(), fVerbs.bytes()); in writeToBuffer() 302 fVerbs.bytes() + fPoints.bytes() + fConicWeights.bytes() + in writeSize() [all …]
|
D | SkEdgeClipper.cpp | 50 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 …]
|
D | SkPathBuilder.cpp | 35 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.push_back((uint8_t)SkPathVerb::kClose); in close() 231 fVerbs, in snapshot() [all …]
|
D | SkPathPriv.h | 424 const uint8_t* fVerbs; variable 476 SkASSERT(fVerbs <= fVerbsStop); in next() 477 if (fVerbs == fVerbsStop) { in next() 485 const auto v = *fVerbs++; in next()
|
D | SkQuadClipper.h | 52 SkPath::Verb fVerbs[kMaxVerbs]; variable
|
D | SkEdgeClipper.h | 46 SkPath::Verb fVerbs[kMaxVerbs]; variable
|
D | SkPath.cpp | 239 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() 1779 fVerbs--; // move back one verb in next() 1786 if (fVerbs == fVerbStop) { // might be a trailing moveto in next() [all …]
|
/third_party/skia/include/private/ |
D | SkPathRef.h | 70 , fVerbs(std::move(verbs)) in SkPathRef() 191 const uint8_t* fVerbs; variable 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); 435 fVerbs.setCount(verbCount); 466 uint8_t* verbsBeginWritable() { return fVerbs.begin(); } in verbsBeginWritable() [all …]
|
/third_party/skia/samplecode/ |
D | SampleSimpleStroker.cpp | 37 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 __anonaef6396d0111::PathRecorder
|
/third_party/skia/src/gpu/tessellate/ |
D | PathWedgeTessellator.cpp | 42 , 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::__anon4137c84d0111::MidpointContourParser
|
D | StrokeIterator.h | 140 return fVerbs[(fQueueFrontIdx + i) & (kQueueBufferCount - 1)]; in atVerb() 161 fVerbs[i] = verb; in enqueue() 356 Verb fVerbs[kQueueBufferCount]; variable
|
/third_party/skia/bench/ |
D | TriangulatorBench.cpp | 17 const char* fVerbs; member 41 for (const char* v = kTigerPaths[i].fVerbs; *v; ++v) { in onDelayedSetup()
|
D | PathBench.cpp | 320 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
|
/third_party/skia/tests/ |
D | ParsePathTest.cpp | 95 int fVerbs; in DEF_TEST() member 127 REPORTER_ASSERT(r, path.countVerbs() == gTests[i].fVerbs); in DEF_TEST()
|
D | PathTest.cpp | 4228 + (ref.fVerbs.reserved() - ref.fVerbs.count()) * sizeof(uint8_t); in GetFreeSpace()
|
/third_party/skia/include/core/ |
D | SkPathBuilder.h | 223 SkTDArray<uint8_t> fVerbs; variable 247 int countVerbs() const { return fVerbs.count(); } in countVerbs()
|
D | SkPath.h | 1513 const uint8_t* fVerbs; variable
|
/third_party/skia/tools/fonts/ |
D | TestTypeface.h | 38 const unsigned char* fVerbs; member
|
D | TestTypeface.cpp | 41 init(fontData.fPoints, fontData.fVerbs); in SkTestFont()
|