Searched refs:atlasSize (Results 1 – 2 of 2) sorted by relevance
19 static sk_sp<SkImage> make_atlas(SkCanvas* caller, int atlasSize) { in make_atlas() argument20 const int kBlockSize = atlasSize/2; in make_atlas()22 SkImageInfo info = SkImageInfo::MakeN32Premul(atlasSize, atlasSize); in make_atlas()
42 static sk_sp<SkImage> make_atlas(int atlasSize, int cellSize) { in make_atlas() argument43 SkImageInfo info = SkImageInfo::MakeN32Premul(atlasSize, atlasSize); in make_atlas()56 for (int y = 0; y < atlasSize; y += cellSize) { in make_atlas()57 for (int x = 0; x < atlasSize; x += cellSize) { in make_atlas()