Home
last modified time | relevance | path

Searched refs:kGrid (Results 1 - 2 of 2) sorted by relevance

/third_party/skia/samplecode/
H A DSampleShip.cpp19 static const int kGrid = 100; variable
66 for (int x = 0; x < kGrid; x++) { in DrawShipView()
67 for (int y = 0; y < kGrid; y++) { in DrawShipView()
68 float xPos = (x / (kGrid - 1.0f)) * kWidth; in DrawShipView()
69 float yPos = (y / (kGrid - 1.0f)) * kWidth; in DrawShipView()
105 for (int i = 0; i < kGrid*kGrid+1; ++i) {
121 fProc(canvas, fAtlas.get(), fXform, fTex, nullptr, kGrid*kGrid+1, nullptr,
137 SkRSXform fXform[kGrid*kGri
[all...]
/third_party/skia/bench/
H A DBulkRectBench.cpp35 kGrid // Small, non-overlapping rectangles in a grid covering the output surface
279 ADD_BENCH_FAMILY(1000, RectangleLayout::kGrid)

Completed in 2 milliseconds