Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.cpp177 const SkISize& atlasSize = dfa8gp.atlasSize(); in setData() local
178 SkASSERT(SkIsPow2(atlasSize.fWidth) && SkIsPow2(atlasSize.fHeight)); in setData()
180 if (fAtlasSize != atlasSize) { in setData()
181 pdman.set2f(fAtlasSizeInvUniform, 1.0f / atlasSize.fWidth, 1.0f / atlasSize.fHeight); in setData()
182 fAtlasSize = atlasSize; in setData()
475 const SkISize& atlasSize = dfpgp.atlasSize(); in setData() local
476 SkASSERT(SkIsPow2(atlasSize.fWidth) && SkIsPow2(atlasSize.fHeight)); in setData()
477 if (fAtlasSize != atlasSize) { in setData()
478 pdman.set2f(fAtlasSizeInvUniform, 1.0f / atlasSize.fWidth, 1.0f / atlasSize.fHeight); in setData()
479 fAtlasSize = atlasSize; in setData()
[all …]
DGrBitmapTextGeoProc.cpp88 const SkISize& atlasSize = btgp.atlasSize(); in setData() local
89 SkASSERT(SkIsPow2(atlasSize.fWidth) && SkIsPow2(atlasSize.fHeight)); in setData()
91 if (fAtlasSize != atlasSize) { in setData()
92 pdman.set2f(fAtlasSizeInvUniform, 1.0f / atlasSize.fWidth, 1.0f / atlasSize.fHeight); in setData()
93 fAtlasSize = atlasSize; in setData()
DGrDistanceFieldGeoProc.h95 const SkISize& atlasSize() const { return fAtlasSize; } in atlasSize() function
166 const SkISize& atlasSize() const { return fAtlasSize; } in atlasSize() function
248 const SkISize& atlasSize() const { return fAtlasSize; } in atlasSize() function
DGrBitmapTextGeoProc.h53 const SkISize& atlasSize() const { return fAtlasSize; } in atlasSize() function
/third_party/flutter/skia/gm/
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/gm/
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/flutter/skia/samplecode/
DSampleAtlas.cpp41 static sk_sp<SkImage> make_atlas(int atlasSize, int cellSize) { in make_atlas() argument
42 SkImageInfo info = SkImageInfo::MakeN32Premul(atlasSize, atlasSize); in make_atlas()
54 for (int y = 0; y < atlasSize; y += cellSize) { in make_atlas()
55 for (int x = 0; x < atlasSize; x += cellSize) { in make_atlas()
/third_party/skia/samplecode/
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()