Home
last modified time | relevance | path

Searched refs:fConicWeights (Results 1 – 13 of 13) sorted by relevance

/external/skia/src/core/
DSkPathRef.cpp54 fPathRef->fConicWeights.shrinkToFit(); in shrinkToFit()
64 + fConicWeights.reserved() * sizeof(fConicWeights[0]); in approximateBytesUsed()
166 (*dst)->fConicWeights = src.fConicWeights; in CreateTransformedCopy()
232 (*pathRef)->fConicWeights.rewind(); in Rewind()
262 if (fPoints != ref.fPoints || fConicWeights != ref.fConicWeights || fVerbs != ref.fVerbs) { in operator ==()
291 buffer->write32(fConicWeights.count()); in writeToBuffer()
294 buffer->write(fConicWeights.begin(), fConicWeights.bytes()); in writeToBuffer()
302 fVerbs.bytes() + fPoints.bytes() + fConicWeights.bytes() + in writeSize()
310 this->resetToSize(ref.fVerbs.count(), ref.fPoints.count(), ref.fConicWeights.count(), in copy()
314 fConicWeights = ref.fConicWeights; in copy()
[all …]
DSkPathPriv.h425 const SkScalar* fConicWeights; variable
440 return *fConicWeights; in conicWeight()
504 fConicWeights += cws_count; in next()
DSkPathBuilder.cpp36 fConicWeights.reset(); in reset()
125 fConicWeights.push_back(w); in conicTo()
215 fConicWeights, in snapshot()
222 std::move(fConicWeights), in detach()
DSkPath.cpp238 fPathRef->fConicWeights == compare.fPathRef->fConicWeights; in isInterpolatable()
1671 fConicWeights = nullptr; in Iter()
1689 fConicWeights = path.fPathRef->conicWeights(); in setPath()
1690 if (fConicWeights) { in setPath()
1691 fConicWeights -= 1; // begin one behind in setPath()
1795 fConicWeights += 1; in next()
/external/skqp/src/core/
DSkPathRef.cpp80 fPathRef->fConicWeights.shrinkToFit(); in shrinkToFit()
192 (*dst)->resetToSize(src.fVerbCnt, src.fPointCnt, src.fConicWeights.count()); in CreateTransformedCopy()
195 (*dst)->fConicWeights = src.fConicWeights; in CreateTransformedCopy()
200 SkASSERT((*dst)->fConicWeights.count() == src.fConicWeights.count()); in CreateTransformedCopy()
360 SkASSERT(conicCount == ref->fConicWeights.count()); in CreateFromBuffer()
364 !buffer->read(ref->fConicWeights.begin(), conicSize) || in CreateFromBuffer()
376 pCount != ref->countPoints() || cCount != ref->fConicWeights.count()) { in CreateFromBuffer()
379 if (!validate_conic_weights(ref->fConicWeights.begin(), ref->fConicWeights.count())) { in CreateFromBuffer()
406 (*pathRef)->fConicWeights.rewind(); in Rewind()
459 if (fConicWeights != ref.fConicWeights) { in operator ==()
[all …]
DSkPath.cpp1904 fConicWeights = nullptr; in Iter()
1923 fConicWeights = path.fPathRef->conicWeights(); in setPath()
1924 if (fConicWeights) { in setPath()
1925 fConicWeights -= 1; // begin one behind in setPath()
2010 lastMoveWeight = fConicWeights; in consumeDegenerateSegments()
2031 fConicWeights = lastMoveWeight; in consumeDegenerateSegments()
2047 fConicWeights = lastMoveWeight; in consumeDegenerateSegments()
2055 fConicWeights += (kConic_Verb == verb); in consumeDegenerateSegments()
2063 fConicWeights = lastMoveWeight; in consumeDegenerateSegments()
2127 fConicWeights += 1; in doNext()
/external/skia/include/private/
DSkPathRef.h71 , fConicWeights(std::move(weights)) in SkPathRef()
187 SkScalar conicWeight() const { return *fConicWeights; } in conicWeight()
193 const SkScalar* fConicWeights; variable
302 int countWeights() const { return fConicWeights.count(); } in countWeights()
326 const SkScalar* conicWeights() const { return fConicWeights.begin(); } in conicWeights()
327 const SkScalar* conicWeightsEnd() const { return fConicWeights.end(); } in conicWeightsEnd()
436 fConicWeights.setCount(conicCount);
508 SkTDArray<SkScalar> fConicWeights; variable
/external/skqp/include/private/
DSkPathRef.h138 SkScalar conicWeight() const { return *fConicWeights; } in conicWeight()
144 const SkScalar* fConicWeights; variable
253 int countWeights() const { return fConicWeights.count(); } in countWeights()
275 const SkScalar* conicWeights() const { return fConicWeights.begin(); } in conicWeights()
276 const SkScalar* conicWeightsEnd() const { return fConicWeights.end(); } in conicWeightsEnd()
434 fConicWeights.setCount(conicCount);
554 SkTDArray<SkScalar> fConicWeights; variable
/external/skqp/src/gpu/ccpr/
DGrCCFillGeometry.h55 , fConicWeights(numConicWeights * 3/2) {}
59 float getConicWeight(int idx) const { SkASSERT(!fBuildingContour); return fConicWeights[idx]; } in getConicWeight()
118 SkSTArray<32, float, true> fConicWeights; variable
DGrCCFillGeometry.cpp779 fConicWeights.push_back(w); in appendMonotonicConic()
/external/skqp/include/core/
DSkPath.h1467 SkScalar conicWeight() const { return *fConicWeights; } in conicWeight()
1492 const SkScalar* fConicWeights; variable
/external/skia/include/core/
DSkPath.h1488 SkScalar conicWeight() const { return *fConicWeights; } in conicWeight()
1515 const SkScalar* fConicWeights; variable
DSkPathBuilder.h224 SkTDArray<SkScalar> fConicWeights; variable