Home
last modified time | relevance | path

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

/external/skqp/gm/
Dpolygonoffset.cpp379 const SkPoint* gSimplePoints[] = { variable
402 static_assert(SK_ARRAY_COUNT(gSimpleSizes) == SK_ARRAY_COUNT(gSimplePoints), "array_mismatch");
466 if (index < (int)SK_ARRAY_COUNT(PolygonOffsetData::gSimplePoints)) { in GetSimplePolygon()
472 (*data)[i] = PolygonOffsetData::gSimplePoints[index][i]; in GetSimplePolygon()
476 (*data)[i] = PolygonOffsetData::gSimplePoints[index][*numPts - i - 1]; in GetSimplePolygon()
485 size_t arrayIndex = index - SK_ARRAY_COUNT(PolygonOffsetData::gSimplePoints); in GetSimplePolygon()
/external/skia/gm/
Dpolygonoffset.cpp391 const SkPoint* gSimplePoints[] = { variable
414 static_assert(SK_ARRAY_COUNT(gSimpleSizes) == SK_ARRAY_COUNT(gSimplePoints), "array_mismatch");
478 if (index < (int)SK_ARRAY_COUNT(PolygonOffsetData::gSimplePoints)) { in GetSimplePolygon()
484 (*data)[i] = PolygonOffsetData::gSimplePoints[index][i]; in GetSimplePolygon()
488 (*data)[i] = PolygonOffsetData::gSimplePoints[index][*numPts - i - 1]; in GetSimplePolygon()
497 size_t arrayIndex = index - SK_ARRAY_COUNT(PolygonOffsetData::gSimplePoints); in GetSimplePolygon()