Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/text/
DGrAtlasManager.cpp44 fAtlases[i] = nullptr; in freeAll()
96 if (fAtlases[i]) { in postFlush()
97 fAtlases[i]->compact(startTokenForNextFlush, isRadicals); in postFlush()
164 if (fAtlases[i]) { in dump()
165 const sk_sp<GrTextureProxy>* proxies = fAtlases[i]->getProxies(); in dump()
166 for (uint32_t pageIdx = 0; pageIdx < fAtlases[i]->numActivePages(); ++pageIdx) { in dump()
187 fAtlases[i] = nullptr; in setAtlasSizesToMinimum_ForTesting()
196 if (fAtlases[index] == nullptr) { in initAtlas()
211 fAtlases[index] = GrDrawOpAtlas::Make( in initAtlas()
216 if (!fAtlases[index]) { in initAtlas()
DGrAtlasManager.h107 if (fAtlases[i]) { in preFlush()
108 fAtlases[i]->instantiate(onFlushResourceProvider); in preFlush()
139 SkASSERT(fAtlases[atlasIndex]); in getAtlas()
140 return fAtlases[atlasIndex].get(); in getAtlas()
144 std::unique_ptr<GrDrawOpAtlas> fAtlases[kMaskFormatCount]; variable
/third_party/skia/src/gpu/text/
DGrAtlasManager.h104 if (fAtlases[i]) { in preFlush()
105 fAtlases[i]->instantiate(onFlushRP); in preFlush()
130 if (fAtlases[i]) { in postFlush()
132 fAtlases[i]->setRadicalsCompactFlag(isRadicals); in postFlush()
134 fAtlases[i]->compact(startTokenForNextFlush); in postFlush()
173 SkASSERT(fAtlases[atlasIndex]); in getAtlas()
174 return fAtlases[atlasIndex].get(); in getAtlas()
178 std::unique_ptr<GrDrawOpAtlas> fAtlases[kMaskFormatCount]; variable
DGrAtlasManager.cpp28 fAtlases[i] = nullptr; in freeAll()
271 if (fAtlases[i]) { in dump()
272 const GrSurfaceProxyView* views = fAtlases[i]->getViews(); in dump()
273 for (uint32_t pageIdx = 0; pageIdx < fAtlases[i]->numActivePages(); ++pageIdx) { in dump()
294 fAtlases[i] = nullptr; in setAtlasDimensionsToMinimum_ForTesting()
303 if (fAtlases[index] == nullptr) { in initAtlas()
318 fAtlases[index] = GrDrawOpAtlas::Make(fProxyProvider, backendFormat, grColorType, in initAtlas()
326 if (!fAtlases[index]) { in initAtlas()
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCAtlas.h138 bool empty() const { return fAtlases.empty(); } in empty()
139 const GrCCAtlas& front() const { SkASSERT(!this->empty()); return fAtlases.front(); } in front()
140 GrCCAtlas& front() { SkASSERT(!this->empty()); return fAtlases.front(); } in front()
141 GrCCAtlas& current() { SkASSERT(!this->empty()); return fAtlases.back(); } in current()
145 Iter(GrCCAtlasStack& stack) : fImpl(&stack.fAtlases) {} in Iter()
165 GrSTAllocator<4, GrCCAtlas> fAtlases; variable
DGrCCAtlas.cpp260 if (fAtlases.empty() || !fAtlases.back().addRect(devIBounds, devToAtlasOffset)) { in addRect()
262 retiredAtlas = !fAtlases.empty() ? &fAtlases.back() : nullptr; in addRect()
263 fAtlases.emplace_back(fCoverageType, fSpecs, *fCaps); in addRect()
266 SkAssertResult(fAtlases.back().addRect(devIBounds, devToAtlasOffset)); in addRect()
/third_party/flutter/skia/tests/
DDrawOpAtlasTest.cpp63 if (fAtlases[i]) { in setMaxPages_TestingOnly()
64 fAtlases[i]->setMaxPages_TestingOnly(maxPages); in setMaxPages_TestingOnly()
/third_party/skia/tests/
DDrawOpAtlasTest.cpp62 if (fAtlases[i]) { in setMaxPages_TestingOnly()
63 fAtlases[i]->setMaxPages_TestingOnly(maxPages); in setMaxPages_TestingOnly()