Searched refs:kNumAtlasedX (Results 1 – 1 of 1) sorted by relevance
193 const int curCell = i % (kNumAtlasedX * kNumAtlasedY); in onDraw()194 SkIRect src = fAtlasRects[curCell % (kNumAtlasedX)][curCell / (kNumAtlasedX)]; in onDraw()222 static const int kNumAtlasedX = 5; member in GameBench225 static const int kTotAtlasWidth = kNumAtlasedX * kAtlasCellWidth +226 (kNumAtlasedX+1) * kAtlasSpacer;245 SkIRect fAtlasRects[kNumAtlasedX][kNumAtlasedY];272 SkColor colors[kNumAtlasedX][kNumAtlasedY]; in makeAtlas()275 for (int x = 0; x < kNumAtlasedX; ++x) { in makeAtlas()298 SkASSERT(colorX < kNumAtlasedX && colorY < kNumAtlasedY); in makeAtlas()