Home
last modified time | relevance | path

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

/external/skqp/gm/
Dpolygonoffset.cpp448 int numPtsArray[] = { 3, 4, 5, 5, 6, 8, 8, 20, 100 }; in GetConvexPolygon() local
451 SkASSERT(arrayIndex < SK_ARRAY_COUNT(numPtsArray)); in GetConvexPolygon()
452 *numPts = numPtsArray[arrayIndex]; in GetConvexPolygon()
483 int numPtsArray[] = { 5, 7, 8, 20, 100 }; in GetSimplePolygon() local
486 arrayIndex = SkTMin(arrayIndex, SK_ARRAY_COUNT(numPtsArray) - 1); in GetSimplePolygon()
487 SkASSERT(arrayIndex < SK_ARRAY_COUNT(numPtsArray)); in GetSimplePolygon()
488 *numPts = numPtsArray[arrayIndex]; in GetSimplePolygon()
/external/skia/gm/
Dpolygonoffset.cpp460 int numPtsArray[] = { 3, 4, 5, 5, 6, 8, 8, 20, 100 }; in GetConvexPolygon() local
463 SkASSERT(arrayIndex < SK_ARRAY_COUNT(numPtsArray)); in GetConvexPolygon()
464 *numPts = numPtsArray[arrayIndex]; in GetConvexPolygon()
495 int numPtsArray[] = { 5, 7, 8, 20, 100 }; in GetSimplePolygon() local
498 arrayIndex = std::min(arrayIndex, SK_ARRAY_COUNT(numPtsArray) - 1); in GetSimplePolygon()
499 SkASSERT(arrayIndex < SK_ARRAY_COUNT(numPtsArray)); in GetSimplePolygon()
500 *numPts = numPtsArray[arrayIndex]; in GetSimplePolygon()