Searched refs:xTiles (Results 1 – 3 of 3) sorted by relevance
59 int xTiles = SkScalarCeilToInt(bounds.width() / SkIntToScalar(tileW)); in onPerCanvasPreDraw() local62 fSurfaces.reserve_back(xTiles * yTiles); in onPerCanvasPreDraw()63 fTileRects.setReserve(xTiles * yTiles); in onPerCanvasPreDraw()
62 int xTiles = SkScalarCeilToInt(bounds.width() / SkIntToScalar(tileW)); in onPerCanvasPreDraw() local65 fSurfaces.reserve(xTiles * yTiles); in onPerCanvasPreDraw()66 fTileRects.setReserve(xTiles * yTiles); in onPerCanvasPreDraw()
1855 const int xTiles = (size.width() + fW - 1) / fW, in draw() local1857 SkMultiPictureDraw mpd(xTiles*yTiles); in draw()1863 for (int i = 0; i < xTiles; i++) { in draw()1879 for (int i = 0; i < xTiles; i++) { in draw()1880 sk_sp<SkImage> image(surfaces[i+xTiles*j]->makeImageSnapshot()); in draw()