/third_party/flutter/skia/bench/ |
D | SKPBench.cpp | 56 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()
|
/third_party/skia/bench/ |
D | SKPBench.cpp | 53 int tileW = gpu ? FLAGS_GPUbenchTileW : FLAGS_CPUbenchTileW, in onPerCanvasPreDraw() local 56 tileW = std::min(tileW, bounds.width()); in onPerCanvasPreDraw() 59 int xTiles = SkScalarCeilToInt(bounds.width() / SkIntToScalar(tileW)); in onPerCanvasPreDraw() 65 SkImageInfo ii = canvas->imageInfo().makeWH(tileW, tileH); in onPerCanvasPreDraw() 68 for (int x = bounds.fLeft; x < bounds.fRight; x += tileW) { in onPerCanvasPreDraw() 69 const SkIRect tileRect = SkIRect::MakeXYWH(x, y, tileW, tileH); in onPerCanvasPreDraw()
|
/third_party/flutter/skia/gm/ |
D | drawimageset.cpp | 35 static void make_image_tiles(int tileW, int tileH, int m, int n, const SkColor colors[4], in make_image_tiles() argument 37 const int w = tileW * m; 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/ |
D | drawimageset.cpp | 35 static void make_image_tiles(int tileW, int tileH, int m, int n, const SkColor colors[4], in make_image_tiles() argument 37 const int w = tileW * m; 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/ |
D | MotionTileEffect.cpp | 73 const auto tileW = SkTPin(fTileW, 0.0f, 100.0f) * 0.01f * fLayerSize.width(), in onRevalidate() local 75 const auto tile_size = SkSize::Make(std::max(tileW, 1.0f), in onRevalidate()
|
/third_party/flutter/skia/modules/skottie/src/effects/ |
D | MotionTileEffect.cpp | 71 const auto tileW = SkTPin(fTileW, 0.0f, 100.0f) * 0.01f * fLayerSize.width(), in onRevalidate() local 73 const auto tile_size = SkSize::Make(std::max(tileW, 1.0f), in onRevalidate()
|
/third_party/flutter/skia/tools/viewer/ |
D | Viewer.cpp | 1283 int tileW = SkScalarCeilToInt(fWindow->width() * fTileScale.width()); in drawSlide() local 1285 sk_sp<SkSurface> tileSurface = make_surface(tileW, tileH); in drawSlide() 1289 for (int x = 0; x < fWindow->width(); x += tileW) { in drawSlide() 1307 for (int x = 0; x < fWindow->width(); x += tileW) { in drawSlide() 1308 slideCanvas->drawRect(SkRect::MakeXYWH(x, y, tileW, tileH), border); in drawSlide()
|
/third_party/skia/tools/viewer/ |
D | Viewer.cpp | 1545 int tileW = SkScalarCeilToInt(fWindow->width() * fTileScale.width()); in drawSlide() local 1548 for (int x = 0; x < fWindow->width(); x += tileW) { in drawSlide() 1550 slideCanvas->clipRect(SkRect::MakeXYWH(x, y, tileW, tileH)); in drawSlide() 1561 for (int x = 0; x < fWindow->width(); x += tileW) { in drawSlide() 1562 slideCanvas->drawRect(SkRect::MakeXYWH(x, y, tileW, tileH), border); in drawSlide()
|
/third_party/skia/modules/canvaskit/ |
D | canvaskit_bindings.cpp | 1660 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/ |
D | index.d.ts | 3385 tileW: number, tileH: number): Shader; 3457 tileW: number, tileH: number): Shader;
|