Home
last modified time | relevance | path

Searched refs:nextResolveLevel (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/tessellate/
DGrStrokeIndirectTessellator.cpp455 int8_t* nextResolveLevel = fResolveLevels; in GrStrokeIndirectTessellator() local
521 if (counter.countLine(pts, lastControlPoint, nextResolveLevel)) { in GrStrokeIndirectTessellator()
522 ++nextResolveLevel; in GrStrokeIndirectTessellator()
533 *nextResolveLevel++ = -cuspResolveLevel; // Negative signals a cusp. in GrStrokeIndirectTessellator()
534 if (counter.countLine(pts, lastControlPoint, nextResolveLevel)) { in GrStrokeIndirectTessellator()
535 ++nextResolveLevel; in GrStrokeIndirectTessellator()
539 counter.countQuad(pts, lastControlPoint, nextResolveLevel++); in GrStrokeIndirectTessellator()
551 counter.countCubic(pts, lastControlPoint, nextResolveLevel); in GrStrokeIndirectTessellator()
557 *nextResolveLevel++ = -((1 << 4) | cuspResolveLevel); in GrStrokeIndirectTessellator()
559 nextResolveLevel); in GrStrokeIndirectTessellator()
[all …]
/external/skia/tests/
DStrokeIndirectTest.cpp241 int8_t** nextResolveLevel, float tolerance) { in check_first_resolve_levels() argument
244 int8_t val = *(*nextResolveLevel)++; in check_first_resolve_levels()
250 if (!check_resolve_level(r, numSegments, *(*nextResolveLevel)++, tolerance)) { in check_first_resolve_levels()
279 int8_t* nextResolveLevel = fResolveLevels; in verifyResolveLevels() local
293 if (!check_first_resolve_levels(r, firstNumSegments, &nextResolveLevel, in verifyResolveLevels()
310 } else if (!check_resolve_level(r, numSegments, *nextResolveLevel++, in verifyResolveLevels()
330 REPORTER_ASSERT(r, *nextResolveLevel++ == -resolveLevelForCircles); in verifyResolveLevels()
346 } else if (!check_resolve_level(r, numSegments, *nextResolveLevel++, in verifyResolveLevels()
369 REPORTER_ASSERT(r, *nextResolveLevel++ == signal); in verifyResolveLevels()
390 } else if (!check_resolve_level(r, numSegments, *nextResolveLevel++, in verifyResolveLevels()
[all …]