Home
last modified time | relevance | path

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

/external/skqp/bench/
DGameBench.cpp98 width = kAtlasCellWidth; in onDraw()
222 static const int kAtlasCellWidth = 48; member in GameBench
227 static const int kTotAtlasWidth = kNumAtlasedX * kAtlasCellWidth +
278 … fAtlasRects[x][y] = SkIRect::MakeXYWH(kAtlasSpacer + x * (kAtlasCellWidth + kAtlasSpacer), in makeAtlas()
280 kAtlasCellWidth, in makeAtlas()
294 int colorX = x / (kAtlasCellWidth + kAtlasSpacer); in makeAtlas()
295 bool inColorX = (x % (kAtlasCellWidth + kAtlasSpacer)) >= kAtlasSpacer; in makeAtlas()
/external/skia/bench/
DGameBench.cpp100 width = kAtlasCellWidth; in onDraw()
221 static const int kAtlasCellWidth = 48; member in GameBench
226 static const int kTotAtlasWidth = kNumAtlasedX * kAtlasCellWidth +
278 … fAtlasRects[x][y] = SkIRect::MakeXYWH(kAtlasSpacer + x * (kAtlasCellWidth + kAtlasSpacer), in makeAtlas()
280 kAtlasCellWidth, in makeAtlas()
295 int colorX = x / (kAtlasCellWidth + kAtlasSpacer); in makeAtlas()
296 bool inColorX = (x % (kAtlasCellWidth + kAtlasSpacer)) >= kAtlasSpacer; in makeAtlas()