Home
last modified time | relevance | path

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

/external/skia/gm/
Ddrawatlascolor.cpp19 static sk_sp<SkImage> make_atlas(SkCanvas* caller, int atlasSize) { in make_atlas() argument
20 const int kBlockSize = atlasSize/2; in make_atlas()
22 SkImageInfo info = SkImageInfo::MakeN32Premul(atlasSize, atlasSize); in make_atlas()
/external/skia/samplecode/
DSampleAtlas.cpp42 static sk_sp<SkImage> make_atlas(int atlasSize, int cellSize) { in make_atlas() argument
43 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()