Searched refs:kColCount (Results 1 – 3 of 3) sorted by relevance
/external/skqp/gm/ |
D | drawquadset.cpp | 21 static constexpr int kColCount = 3; variable 39 for (int j = 0; j < kColCount; ++j) { in draw_gradient_tiles() 58 if (j == kColCount - 1) { in draw_gradient_tiles() 73 : (i * kColCount + j) % 2 == 0 ? SK_ColorBLUE in draw_gradient_tiles() 89 for (int j = 0; j < kColCount; ++j) { in draw_color_tiles() 94 color = {(i + 1.f) / kRowCount, (j + 1.f) / kColCount, .4f, 1.f}; in draw_color_tiles() 109 if (j == kColCount - 1) { in draw_color_tiles() 128 for (int x = 1; x < kColCount; ++x) { in draw_tile_boundaries() 136 SkPoint pts[] = {{0, y * kTileHeight}, {kTileWidth * kColCount, y * kTileHeight}}; in draw_tile_boundaries() 177 SkRect::MakeWH(kColCount * kTileWidth, kRowCount * kTileHeight).toQuad(src); in onDraw() [all …]
|
/external/skia/gm/ |
D | drawquadset.cpp | 21 static constexpr int kColCount = 3; variable 41 for (int j = 0; j < kColCount; ++j) { in draw_gradient_tiles() 60 if (j == kColCount - 1) { in draw_gradient_tiles() 74 : (i * kColCount + j) % 2 == 0 ? SK_ColorBLUE in draw_gradient_tiles() 90 for (int j = 0; j < kColCount; ++j) { in draw_color_tiles() 95 color = {(i + 1.f) / kRowCount, (j + 1.f) / kColCount, .4f, 1.f}; in draw_color_tiles() 110 if (j == kColCount - 1) { in draw_color_tiles() 129 for (int x = 1; x < kColCount; ++x) { in draw_tile_boundaries() 137 SkPoint pts[] = {{0, y * kTileHeight}, {kTileWidth * kColCount, y * kTileHeight}}; in draw_tile_boundaries() 178 SkRect::MakeWH(kColCount * kTileWidth, kRowCount * kTileHeight).toQuad(src); in onDraw() [all …]
|
D | compositor_quads.cpp | 38 static constexpr int kColCount = 3; variable 131 for (int x = 1; x < kColCount; ++x) { in draw_tile_boundaries() 136 SkPoint pts[] = {{0, y * kTileHeight}, {kTileWidth * kColCount, y * kTileHeight}}; in draw_tile_boundaries() 150 SkRect border = SkRect::MakeWH(kTileWidth * kColCount, kTileHeight * kRowCount); in draw_clipping_boundaries() 228 for (int j = 0; j < kColCount; ++j) { in drawTiles() 234 edgeAA[1] = j == kColCount - 1; // Right in drawTiles() 441 static constexpr SkScalar kCellWidth = 1.3f * kColCount * kTileWidth; in onISize() 487 canvas->translate(kGap + kColCount * kTileWidth, 0.f); in onDraw() 536 SkRect::MakeWH(kColCount * kTileWidth, kRowCount * kTileHeight).toQuad(src); in configureMatrices() 538 {kColCount * kTileWidth + 10.f, 15.f}, in configureMatrices() [all …]
|