Searched refs:fNumDivisions (Results 1 – 8 of 8) sorted by relevance
/external/skqp/tools/ |
D | DDLTileHelper.cpp | 100 : fNumDivisions(numDivisions) { in DDLTileHelper() 101 SkASSERT(fNumDivisions > 0); in DDLTileHelper() 102 fTiles.reserve(fNumDivisions*fNumDivisions); in DDLTileHelper() 104 int xTileSize = viewport.width()/fNumDivisions; in DDLTileHelper() 105 int yTileSize = viewport.height()/fNumDivisions; in DDLTileHelper() 108 for (int y = 0, yOff = 0; y < fNumDivisions; ++y, yOff += yTileSize) { in DDLTileHelper() 109 int ySize = (y < fNumDivisions-1) ? yTileSize : viewport.height()-yOff; in DDLTileHelper() 111 for (int x = 0, xOff = 0; x < fNumDivisions; ++x, xOff += xTileSize) { in DDLTileHelper() 112 int xSize = (x < fNumDivisions-1) ? xTileSize : viewport.width()-xOff; in DDLTileHelper()
|
D | DDLTileHelper.h | 73 int fNumDivisions; // number of tiles along a side
|
/external/skia/tools/ |
D | DDLTileHelper.cpp | 120 : fNumDivisions(numDivisions) { in DDLTileHelper() 121 SkASSERT(fNumDivisions > 0); in DDLTileHelper() 124 int xTileSize = viewport.width()/fNumDivisions; in DDLTileHelper() 125 int yTileSize = viewport.height()/fNumDivisions; in DDLTileHelper() 128 for (int y = 0, yOff = 0; y < fNumDivisions; ++y, yOff += yTileSize) { in DDLTileHelper() 129 int ySize = (y < fNumDivisions-1) ? yTileSize : viewport.height()-yOff; in DDLTileHelper() 131 for (int x = 0, xOff = 0; x < fNumDivisions; ++x, xOff += xTileSize) { in DDLTileHelper() 132 int xSize = (x < fNumDivisions-1) ? xTileSize : viewport.width()-xOff; in DDLTileHelper() 138 fTiles[y*fNumDivisions+x].init(y*fNumDivisions+x, dstSurface, clip); in DDLTileHelper()
|
D | DDLTileHelper.h | 89 int numTiles() const { return fNumDivisions * fNumDivisions; } in numTiles() 92 int fNumDivisions; // number of tiles along a side
|
/external/skqp/dm/ |
D | DMSrcSink.h | 550 const int fNumDivisions; variable
|
D | DMSrcSink.cpp | 1942 : Via(sink), fNumReplays(numReplays), fNumDivisions(numDivisions) {} in ViaDDL() 1988 DDLTileHelper tiles(canvas, viewport, fNumDivisions); in draw()
|
/external/skia/dm/ |
D | DMSrcSink.h | 597 const int fNumDivisions; variable
|
D | DMSrcSink.cpp | 2045 : Via(sink), fNumReplays(numReplays), fNumDivisions(numDivisions) {} in ViaDDL() 2087 DDLTileHelper tiles(surface, viewport, fNumDivisions); in draw()
|