Home
last modified time | relevance | path

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

/third_party/flutter/skia/bench/
DGameBench.cpp193 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 GameBench
225 static const int kTotAtlasWidth = kNumAtlasedX * kAtlasCellWidth +
226 (kNumAtlasedX+1) * kAtlasSpacer;
245 SkIRect fAtlasRects[kNumAtlasedX][kNumAtlasedY];
271 SkColor colors[kNumAtlasedX][kNumAtlasedY]; in makeAtlas()
274 for (int x = 0; x < kNumAtlasedX; ++x) { in makeAtlas()
296 SkASSERT(colorX < kNumAtlasedX && colorY < kNumAtlasedY); in makeAtlas()
/third_party/skia/bench/
DGameBench.cpp193 const int curCell = i % (kNumAtlasedX * kNumAtlasedY); in onDraw()
195 fAtlasRects[curCell % (kNumAtlasedX)][curCell / (kNumAtlasedX)]); in onDraw()
223 static const int kNumAtlasedX = 5; member in GameBench
226 static const int kTotAtlasWidth = kNumAtlasedX * kAtlasCellWidth +
227 (kNumAtlasedX+1) * kAtlasSpacer;
245 SkIRect fAtlasRects[kNumAtlasedX][kNumAtlasedY];
273 SkColor colors[kNumAtlasedX][kNumAtlasedY]; in makeAtlas()
276 for (int x = 0; x < kNumAtlasedX; ++x) { in makeAtlas()
299 SkASSERT(colorX < kNumAtlasedX && colorY < kNumAtlasedY); in makeAtlas()