Home
last modified time | relevance | path

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

/external/skqp/bench/
DSKPBench.cpp57 tileH = gpu ? FLAGS_GPUbenchTileH : FLAGS_CPUbenchTileH; in onPerCanvasPreDraw() local
60 tileH = SkTMin(tileH, bounds.height()); in onPerCanvasPreDraw()
63 int yTiles = SkScalarCeilToInt(bounds.height() / SkIntToScalar(tileH)); in onPerCanvasPreDraw()
68 SkImageInfo ii = canvas->imageInfo().makeWH(tileW, tileH); in onPerCanvasPreDraw()
70 for (int y = bounds.fTop; y < bounds.fBottom; y += tileH) { in onPerCanvasPreDraw()
72 const SkIRect tileRect = SkIRect::MakeXYWH(x, y, tileW, tileH); in onPerCanvasPreDraw()
/external/skia/bench/
DSKPBench.cpp57 tileH = gpu ? FLAGS_GPUbenchTileH : FLAGS_CPUbenchTileH; in onPerCanvasPreDraw() local
60 tileH = SkTMin(tileH, bounds.height()); in onPerCanvasPreDraw()
63 int yTiles = SkScalarCeilToInt(bounds.height() / SkIntToScalar(tileH)); in onPerCanvasPreDraw()
68 SkImageInfo ii = canvas->imageInfo().makeWH(tileW, tileH); in onPerCanvasPreDraw()
70 for (int y = bounds.fTop; y < bounds.fBottom; y += tileH) { 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
19 const int h = tileH * n; 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
19 const int h = tileH * n; 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.cpp1173 int tileH = SkScalarCeilToInt(fWindow->height() * fTileScale.height()); in drawSlide() local
1174 sk_sp<SkSurface> tileSurface = make_surface(tileW, tileH); in drawSlide()
1177 for (int y = 0; y < fWindow->height(); y += tileH) { in drawSlide()
1195 for (int y = 0; y < fWindow->height(); y += tileH) { in drawSlide()
1197 slideCanvas->drawRect(SkRect::MakeXYWH(x, y, tileW, tileH), border); in drawSlide()
/external/skia/tools/viewer/
DViewer.cpp1234 int tileH = SkScalarCeilToInt(fWindow->height() * fTileScale.height()); in drawSlide() local
1235 sk_sp<SkSurface> tileSurface = make_surface(tileW, tileH); in drawSlide()
1238 for (int y = 0; y < fWindow->height(); y += tileH) { in drawSlide()
1256 for (int y = 0; y < fWindow->height(); y += tileH) { in drawSlide()
1258 slideCanvas->drawRect(SkRect::MakeXYWH(x, y, tileW, tileH), border); in drawSlide()