Searched refs:atlasSize (Results 1 – 8 of 8) sorted by relevance
/third_party/flutter/skia/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.cpp | 177 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 …]
|
D | GrBitmapTextGeoProc.cpp | 88 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()
|
D | GrDistanceFieldGeoProc.h | 95 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
|
D | GrBitmapTextGeoProc.h | 53 const SkISize& atlasSize() const { return fAtlasSize; } in atlasSize() function
|
/third_party/flutter/skia/gm/ |
D | drawatlascolor.cpp | 32 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/ |
D | drawatlascolor.cpp | 32 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/ |
D | SampleAtlas.cpp | 41 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/ |
D | SampleAtlas.cpp | 44 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()
|