Home
last modified time | relevance | path

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

/external/skqp/samplecode/
DSampleAAGeometry.cpp461 int byteCoverage = (int) (coverage * 256); in add_to_map() local
462 if (byteCoverage < 0) { in add_to_map()
463 byteCoverage = 0; in add_to_map()
464 } else if (byteCoverage > 255) { in add_to_map()
465 byteCoverage = 255; in add_to_map()
469 distanceMap[y * w + x] = SkTMax(distanceMap[y * w + x], (uint8_t) byteCoverage); in add_to_map()