Searched refs:xTiles (Results 1 – 5 of 5) sorted by relevance
64 int xTiles = SkScalarCeilToInt(bounds.width() / SkIntToScalar(tileW)); in onPerCanvasPreDraw() local67 fSurfaces.setReserve(xTiles * yTiles); in onPerCanvasPreDraw()68 fTileRects.setReserve(xTiles * yTiles); in onPerCanvasPreDraw()
1482 int xTiles = 1; in initialiseTileMap() local1485 int sTileWidth = sWidth()/xTiles; in initialiseTileMap()1489 …while (subTileWidth + xTiles + 1 > maxTileDimensions.x || (subTileWidth > getWidth() * 1.25 && sam… in initialiseTileMap()1490 xTiles += 1; in initialiseTileMap()1491 sTileWidth = sWidth()/xTiles; in initialiseTileMap()1499 List<Tile> tileGrid = new ArrayList<>(xTiles * yTiles); in initialiseTileMap()1500 for (int x = 0; x < xTiles; x++) { in initialiseTileMap()1508 x == xTiles - 1 ? sWidth() : (x + 1) * sTileWidth, in initialiseTileMap()
2013 const int xTiles = (size.width() + fW - 1) / fW, in GPUThreadTestingSink() local2015 SkMultiPictureDraw mpd(xTiles*yTiles); in GPUThreadTestingSink()2021 for (int i = 0; i < xTiles; i++) { in GPUThreadTestingSink()2037 for (int i = 0; i < xTiles; i++) { in GPUThreadTestingSink()2038 sk_sp<SkImage> image(surfaces[i+xTiles*j]->makeImageSnapshot()); in GPUThreadTestingSink()
2057 const int xTiles = (size.width() + fW - 1) / fW, in GPUThreadTestingSink() local2059 SkMultiPictureDraw mpd(xTiles*yTiles); in GPUThreadTestingSink()2065 for (int i = 0; i < xTiles; i++) { in GPUThreadTestingSink()2081 for (int i = 0; i < xTiles; i++) { in GPUThreadTestingSink()2082 sk_sp<SkImage> image(surfaces[i+xTiles*j]->makeImageSnapshot()); in GPUThreadTestingSink()