Home
last modified time | relevance | path

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

/third_party/skia/gm/
H A Ddrawatlascolor.cpp32 static sk_sp<SkImage> make_atlas(SkCanvas* caller, int atlasSize) { in make_atlas() argument
33 const int kBlockSize = atlasSize/2; in make_atlas()
35 SkImageInfo info = SkImageInfo::MakeN32Premul(atlasSize, atlasSize); in make_atlas()
/third_party/skia/samplecode/
H A DSampleAtlas.cpp44 static sk_sp<SkImage> make_atlas(int atlasSize, int cellSize) { in make_atlas() argument
45 SkImageInfo info = SkImageInfo::MakeN32Premul(atlasSize, atlasSize); in make_atlas()
57 for (int y = 0; y < atlasSize; y += cellSize) { in make_atlas()
58 for (int x = 0; x < atlasSize; x += cellSize) { in make_atlas()

Completed in 2 milliseconds