Searched refs:xTiles (Results 1 – 4 of 4) sorted by relevance
50 int xTiles = SkScalarCeilToInt(bounds.width() / SkIntToScalar(tileW)); in onPerCanvasPreDraw() local53 fSurfaces.setReserve(xTiles * yTiles); in onPerCanvasPreDraw()54 fTileRects.setReserve(xTiles * yTiles); in onPerCanvasPreDraw()
150 int xTiles = -1; local157 xTiles = atoi(FLAGS_tiles[0]);162 if (xTiles != -1 && yTiles != -1) {163 x = xTiles;
115 int xTiles, yTiles; in run() local116 if (!tiledRenderer->tileDimensions(xTiles, yTiles)) { in run()164 fWriter->tileMeta(x, y, xTiles, yTiles); in run()
652 const int xTiles = (size.width() + fW - 1) / fW, in draw() local654 SkMultiPictureDraw mpd(xTiles*yTiles); in draw()656 surfaces.setReserve(xTiles*yTiles); in draw()660 for (int i = 0; i < xTiles; i++) { in draw()676 for (int i = 0; i < xTiles; i++) { in draw()677 SkAutoTUnref<SkImage> image(surfaces[i+xTiles*j]->newImageSnapshot()); in draw()