Searched refs:fAtlases (Results 1 – 8 of 8) sorted by relevance
88 if (fAtlases[i]) { in preFlush()89 fAtlases[i]->instantiate(onFlushRP); in preFlush()96 if (fAtlases[i]) { in postFlush()97 fAtlases[i]->compact(startTokenForNextFlush); in postFlush()136 SkASSERT(fAtlases[atlasIndex]); in getAtlas()137 return fAtlases[atlasIndex].get(); in getAtlas()141 std::unique_ptr<GrDrawOpAtlas> fAtlases[kMaskFormatCount]; variable
28 fAtlases[i] = nullptr; in freeAll()272 if (fAtlases[i]) { in dump()273 const GrSurfaceProxyView* views = fAtlases[i]->getViews(); in dump()274 for (uint32_t pageIdx = 0; pageIdx < fAtlases[i]->numActivePages(); ++pageIdx) { in dump()295 fAtlases[i] = nullptr; in setAtlasDimensionsToMinimum_ForTesting()304 if (fAtlases[index] == nullptr) { in initAtlas()312 fAtlases[index] = GrDrawOpAtlas::Make(fProxyProvider, format, grColorType, in initAtlas()316 if (!fAtlases[index]) { in initAtlas()
93 if (fAtlases[i]) { in preFlush()94 fAtlases[i]->instantiate(onFlushResourceProvider); in preFlush()102 if (fAtlases[i]) { in postFlush()103 fAtlases[i]->compact(startTokenForNextFlush); in postFlush()140 SkASSERT(fAtlases[atlasIndex]); in getAtlas()141 return fAtlases[atlasIndex].get(); in getAtlas()145 std::unique_ptr<GrDrawOpAtlas> fAtlases[kMaskFormatCount]; variable
55 fAtlases[i] = nullptr; in freeAll()146 if (fAtlases[i]) { in dump()147 const sk_sp<GrTextureProxy>* proxies = fAtlases[i]->getProxies(); in dump()148 for (uint32_t pageIdx = 0; pageIdx < fAtlases[i]->numActivePages(); ++pageIdx) { in dump()169 fAtlases[i] = nullptr; in setAtlasSizesToMinimum_ForTesting()178 if (fAtlases[index] == nullptr) { in initAtlas()186 fAtlases[index] = GrDrawOpAtlas::Make( in initAtlas()190 if (!fAtlases[index]) { in initAtlas()
115 bool empty() const { return fAtlases.empty(); } in empty()116 const GrCCAtlas& front() const { SkASSERT(!this->empty()); return fAtlases.front(); } in front()117 GrCCAtlas& front() { SkASSERT(!this->empty()); return fAtlases.front(); } in front()118 GrCCAtlas& current() { SkASSERT(!this->empty()); return fAtlases.back(); } in current()122 Iter(GrCCAtlasStack& stack) : fImpl(&stack.fAtlases) {} in Iter()142 GrSTAllocator<4, GrCCAtlas> fAtlases; variable
214 if (fAtlases.empty() || !fAtlases.back().addRect(devIBounds, devToAtlasOffset)) { in addRect()216 retiredAtlas = !fAtlases.empty() ? &fAtlases.back() : nullptr; in addRect()217 fAtlases.emplace_back(fCoverageType, fSpecs, *fCaps); in addRect()220 SkAssertResult(fAtlases.back().addRect(devIBounds, devToAtlasOffset)); in addRect()
63 if (fAtlases[i]) { in setMaxPages_TestingOnly()64 fAtlases[i]->setMaxPages_TestingOnly(maxPages); in setMaxPages_TestingOnly()
60 if (fAtlases[i]) { in setMaxPages_TestingOnly()61 fAtlases[i]->setMaxPages_TestingOnly(maxPages); in setMaxPages_TestingOnly()