Home
last modified time | relevance | path

Searched refs:numChops (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/tessellate/
DGrStrokeIndirectTessellator.cpp546 int numChops = GrPathUtils::findCubicConvex180Chops(pts, nextChopTs, &areCusps); in GrStrokeIndirectTessellator() local
547 if (areCusps && numChops > 0) { in GrStrokeIndirectTessellator()
548 cuspResolveLevel = counter.countCircles(numChops); in GrStrokeIndirectTessellator()
550 if (numChops == 0) { in GrStrokeIndirectTessellator()
552 } else if (numChops == 1) { in GrStrokeIndirectTessellator()
561 SkASSERT(numChops == 2); in GrStrokeIndirectTessellator()
573 nextResolveLevel += numChops + 1; in GrStrokeIndirectTessellator()
574 nextChopTs += numChops; in GrStrokeIndirectTessellator()
826 int numChops = 0; in writeBuffers() local
862 numChops = 1; in writeBuffers()
[all …]
DGrStrokeFixedCountTessellator.cpp250 int numChops; in prepare() local
293 numChops = GrPathUtils::findCubicConvex180Chops(p, T, &areCusps); in prepare()
294 if (numChops == 0) { in prepare()
296 } else if (numChops == 1) { in prepare()
307 SkASSERT(numChops == 2); in prepare()
DGrStrokeHardwareTessellator.cpp177 int numChops = GrPathUtils::findCubicConvex180Chops(p, chopT, &areCusps); in writeCubicConvex180PatchesTo() local
178 if (numChops == 0) { in writeCubicConvex180PatchesTo()
181 } else if (numChops == 1) { in writeCubicConvex180PatchesTo()
190 SkASSERT(numChops == 2); in writeCubicConvex180PatchesTo()
/external/skia/samplecode/
DSampleTessellatedWedge.cpp150 static float find_conic_max_error(const SkConic& conic, int numChops) { in find_conic_max_error() argument
151 if (numChops > 1) { in find_conic_max_error()
152 int leftChops = numChops / 2; in find_conic_max_error()
154 if (conic.chopAt((float)leftChops/numChops, halves)) { in find_conic_max_error()
156 find_conic_max_error(halves[1], numChops - leftChops)); in find_conic_max_error()
/external/skqp/src/gpu/ccpr/
DGrCCFillGeometry.cpp542 int numChops, float localT0, float localT1) { in appendCubics() argument
543 if (numChops) { in appendCubics()
544 SkASSERT(numChops > 0); in appendCubics()
545 int midChopIdx = numChops/2; in appendCubics()
553 numChops - midChopIdx - 1, localT0, localT1); in appendCubics()
568 numChops - midChopIdx - 1, T, localT1); in appendCubics()
DGrCCFillGeometry.h100 const Sk2f& p3, const float chops[], int numChops, float localT0 = 0,