Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleShip.cpp19 static const int kGrid = 100; variable
65 for (int x = 0; x < kGrid; x++) { in DrawShipView()
66 for (int y = 0; y < kGrid; y++) { in DrawShipView()
67 float xPos = (x / (kGrid - 1.0f)) * kWidth; in DrawShipView()
68 float yPos = (y / (kGrid - 1.0f)) * kWidth; in DrawShipView()
134 for (int i = 0; i < kGrid*kGrid+1; ++i) { in onDrawContent()
150 fProc(canvas, fAtlas.get(), fXform, fTex, nullptr, kGrid*kGrid+1, nullptr, &paint); in onDrawContent()
171 SkRSXform fXform[kGrid*kGrid+1];
172 SkRect fTex[kGrid*kGrid+1];
/external/skqp/samplecode/
DSampleShip.cpp19 static const int kGrid = 100; variable
65 for (int x = 0; x < kGrid; x++) { in DrawShipView()
66 for (int y = 0; y < kGrid; y++) { in DrawShipView()
67 float xPos = (x / (kGrid - 1.0f)) * kWidth; in DrawShipView()
68 float yPos = (y / (kGrid - 1.0f)) * kWidth; in DrawShipView()
134 for (int i = 0; i < kGrid*kGrid+1; ++i) { in onDrawContent()
150 fProc(canvas, fAtlas.get(), fXform, fTex, nullptr, kGrid*kGrid+1, nullptr, &paint); in onDrawContent()
171 SkRSXform fXform[kGrid*kGrid+1];
172 SkRect fTex[kGrid*kGrid+1];