Searched refs:pageIdx (Results 1 – 6 of 6) sorted by relevance
/external/skia/src/gpu/ |
D | GrDrawOpAtlas.h | 148 uint32_t pageIdx = GetPageIndexFromID(id); in setLastUseToken() local 149 SkASSERT(pageIdx < fNumActivePages); in setLastUseToken() 150 Plot* plot = fPages[pageIdx].fPlotArray[plotIdx].get(); in setLastUseToken() 151 this->makeMRU(plot, pageIdx); in setLastUseToken() 180 int pageIdx = GrDrawOpAtlas::GetPageIndexFromID(id); in add() local 181 if (this->find(pageIdx, index)) { in add() 184 this->set(pageIdx, index); in add() 194 PlotData(int pageIdx, int plotIdx) : fPageIndex(pageIdx), fPlotIndex(plotIdx) {} in PlotData() 200 bool find(int pageIdx, int index) const { in find() argument 202 return (fPlotAlreadyUpdated[pageIdx] >> index) & 1; in find() [all …]
|
D | GrDrawOpAtlas.cpp | 214 int pageIdx = GetPageIndexFromID(plot->id()); in updatePlot() local 215 this->makeMRU(plot, pageIdx); in updatePlot() 224 GrTextureProxy* proxy = fProxies[pageIdx].get(); in updatePlot() 237 bool GrDrawOpAtlas::uploadToPage(unsigned int pageIdx, AtlasID* id, GrDeferredUploadTarget* target, in uploadToPage() argument 239 SkASSERT(fProxies[pageIdx] && fProxies[pageIdx]->isInstantiated()); in uploadToPage() 243 plotIter.init(fPages[pageIdx].fPlotList, PlotList::Iter::kHead_IterStart); in uploadToPage() 246 SkASSERT(GrBytesPerPixel(fProxies[pageIdx]->config()) == plot->bpp()); in uploadToPage() 275 for (unsigned int pageIdx = 0; pageIdx < fNumActivePages; ++pageIdx) { in addToAtlas() local 276 if (this->uploadToPage(pageIdx, id, target, width, height, image, loc)) { in addToAtlas() 287 for (unsigned int pageIdx = 0; pageIdx < fNumActivePages; ++pageIdx) { in addToAtlas() local [all …]
|
/external/skqp/src/gpu/ |
D | GrDrawOpAtlas.h | 148 uint32_t pageIdx = GetPageIndexFromID(id); in setLastUseToken() local 149 SkASSERT(pageIdx < fNumActivePages); in setLastUseToken() 150 Plot* plot = fPages[pageIdx].fPlotArray[plotIdx].get(); in setLastUseToken() 151 this->makeMRU(plot, pageIdx); in setLastUseToken() 180 int pageIdx = GrDrawOpAtlas::GetPageIndexFromID(id); in add() local 181 if (this->find(pageIdx, index)) { in add() 184 this->set(pageIdx, index); in add() 194 PlotData(int pageIdx, int plotIdx) : fPageIndex(pageIdx), fPlotIndex(plotIdx) {} in PlotData() 200 bool find(int pageIdx, int index) const { in find() argument 202 return (fPlotAlreadyUpdated[pageIdx] >> index) & 1; in find() [all …]
|
D | GrDrawOpAtlas.cpp | 214 int pageIdx = GetPageIndexFromID(plot->id()); in updatePlot() local 215 this->makeMRU(plot, pageIdx); in updatePlot() 224 GrTextureProxy* proxy = fProxies[pageIdx].get(); in updatePlot() 237 bool GrDrawOpAtlas::uploadToPage(unsigned int pageIdx, AtlasID* id, GrDeferredUploadTarget* target, in uploadToPage() argument 239 SkASSERT(fProxies[pageIdx] && fProxies[pageIdx]->isInstantiated()); in uploadToPage() 243 plotIter.init(fPages[pageIdx].fPlotList, PlotList::Iter::kHead_IterStart); in uploadToPage() 246 SkASSERT(GrBytesPerPixel(fProxies[pageIdx]->config()) == plot->bpp()); in uploadToPage() 275 for (unsigned int pageIdx = 0; pageIdx < fNumActivePages; ++pageIdx) { in addToAtlas() local 276 if (this->uploadToPage(pageIdx, id, target, width, height, image, loc)) { in addToAtlas() 287 for (unsigned int pageIdx = 0; pageIdx < fNumActivePages; ++pageIdx) { in addToAtlas() local [all …]
|
/external/skqp/src/gpu/text/ |
D | GrAtlasManager.cpp | 148 for (uint32_t pageIdx = 0; pageIdx < fAtlases[i]->numActivePages(); ++pageIdx) { in dump() local 149 SkASSERT(proxies[pageIdx]); in dump() 152 filename.printf("/sdcard/fontcache_%d%d%d.png", gDumpCount, i, pageIdx); in dump() 154 filename.printf("fontcache_%d%d%d.png", gDumpCount, i, pageIdx); in dump() 157 save_pixels(context, proxies[pageIdx].get(), filename.c_str()); in dump()
|
/external/skia/src/gpu/text/ |
D | GrAtlasManager.cpp | 147 for (uint32_t pageIdx = 0; pageIdx < fAtlases[i]->numActivePages(); ++pageIdx) { in dump() local 148 SkASSERT(proxies[pageIdx]); in dump() 151 filename.printf("/sdcard/fontcache_%d%d%d.png", gDumpCount, i, pageIdx); in dump() 153 filename.printf("fontcache_%d%d%d.png", gDumpCount, i, pageIdx); in dump() 156 save_pixels(context, proxies[pageIdx].get(), filename.c_str()); in dump()
|