/external/skqp/src/gpu/ |
D | GrDrawOpAtlas.cpp | 243 plotIter.init(fPages[pageIdx].fPlotList, PlotList::Iter::kHead_IterStart); in uploadToPage() 288 Plot* plot = fPages[pageIdx].fPlotList.tail(); in addToAtlas() 324 Plot* currentPlot = fPages[pageIdx].fPlotList.tail(); in addToAtlas() 342 fPages[pageIdx].fPlotList.remove(plot); in addToAtlas() 343 sk_sp<Plot>& newPlot = fPages[pageIdx].fPlotArray[plot->index()]; in addToAtlas() 346 fPages[pageIdx].fPlotList.addToHead(newPlot.get()); in addToAtlas() 380 plotIter.init(fPages[pageIndex].fPlotList, PlotList::Iter::kHead_IterStart); in compact() 408 plotIter.init(fPages[pageIndex].fPlotList, PlotList::Iter::kHead_IterStart); in compact() 441 plotIter.init(fPages[lastPageIndex].fPlotList, PlotList::Iter::kHead_IterStart); in compact() 479 plotIter.init(fPages[lastPageIndex].fPlotList, PlotList::Iter::kHead_IterStart); in compact() [all …]
|
D | GrDrawOpAtlas.h | 140 return fPages[page].fPlotArray[plot]->genID() == GetGenerationFromID(id); in hasID() 150 Plot* plot = fPages[pageIdx].fPlotArray[plotIdx].get(); in setLastUseToken() 226 Plot* plot = fPages[pd.fPageIndex].fPlotArray[pd.fPlotIndex].get(); in setLastUseTokenBulk() 363 if (fPages[pageIdx].fPlotList.head() == plot) { in makeMRU() 367 fPages[pageIdx].fPlotList.remove(plot); in makeMRU() 368 fPages[pageIdx].fPlotList.addToHead(plot); in makeMRU() 414 Page fPages[kMaxMultitexturePages]; variable
|
/external/skia/src/gpu/ |
D | GrDrawOpAtlas.cpp | 271 plotIter.init(fPages[pageIdx].fPlotList, PlotList::Iter::kHead_IterStart); in uploadToPage() 318 Plot* plot = fPages[pageIdx].fPlotList.tail(); in addToAtlas() 355 Plot* currentPlot = fPages[pageIdx].fPlotList.tail(); in addToAtlas() 373 fPages[pageIdx].fPlotList.remove(plot); in addToAtlas() 374 sk_sp<Plot>& newPlot = fPages[pageIdx].fPlotArray[plot->plotIndex()]; in addToAtlas() 377 fPages[pageIdx].fPlotList.addToHead(newPlot.get()); in addToAtlas() 413 plotIter.init(fPages[pageIndex].fPlotList, PlotList::Iter::kHead_IterStart); in compact() 447 plotIter.init(fPages[pageIndex].fPlotList, PlotList::Iter::kHead_IterStart); in compact() 480 plotIter.init(fPages[lastPageIndex].fPlotList, PlotList::Iter::kHead_IterStart); in compact() 518 plotIter.init(fPages[lastPageIndex].fPlotList, PlotList::Iter::kHead_IterStart); in compact() [all …]
|
D | GrDrawOpAtlas.h | 268 uint64_t plotGeneration = fPages[page].fPlotArray[plot]->genID(); in hasID() 280 Plot* plot = fPages[pageIdx].fPlotArray[plotIdx].get(); in setLastUseToken() 350 Plot* plot = fPages[pd.fPageIndex].fPlotArray[pd.fPlotIndex].get(); in setLastUseTokenBulk() 469 if (fPages[pageIdx].fPlotList.head() == plot) { in makeMRU() 473 fPages[pageIdx].fPlotList.remove(plot); in makeMRU() 474 fPages[pageIdx].fPlotList.addToHead(plot); in makeMRU() 520 Page fPages[kMaxMultitexturePages]; variable
|
/external/skqp/src/utils/ |
D | SkMultiPictureDocument.cpp | 54 SkTArray<sk_sp<SkPicture>> fPages; member 68 fPages.push_back(fPictureRecorder.finishRecordingAsPicture()); in onEndPage() 75 wStream->write32(SkToU32(fPages.count())); in onClose() 81 for (const sk_sp<SkPicture>& page : fPages) { in onClose() 87 fPages.reset(); in onClose() 92 fPages.reset(); in onAbort()
|
/external/skia/src/utils/ |
D | SkMultiPictureDocument.cpp | 55 SkTArray<sk_sp<SkPicture>> fPages; member 73 fPages.push_back(lastPage); in onEndPage() 83 wStream->write32(SkToU32(fPages.count())); in onClose() 89 for (const sk_sp<SkPicture>& page : fPages) { in onClose() 96 fPages.reset(); in onClose() 101 fPages.reset(); in onAbort()
|
/external/skqp/src/pdf/ |
D | SkPDFDocumentPriv.h | 95 size_t currentPageIndex() { return fPages.size(); } in currentPageIndex() 117 std::vector<std::unique_ptr<SkPDFDict>> fPages; variable
|
D | SkPDFDocument.cpp | 230 if (fPages.empty()) { in onBeginPage() 292 fPages.emplace_back(std::move(page)); in onEndPage() 456 if (fPages.empty()) { in onClose() 469 docCatalog->insertRef("Pages", generate_page_tree(this, std::move(fPages), fPageRefs)); in onClose()
|
/external/skia/src/pdf/ |
D | SkPDFDocumentPriv.h | 135 size_t currentPageIndex() { return fPages.size(); } in currentPageIndex() 161 std::vector<std::unique_ptr<SkPDFDict>> fPages; variable
|
D | SkPDFDocument.cpp | 251 if (fPages.empty()) { in onBeginPage() 378 fPages.emplace_back(std::move(page)); in onEndPage() 552 if (fPages.empty()) { in onClose() 565 docCatalog->insertRef("Pages", generate_page_tree(this, std::move(fPages), fPageRefs)); in onClose()
|
/external/skia/dm/ |
D | DMSrcSink.cpp | 1381 fPages.reset(count); in MSKPSrc() 1382 (void)SkMultiPictureDocumentReadPageSizes(stream.get(), &fPages[0], fPages.count()); in MSKPSrc() 1386 int MSKPSrc::pageCount() const { return fPages.count(); } in pageCount() 1390 return i >= 0 && i < fPages.count() ? fPages[i].fSize.toCeil() : SkISize{0, 0}; in size() 1400 if (i >= fPages.count() || i < 0) { in draw() 1403 SkPicture* page = fPages[i].fPicture.get(); in draw() 1409 if (!SkMultiPictureDocumentRead(stream.get(), &fPages[0], fPages.count())) { in draw() 1413 page = fPages[i].fPicture.get(); in draw()
|
D | DMSrcSink.h | 368 mutable SkTArray<SkDocumentPage> fPages; variable
|
/external/skqp/dm/ |
D | DMSrcSink.cpp | 1316 fPages.reset(count); in MSKPSrc() 1317 (void)SkMultiPictureDocumentReadPageSizes(stream.get(), &fPages[0], fPages.count()); in MSKPSrc() 1321 int MSKPSrc::pageCount() const { return fPages.count(); } in pageCount() 1325 return i >= 0 && i < fPages.count() ? fPages[i].fSize.toCeil() : SkISize{0, 0}; in size() 1333 if (i >= fPages.count() || i < 0) { in draw() 1336 SkPicture* page = fPages[i].fPicture.get(); in draw() 1342 if (!SkMultiPictureDocumentRead(stream.get(), &fPages[0], fPages.count())) { in draw() 1346 page = fPages[i].fPicture.get(); in draw()
|
D | DMSrcSink.h | 328 mutable SkTArray<SkDocumentPage> fPages; variable
|