Home
last modified time | relevance | path

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

/external/skqp/bench/
DGameBench.cpp226 static const int kAtlasSpacer = 2; member in GameBench
228 (kNumAtlasedX+1) * kAtlasSpacer;
230 (kNumAtlasedY+1) * kAtlasSpacer;
278 … fAtlasRects[x][y] = SkIRect::MakeXYWH(kAtlasSpacer + x * (kAtlasCellWidth + kAtlasSpacer), in makeAtlas()
279kAtlasSpacer + y * (kAtlasCellHeight + kAtlasSpacer), in makeAtlas()
288 int colorY = y / (kAtlasCellHeight + kAtlasSpacer); in makeAtlas()
289 bool inColorY = (y % (kAtlasCellHeight + kAtlasSpacer)) >= kAtlasSpacer; in makeAtlas()
294 int colorX = x / (kAtlasCellWidth + kAtlasSpacer); in makeAtlas()
295 bool inColorX = (x % (kAtlasCellWidth + kAtlasSpacer)) >= kAtlasSpacer; in makeAtlas()
/external/skia/bench/
DGameBench.cpp225 static const int kAtlasSpacer = 2; member in GameBench
227 (kNumAtlasedX+1) * kAtlasSpacer;
229 (kNumAtlasedY+1) * kAtlasSpacer;
278 … fAtlasRects[x][y] = SkIRect::MakeXYWH(kAtlasSpacer + x * (kAtlasCellWidth + kAtlasSpacer), in makeAtlas()
279kAtlasSpacer + y * (kAtlasCellHeight + kAtlasSpacer), in makeAtlas()
289 int colorY = y / (kAtlasCellHeight + kAtlasSpacer); in makeAtlas()
290 bool inColorY = (y % (kAtlasCellHeight + kAtlasSpacer)) >= kAtlasSpacer; in makeAtlas()
295 int colorX = x / (kAtlasCellWidth + kAtlasSpacer); in makeAtlas()
296 bool inColorX = (x % (kAtlasCellWidth + kAtlasSpacer)) >= kAtlasSpacer; in makeAtlas()