/external/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() 70 fVerbs.setReserve(Sk32_sat_add(fVerbs.count(), extraVbCount)); in incReserve() 89 fVerbs.push_back((uint8_t)SkPathVerb::kMove); in moveTo() 100 fVerbs.push_back((uint8_t)SkPathVerb::kLine); in lineTo() 112 fVerbs.push_back((uint8_t)SkPathVerb::kQuad); in quadTo() 124 fVerbs.push_back((uint8_t)SkPathVerb::kConic); in conicTo() 138 fVerbs.push_back((uint8_t)SkPathVerb::kCubic); in cubicTo() 145 if (fVerbs.count() > 0) { in close() 148 fVerbs.push_back((uint8_t)SkPathVerb::kClose); in close() 214 fVerbs, in snapshot() [all …]
|
D | SkPathPriv.h | 421 const uint8_t* fVerbs; variable 473 SkASSERT(fVerbs <= fVerbsStop); in next() 474 if (fVerbs == fVerbsStop) { in next() 482 const auto v = *fVerbs++; in next()
|
D | SkQuadClipper.h | 52 SkPath::Verb fVerbs[kMaxVerbs]; variable
|
D | SkEdgeClipper.h | 46 SkPath::Verb fVerbs[kMaxVerbs]; variable
|
/external/skia/src/gpu/tessellate/ |
D | GrMidpointContourParser.h | 27 , fVerbs(SkPathPriv::VerbData(fPath)) in GrMidpointContourParser() 36 switch (fVerbs[fVerbsIdx]) { in parseNextContour() 70 return SkPathPriv::Iterate(fVerbs, fVerbs + fVerbsIdx, fPoints, fWeights); in currentContour() 77 fVerbs += fVerbsIdx; in advance() 88 const uint8_t* fVerbs; variable
|
D | GrStrokeIterator.h | 138 return fVerbs[(fQueueFrontIdx + i) & (kQueueBufferCount - 1)]; in atVerb() 159 fVerbs[i] = verb; in enqueue() 354 Verb fVerbs[kQueueBufferCount]; variable
|
/external/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 …]
|
/external/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 __anon22ae24220111::PathRecorder
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCFillGeometry.h | 54 , fVerbs(numSkVerbs * 3) 58 const SkTArray<Verb, true>& verbs() const { SkASSERT(!fBuildingContour); return fVerbs; } in verbs() 64 fVerbs.reset(); in reset() 117 SkSTArray<128, Verb, true> fVerbs; variable
|
D | GrCCStrokeGeometry.cpp | 92 fVerbs.push_back(Verb::kBeginPath); in beginPath() 391 fVerbs.push_back(verb); in recordStroke() 482 fVerbs.push_back(Verb::kBevelJoin); in recordBevelJoin() 485 fVerbs.push_back(Verb::kInternalBevelJoin); in recordBevelJoin() 491 fVerbs.push_back(Verb::kMiterJoin); in recordMiterJoin() 498 fVerbs.push_back(joinVerb); in recordRoundJoin() 526 fVerbs.push_back(Verb::kEndContour); in closeContour() 539 fVerbs.push_back(Verb::kEndContour); in capContourAndExit() 569 fVerbs.push_back(capVerb); in recordCapsIfAny() 570 fVerbs.push_back(Verb::kEndContour); in recordCapsIfAny() [all …]
|
D | GrCCStrokeGeometry.h | 27 : fVerbs(numSkVerbs * 5/2) // Reserve for a 2.5x expansion in verbs. (Joins get their 75 const SkTArray<Verb, true>& verbs() const { SkASSERT(!fInsideContour); return fVerbs; } in verbs() 143 SkSTArray<128, Verb, true> fVerbs; variable
|
D | GrCCFillGeometry.cpp | 20 fVerbs.push_back(Verb::kBeginPath); in beginPath() 27 fCurrContourTallies = {fVerbs.count(), 0, 0, 0, 0}; in beginContour() 30 fVerbs.push_back(Verb::kBeginContour); in beginContour() 50 fVerbs.push_back(Verb::kLineTo); in appendLine() 203 fVerbs.push_back(Verb::kMonotonicQuadraticTo); in appendMonotonicQuadratic() 624 fVerbs.push_back(Verb::kMonotonicCubicTo); in appendCubics() 780 fVerbs.push_back(Verb::kMonotonicConicTo); in appendMonotonicConic() 786 SkASSERT(fVerbs.count() >= fCurrContourTallies.fTriangles); in endContour() 790 int fanSize = fVerbs.count() - fCurrContourTallies.fTriangles; in endContour() 793 fVerbs.push_back(Verb::kEndClosedContour); in endContour() [all …]
|
/external/skqp/include/private/ |
D | SkPathRef.h | 142 const uint8_t* fVerbs; variable 258 const uint8_t* verbs() const { return fVerbs; } in verbs() 350 fVerbs = nullptr; in SkPathRef() 421 fVerbs = nullptr; 491 fVerbs = SkTAddOffset<uint8_t>(fPoints, newSize); 501 return fVerbs - fVerbCnt; in verbsMemWritable() 508 return reinterpret_cast<intptr_t>(fVerbs) - reinterpret_cast<intptr_t>(fPoints); in currSize() 550 uint8_t* fVerbs; // points just past the end of the allocation (verbs grow backwards) variable
|
/external/skqp/src/core/ |
D | SkEdgeClipper.cpp | 50 fCurrVerb = fVerbs; in clipLine() 61 fCurrVerb = fVerbs; in clipLine() 62 return SkPath::kDone_Verb != fVerbs[0]; in clipLine() 221 fCurrVerb = fVerbs; in clipQuad() 234 SkASSERT(fCurrVerb - fVerbs < kMaxVerbs); in clipQuad() 242 fCurrVerb = fVerbs; in clipQuad() 243 return SkPath::kDone_Verb != fVerbs[0]; in clipQuad() 417 fCurrVerb = fVerbs; in clipCubic() 438 SkASSERT(fCurrVerb - fVerbs < kMaxVerbs); in clipCubic() 447 fCurrVerb = fVerbs; in clipCubic() [all …]
|
D | SkPathRef.cpp | 78 fPathRef->fVerbs = (uint8_t*)newAlloc + minSize; in shrinkToFit() 100 SkDEBUGCODE(fVerbs = nullptr;) in ~SkPathRef() 597 uint8_t* vb = fVerbs - fVerbCnt; in growForRepeatedVerb() 671 this->fVerbs[~fVerbCnt] = verb; in growForVerb() 788 fVerbs = nullptr; in Iter() 798 fVerbs = path.verbs(); in setPathRef() 807 fVerbStop = fVerbs; in setPathRef() 813 if (fVerbs == fVerbStop) { in next() 818 unsigned verb = *(--fVerbs); in next() 850 SkASSERT(fVerbs == fVerbStop); in next() [all …]
|
D | SkQuadClipper.h | 52 SkPath::Verb fVerbs[kMaxVerbs]; variable
|
D | SkEdgeClipper.h | 39 SkPath::Verb fVerbs[kMaxVerbs]; variable
|
D | SkPath.cpp | 1910 fVerbs = nullptr; in Iter() 1921 fVerbs = path.fPathRef->verbs(); in setPath() 1935 if (fVerbs == nullptr || fVerbs == fVerbStop) { in isClosedContour() 1942 const uint8_t* verbs = fVerbs; in isClosedContour() 2003 while (fVerbs != fVerbStop) { in consumeDegenerateSegments() 2004 unsigned verb = *(fVerbs - 1); // fVerbs is one beyond the current verb in consumeDegenerateSegments() 2008 lastMoveVerb = fVerbs; in consumeDegenerateSegments() 2012 fVerbs--; in consumeDegenerateSegments() 2023 fVerbs--; in consumeDegenerateSegments() 2029 fVerbs = lastMoveVerb; in consumeDegenerateSegments() [all …]
|
/external/skqp/tests/ |
D | ParsePathTest.cpp | 95 int fVerbs; in DEF_TEST() member 127 REPORTER_ASSERT(r, path.countVerbs() == gTests[i].fVerbs); in DEF_TEST()
|
/external/skia/tests/ |
D | ParsePathTest.cpp | 95 int fVerbs; in DEF_TEST() member 127 REPORTER_ASSERT(r, path.countVerbs() == gTests[i].fVerbs); in DEF_TEST()
|
/external/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
|
/external/skia/include/core/ |
D | SkPathBuilder.h | 223 SkTDArray<uint8_t> fVerbs; variable 246 int countVerbs() const { return fVerbs.count(); } in countVerbs()
|