Home
last modified time | relevance | path

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

/external/skqp/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()
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 …]
DGrBitmapTextGeoProc.cpp89 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()
DGrDistanceFieldGeoProc.h91 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
DGrBitmapTextGeoProc.h49 const SkISize& atlasSize() const { return fAtlasSize; } in atlasSize() function
/external/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()
/external/skqp/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/skqp/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()
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/
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()
/external/skqp/src/gpu/ccpr/
DGrCCPathProcessor.cpp105 pdman.set2f(fAtlasAdjustUniform, 1.0f / proc.atlasSize().fWidth, in setData()
106 1.0f / proc.atlasSize().fHeight); in setData()
DGrCCPathProcessor.h76 const SkISize& atlasSize() const { return fAtlasSize; } in atlasSize() function