Home
last modified time | relevance | path

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

/external/skia/bench/
DGameBench.cpp195 const int curCell = i % (kNumAtlasedX * kNumAtlasedY); in onDraw()
196 SkIRect src = fAtlasRects[curCell % (kNumAtlasedX)][curCell / (kNumAtlasedX)]; in onDraw()
224 static const int kNumAtlasedX = 5; member in GameBench
227 static const int kTotAtlasWidth = kNumAtlasedX * kAtlasCellWidth +
228 (kNumAtlasedX+1) * kAtlasSpacer;
247 SkIRect fAtlasRects[kNumAtlasedX][kNumAtlasedY];
273 SkColor colors[kNumAtlasedX][kNumAtlasedY]; in makeAtlas()
276 for (int x = 0; x < kNumAtlasedX; ++x) { in makeAtlas()
298 SkASSERT(colorX < kNumAtlasedX && colorY < kNumAtlasedY); in makeAtlas()
/external/skqp/bench/
DGameBench.cpp195 const int curCell = i % (kNumAtlasedX * kNumAtlasedY); in onDraw()
196 SkIRect src = fAtlasRects[curCell % (kNumAtlasedX)][curCell / (kNumAtlasedX)]; in onDraw()
224 static const int kNumAtlasedX = 5; member in GameBench
227 static const int kTotAtlasWidth = kNumAtlasedX * kAtlasCellWidth +
228 (kNumAtlasedX+1) * kAtlasSpacer;
247 SkIRect fAtlasRects[kNumAtlasedX][kNumAtlasedY];
273 SkColor colors[kNumAtlasedX][kNumAtlasedY]; in makeAtlas()
276 for (int x = 0; x < kNumAtlasedX; ++x) { in makeAtlas()
298 SkASSERT(colorX < kNumAtlasedX && colorY < kNumAtlasedY); in makeAtlas()