Searched refs:xTiles (Results 1 – 2 of 2) sorted by relevance
63 int xTiles = SkScalarCeilToInt(bounds.width() / SkIntToScalar(tileW)); in onPerCanvasPreDraw() local66 fSurfaces.setReserve(xTiles * yTiles); in onPerCanvasPreDraw()67 fTileRects.setReserve(xTiles * yTiles); in onPerCanvasPreDraw()
1666 const int xTiles = (size.width() + fW - 1) / fW, in draw() local1668 SkMultiPictureDraw mpd(xTiles*yTiles); in draw()1674 for (int i = 0; i < xTiles; i++) { in draw()1690 for (int i = 0; i < xTiles; i++) { in draw()1691 sk_sp<SkImage> image(surfaces[i+xTiles*j]->makeImageSnapshot()); in draw()