Lines Matching refs:resolveLevel
151 int8_t resolveLevel = sk_float_nextlog2(numCombinedSegments); in writeResolveLevel() local
152 resolveLevel = std::min(resolveLevel, kMaxResolveLevel); in writeResolveLevel()
153 ++fResolveLevelCounts[(*resolveLevelPtr = resolveLevel)]; in writeResolveLevel()
628 constexpr static int num_edges_in_resolve_level(int resolveLevel) { in num_edges_in_resolve_level() argument
630 int numSegments = 1 << resolveLevel; in num_edges_in_resolve_level()
688 void writeStroke(int8_t resolveLevel, const SkPoint pts[4], SkPoint prevControlPoint, in writeStroke() argument
690 SkASSERT(0 <= resolveLevel && resolveLevel < kNumBins); in writeStroke()
691 float numEdges = fNumEdgesPerResolveLevel[resolveLevel]; in writeStroke()
692 fInstanceWriters[resolveLevel].writeArray(pts, 4); in writeStroke()
693 fInstanceWriters[resolveLevel].write(prevControlPoint, in writeStroke()
698 this->writeDynamicAttribs(resolveLevel); in writeStroke()
703 void writeCircle(int8_t resolveLevel, SkPoint center) { in writeCircle() argument
704 SkASSERT(0 <= resolveLevel && resolveLevel < kNumBins); in writeCircle()
706 fInstanceWriters[resolveLevel].fill(center, 5); in writeCircle()
709 fInstanceWriters[resolveLevel].write(-fNumEdgesPerResolveLevel[resolveLevel]); in writeCircle()
710 this->writeDynamicAttribs(resolveLevel); in writeCircle()
724 void writeDynamicAttribs(int8_t resolveLevel) { in writeDynamicAttribs() argument
726 fInstanceWriters[resolveLevel].write(fDynamicStroke); in writeDynamicAttribs()
729 fInstanceWriters[resolveLevel].write(fDynamicColor); in writeDynamicAttribs()
809 int8_t resolveLevel; in writeBuffers() local
850 resolveLevel = (isRoundJoin) ? *nextResolveLevel++ : 0; in writeBuffers()
856 resolveLevel = *nextResolveLevel++; in writeBuffers()
857 if (resolveLevel < 0) { in writeBuffers()
859 int8_t cuspResolveLevel = -resolveLevel; in writeBuffers()
867 resolveLevel = (isRoundJoin) ? *nextResolveLevel++ : 0; in writeBuffers()
874 resolveLevel = *nextResolveLevel++; in writeBuffers()
875 if (resolveLevel < 0) { in writeBuffers()
877 int8_t cuspResolveLevel = -resolveLevel; in writeBuffers()
887 resolveLevel = (isRoundJoin) ? *nextResolveLevel++ : 0; in writeBuffers()
894 resolveLevel = *nextResolveLevel++; in writeBuffers()
895 if (resolveLevel < 0) { in writeBuffers()
898 numChops = -resolveLevel >> 4; in writeBuffers()
903 if (int8_t cuspResolveLevel = (-resolveLevel & 0xf)) { in writeBuffers()
908 resolveLevel = *nextResolveLevel++; in writeBuffers()
917 firstResolveLevel = resolveLevel; in writeBuffers()
921 binningWriter.writeStroke(resolveLevel, pts_, lastControlPoint, (i != 0)); in writeBuffers()
940 resolveLevel = (verb == Verb::kCubic) ? *nextResolveLevel++ : 0; in writeBuffers()