Home
last modified time | relevance | path

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

/external/skqp/tools/
DDDLTileHelper.cpp100 : 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()
DDDLTileHelper.h73 int fNumDivisions; // number of tiles along a side
/external/skia/tools/
DDDLTileHelper.cpp120 : 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()
DDDLTileHelper.h89 int numTiles() const { return fNumDivisions * fNumDivisions; } in numTiles()
92 int fNumDivisions; // number of tiles along a side
/external/skqp/dm/
DDMSrcSink.h550 const int fNumDivisions; variable
DDMSrcSink.cpp1942 : Via(sink), fNumReplays(numReplays), fNumDivisions(numDivisions) {} in ViaDDL()
1988 DDLTileHelper tiles(canvas, viewport, fNumDivisions); in draw()
/external/skia/dm/
DDMSrcSink.h597 const int fNumDivisions; variable
DDMSrcSink.cpp2045 : Via(sink), fNumReplays(numReplays), fNumDivisions(numDivisions) {} in ViaDDL()
2087 DDLTileHelper tiles(surface, viewport, fNumDivisions); in draw()