Home
last modified time | relevance | path

Searched refs:tileW (Results 1 – 6 of 6) sorted by relevance

/external/skqp/bench/
DSKPBench.cpp56 int tileW = gpu ? FLAGS_GPUbenchTileW : FLAGS_CPUbenchTileW, in onPerCanvasPreDraw() local
59 tileW = SkTMin(tileW, bounds.width()); in onPerCanvasPreDraw()
62 int xTiles = SkScalarCeilToInt(bounds.width() / SkIntToScalar(tileW)); in onPerCanvasPreDraw()
68 SkImageInfo ii = canvas->imageInfo().makeWH(tileW, tileH); in onPerCanvasPreDraw()
71 for (int x = bounds.fLeft; x < bounds.fRight; x += tileW) { in onPerCanvasPreDraw()
72 const SkIRect tileRect = SkIRect::MakeXYWH(x, y, tileW, tileH); in onPerCanvasPreDraw()
/external/skia/bench/
DSKPBench.cpp56 int tileW = gpu ? FLAGS_GPUbenchTileW : FLAGS_CPUbenchTileW, in onPerCanvasPreDraw() local
59 tileW = SkTMin(tileW, bounds.width()); in onPerCanvasPreDraw()
62 int xTiles = SkScalarCeilToInt(bounds.width() / SkIntToScalar(tileW)); in onPerCanvasPreDraw()
68 SkImageInfo ii = canvas->imageInfo().makeWH(tileW, tileH); in onPerCanvasPreDraw()
71 for (int x = bounds.fLeft; x < bounds.fRight; x += tileW) { in onPerCanvasPreDraw()
72 const SkIRect tileRect = SkIRect::MakeXYWH(x, y, tileW, tileH); in onPerCanvasPreDraw()
/external/skqp/gm/
Ddrawimageset.cpp16 static void make_image_tiles(int tileW, int tileH, int m, int n, const SkColor colors[4], in make_image_tiles() argument
18 const int w = tileW * m; in make_image_tiles()
56 SkIRect subset = SkIRect::MakeXYWH(x * tileW - 1, y * tileH - 1, tileW + 2, tileH + 2); in make_image_tiles()
76 SkRect::MakeXYWH(x == 0 ? 0 : 1, y == 0 ? 0 : 1, tileW, tileH); in make_image_tiles()
77 set[y * m + x].fDstRect = SkRect::MakeXYWH(x * tileW, y * tileH, tileW, tileH); in make_image_tiles()
/external/skia/gm/
Ddrawimageset.cpp16 static void make_image_tiles(int tileW, int tileH, int m, int n, const SkColor colors[4], in make_image_tiles() argument
18 const int w = tileW * m; in make_image_tiles()
56 SkIRect subset = SkIRect::MakeXYWH(x * tileW - 1, y * tileH - 1, tileW + 2, tileH + 2); in make_image_tiles()
76 SkRect::MakeXYWH(x == 0 ? 0 : 1, y == 0 ? 0 : 1, tileW, tileH); in make_image_tiles()
77 set[y * m + x].fDstRect = SkRect::MakeXYWH(x * tileW, y * tileH, tileW, tileH); in make_image_tiles()
/external/skqp/tools/viewer/
DViewer.cpp1172 int tileW = SkScalarCeilToInt(fWindow->width() * fTileScale.width()); in drawSlide() local
1174 sk_sp<SkSurface> tileSurface = make_surface(tileW, tileH); in drawSlide()
1178 for (int x = 0; x < fWindow->width(); x += tileW) { in drawSlide()
1196 for (int x = 0; x < fWindow->width(); x += tileW) { in drawSlide()
1197 slideCanvas->drawRect(SkRect::MakeXYWH(x, y, tileW, tileH), border); in drawSlide()
/external/skia/tools/viewer/
DViewer.cpp1233 int tileW = SkScalarCeilToInt(fWindow->width() * fTileScale.width()); in drawSlide() local
1235 sk_sp<SkSurface> tileSurface = make_surface(tileW, tileH); in drawSlide()
1239 for (int x = 0; x < fWindow->width(); x += tileW) { in drawSlide()
1257 for (int x = 0; x < fWindow->width(); x += tileW) { in drawSlide()
1258 slideCanvas->drawRect(SkRect::MakeXYWH(x, y, tileW, tileH), border); in drawSlide()