Searched refs:atlasSize (Results 1 – 10 of 10) sorted by relevance
/external/skqp/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() 474 const SkISize& atlasSize = dfpgp.atlasSize(); in setData() local 475 SkASSERT(SkIsPow2(atlasSize.fWidth) && SkIsPow2(atlasSize.fHeight)); in setData() 476 if (fAtlasSize != atlasSize) { in setData() 477 pdman.set2f(fAtlasSizeInvUniform, 1.0f / atlasSize.fWidth, 1.0f / atlasSize.fHeight); in setData() 478 fAtlasSize = atlasSize; in setData() [all …]
|
D | GrBitmapTextGeoProc.cpp | 89 const SkISize& atlasSize = btgp.atlasSize(); in setData() local 90 SkASSERT(SkIsPow2(atlasSize.fWidth) && SkIsPow2(atlasSize.fHeight)); in setData() 92 if (fAtlasSize != atlasSize) { in setData() 93 pdman.set2f(fAtlasSizeInvUniform, 1.0f / atlasSize.fWidth, 1.0f / atlasSize.fHeight); in setData() 94 fAtlasSize = atlasSize; in setData()
|
D | GrDistanceFieldGeoProc.h | 91 const SkISize& atlasSize() const { return fAtlasSize; } in atlasSize() function 158 const SkISize& atlasSize() const { return fAtlasSize; } in atlasSize() function 236 const SkISize& atlasSize() const { return fAtlasSize; } in atlasSize() function
|
D | GrBitmapTextGeoProc.h | 49 const SkISize& atlasSize() const { return fAtlasSize; } in atlasSize() function
|
/external/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()
|
/external/skqp/gm/ |
D | drawatlascolor.cpp | 19 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/skqp/samplecode/ |
D | SampleAtlas.cpp | 42 static sk_sp<SkImage> make_atlas(int atlasSize, int cellSize) { in make_atlas() argument 43 SkImageInfo info = SkImageInfo::MakeN32Premul(atlasSize, atlasSize); in make_atlas() 55 for (int y = 0; y < atlasSize; y += cellSize) { in make_atlas() 56 for (int x = 0; x < atlasSize; x += cellSize) { in make_atlas()
|
/external/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()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCPathProcessor.cpp | 105 pdman.set2f(fAtlasAdjustUniform, 1.0f / proc.atlasSize().fWidth, in setData() 106 1.0f / proc.atlasSize().fHeight); in setData()
|
D | GrCCPathProcessor.h | 76 const SkISize& atlasSize() const { return fAtlasSize; } in atlasSize() function
|