Home
last modified time | relevance | path

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

/external/skia/bench/
DGameBench.cpp195 const int curCell = i % (kNumAtlasedX * kNumAtlasedY); in onDraw()
225 static const int kNumAtlasedY = 5; member in GameBench
229 static const int kTotAtlasHeight = kNumAtlasedY * kAtlasCellHeight +
230 (kNumAtlasedY+1) * kAtlasSpacer;
247 SkIRect fAtlasRects[kNumAtlasedX][kNumAtlasedY];
273 SkColor colors[kNumAtlasedX][kNumAtlasedY]; in makeAtlas()
275 for (int y = 0; y < kNumAtlasedY; ++y) { in makeAtlas()
298 SkASSERT(colorX < kNumAtlasedX && colorY < kNumAtlasedY); in makeAtlas()
/external/skqp/bench/
DGameBench.cpp195 const int curCell = i % (kNumAtlasedX * kNumAtlasedY); in onDraw()
225 static const int kNumAtlasedY = 5; member in GameBench
229 static const int kTotAtlasHeight = kNumAtlasedY * kAtlasCellHeight +
230 (kNumAtlasedY+1) * kAtlasSpacer;
247 SkIRect fAtlasRects[kNumAtlasedX][kNumAtlasedY];
273 SkColor colors[kNumAtlasedX][kNumAtlasedY]; in makeAtlas()
275 for (int y = 0; y < kNumAtlasedY; ++y) { in makeAtlas()
298 SkASSERT(colorX < kNumAtlasedX && colorY < kNumAtlasedY); in makeAtlas()