Home
last modified time | relevance | path

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

/external/skia/bench/
DSKPBench.cpp56 tileH = gpu ? FLAGS_GPUbenchTileH : FLAGS_CPUbenchTileH; in onPerCanvasPreDraw() local
59 tileH = std::min(tileH, bounds.height()); in onPerCanvasPreDraw()
62 int yTiles = SkScalarCeilToInt(bounds.height() / SkIntToScalar(tileH)); in onPerCanvasPreDraw()
67 SkImageInfo ii = canvas->imageInfo().makeWH(tileW, tileH); in onPerCanvasPreDraw()
69 for (int y = bounds.fTop; y < bounds.fBottom; y += tileH) { in onPerCanvasPreDraw()
71 const SkIRect tileRect = SkIRect::MakeXYWH(x, y, tileW, tileH); in onPerCanvasPreDraw()
/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/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.cpp36 static void make_image_tiles(int tileW, int tileH, int m, int n, const SkColor colors[4], in make_image_tiles() argument
39 const int h = tileH * n; in make_image_tiles()
76 SkIRect subset = SkIRect::MakeXYWH(x * tileW - 1, y * tileH - 1, tileW + 2, tileH + 2); in make_image_tiles()
96 SkRect::MakeXYWH(x == 0 ? 0 : 1, y == 0 ? 0 : 1, tileW, tileH); in make_image_tiles()
97 set[y * m + x].fDstRect = SkRect::MakeXYWH(x * tileW, y * tileH, tileW, tileH); in make_image_tiles()
/external/skia/modules/skottie/src/effects/
DMotionTileEffect.cpp73 tileH = SkTPin(fTileH, 0.0f, 100.0f) * 0.01f * fLayerSize.height(); in onRevalidate() local
75 std::max(tileH, 1.0f)); in onRevalidate()
/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.cpp1338 int tileH = SkScalarCeilToInt(fWindow->height() * fTileScale.height()); in drawSlide() local
1339 for (int y = 0; y < fWindow->height(); y += tileH) { in drawSlide()
1342 slideCanvas->clipRect(SkRect::MakeXYWH(x, y, tileW, tileH)); in drawSlide()
1352 for (int y = 0; y < fWindow->height(); y += tileH) { in drawSlide()
1354 slideCanvas->drawRect(SkRect::MakeXYWH(x, y, tileW, tileH), border); in drawSlide()