Lines Matching refs:kM
93 make_image_tiles(kTileW, kTileH, kM, kN, kColors, fSet); in onOnceBeforeDraw()
97 SkScalar d = SkVector{kM * kTileW, kN * kTileH}.length(); in onDraw()
104 SkRect::MakeWH(kM * kTileW, kN * kTileH).toQuad(src); in onDraw()
106 {kM * kTileW + 10.f, -5.f}, in onDraw()
107 {kM * kTileW - 28.f, kN * kTileH + 40.f}, in onDraw()
117 dst[1] = {-.25 * kM * kTileW, 0}; in onDraw()
118 dst[0] = {5.f / 4.f * kM * kTileW, 0}; in onDraw()
119 dst[3] = {2.f / 3.f * kM * kTileW, 1 / 2.f * kN * kTileH}; in onDraw()
120 dst[2] = {1.f / 3.f * kM * kTileW, 1 / 2.f * kN * kTileH - 0.1f * kTileH}; in onDraw()
132 for (int x = 1; x < kM; ++x) { in onDraw()
140 SkPoint pts[] = {{0, y * kTileH}, {kTileW * kM, y * kTileH}}; in onDraw()
148 canvas->experimental_DrawImageSetV1(fSet, kM * kN, fm, SkBlendMode::kSrcOver); in onDraw()
166 static constexpr int kM = 4; member in skiagm::DrawImageSetGM
170 SkCanvas::ImageSetEntry fSet[kM * kN];
182 make_image_tiles(kTileW, kTileH, kM, kN, kColors, fSet); in onOnceBeforeDraw()
187 static constexpr SkScalar kW = kM * kTileW; in onDraw()
214 canvas->experimental_DrawImageSetV1(fSet, kM * kN, kLow_SkFilterQuality, in onDraw()
225 SkCanvas::ImageSetEntry scaledSet[kM * kN]; in onDraw()
226 std::copy_n(fSet, kM * kN, scaledSet); in onDraw()
227 for (int i = 0; i < kM * kN; ++i) { in onDraw()
237 canvas->experimental_DrawImageSetV1(scaledSet, kM * kN, kLow_SkFilterQuality, in onDraw()
247 static constexpr int kM = 2; member in skiagm::DrawImageSetRectToRectGM
251 SkCanvas::ImageSetEntry fSet[kM * kN];