Home
last modified time | relevance | path

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

/external/skqp/samplecode/
DSampleAAGeometry.cpp1403 static uint8_t* set_up_dist_map(const SkImageInfo& imageInfo, SkBitmap* distMap) { in set_up_dist_map() argument
1404 distMap->setInfo(imageInfo); in set_up_dist_map()
1405 distMap->setIsVolatile(true); in set_up_dist_map()
1406 SkAssertResult(distMap->tryAllocPixels()); in set_up_dist_map()
1407 SkASSERT((int) distMap->rowBytes() == imageInfo.width()); in set_up_dist_map()
1408 return distMap->getAddr8(0, 0); in set_up_dist_map()
1529 SkBitmap distMap; in onDrawContent() local
1530 uint8_t* distanceMap = set_up_dist_map(imageInfo, &distMap); in onDrawContent()
1543 canvas->drawBitmap(distMap, 0, 0, &fCoveragePaint); in onDrawContent()
/external/skia/samplecode/
DSampleAAGeometry.cpp1403 static uint8_t* set_up_dist_map(const SkImageInfo& imageInfo, SkBitmap* distMap) { in set_up_dist_map() argument
1404 distMap->setInfo(imageInfo); in set_up_dist_map()
1405 distMap->setIsVolatile(true); in set_up_dist_map()
1406 SkAssertResult(distMap->tryAllocPixels()); in set_up_dist_map()
1407 SkASSERT((int) distMap->rowBytes() == imageInfo.width()); in set_up_dist_map()
1408 return distMap->getAddr8(0, 0); in set_up_dist_map()
1529 SkBitmap distMap; in onDrawContent() local
1530 uint8_t* distanceMap = set_up_dist_map(imageInfo, &distMap); in onDrawContent()
1543 canvas->drawBitmap(distMap, 0, 0, &fCoveragePaint); in onDrawContent()