Home
last modified time | relevance | path

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

/third_party/flutter/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()
/third_party/skia/bench/
DSKPBench.cpp54 tileH = gpu ? FLAGS_GPUbenchTileH : FLAGS_CPUbenchTileH; in onPerCanvasPreDraw() local
57 tileH = std::min(tileH, bounds.height()); in onPerCanvasPreDraw()
60 int yTiles = SkScalarCeilToInt(bounds.height() / SkIntToScalar(tileH)); in onPerCanvasPreDraw()
65 SkImageInfo ii = canvas->imageInfo().makeWH(tileW, tileH); in onPerCanvasPreDraw()
67 for (int y = bounds.fTop; y < bounds.fBottom; y += tileH) { in onPerCanvasPreDraw()
69 const SkIRect tileRect = SkIRect::MakeXYWH(x, y, tileW, tileH); in onPerCanvasPreDraw()
/third_party/flutter/skia/gm/
Ddrawimageset.cpp35 static void make_image_tiles(int tileW, int tileH, int m, int n, const SkColor colors[4], in make_image_tiles() argument
38 const int h = tileH * n; in make_image_tiles()
75 SkIRect subset = SkIRect::MakeXYWH(x * tileW - 1, y * tileH - 1, tileW + 2, tileH + 2); in make_image_tiles()
95 SkRect::MakeXYWH(x == 0 ? 0 : 1, y == 0 ? 0 : 1, tileW, tileH); in make_image_tiles()
96 set[y * m + x].fDstRect = SkRect::MakeXYWH(x * tileW, y * tileH, tileW, tileH); in make_image_tiles()
/third_party/skia/gm/
Ddrawimageset.cpp35 static void make_image_tiles(int tileW, int tileH, int m, int n, const SkColor colors[4], in make_image_tiles() argument
38 const int h = tileH * n; in make_image_tiles()
75 SkIRect subset = SkIRect::MakeXYWH(x * tileW - 1, y * tileH - 1, tileW + 2, tileH + 2); in make_image_tiles()
95 SkRect::MakeXYWH(x == 0 ? 0 : 1, y == 0 ? 0 : 1, tileW, tileH); in make_image_tiles()
96 set[y * m + x].fDstRect = SkRect::MakeXYWH(x * tileW, y * tileH, tileW, tileH); in make_image_tiles()
/third_party/skia/modules/skottie/src/effects/
DMotionTileEffect.cpp74 tileH = SkTPin(fTileH, 0.0f, 100.0f) * 0.01f * fLayerSize.height(); in onRevalidate() local
76 std::max(tileH, 1.0f)); in onRevalidate()
/third_party/flutter/skia/modules/skottie/src/effects/
DMotionTileEffect.cpp72 tileH = SkTPin(fTileH, 0.0f, 100.0f) * 0.01f * fLayerSize.height(); in onRevalidate() local
74 std::max(tileH, 1.0f)); in onRevalidate()
/third_party/flutter/skia/tools/viewer/
DViewer.cpp1284 int tileH = SkScalarCeilToInt(fWindow->height() * fTileScale.height()); in drawSlide() local
1285 sk_sp<SkSurface> tileSurface = make_surface(tileW, tileH); in drawSlide()
1288 for (int y = 0; y < fWindow->height(); y += tileH) { in drawSlide()
1306 for (int y = 0; y < fWindow->height(); y += tileH) { in drawSlide()
1308 slideCanvas->drawRect(SkRect::MakeXYWH(x, y, tileW, tileH), border); in drawSlide()
/third_party/skia/tools/viewer/
DViewer.cpp1546 int tileH = SkScalarCeilToInt(fWindow->height() * fTileScale.height()); in drawSlide() local
1547 for (int y = 0; y < fWindow->height(); y += tileH) { in drawSlide()
1550 slideCanvas->clipRect(SkRect::MakeXYWH(x, y, tileW, tileH)); in drawSlide()
1560 for (int y = 0; y < fWindow->height(); y += tileH) { in drawSlide()
1562 slideCanvas->drawRect(SkRect::MakeXYWH(x, y, tileW, tileH), border); in drawSlide()
/third_party/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp1660 int tileW, int tileH)->sk_sp<SkShader> { in EMSCRIPTEN_BINDINGS() argument
1662 SkISize tileSize = SkISize::Make(tileW, tileH); in EMSCRIPTEN_BINDINGS()
1740 int tileW, int tileH)->sk_sp<SkShader> { in EMSCRIPTEN_BINDINGS() argument
1742 SkISize tileSize = SkISize::Make(tileW, tileH); in EMSCRIPTEN_BINDINGS()
/third_party/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts3385 tileW: number, tileH: number): Shader;
3457 tileW: number, tileH: number): Shader;