Home
last modified time | relevance | path

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

/external/skia/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/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()