Home
last modified time | relevance | path

Searched refs:plotLocator (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/
DGrDrawOpAtlas.h81 virtual void evict(PlotLocator plotLocator) = 0;
171 bool hasID(PlotLocator plotLocator) { in hasID() argument
172 if (kInvalidPlotLocator == plotLocator) { in hasID()
176 uint32_t plot = GetPlotIndexFromID(plotLocator); in hasID()
177 uint32_t page = GetPageIndexFromID(plotLocator); in hasID()
179 uint64_t locatorGeneration = GetGenerationFromID(plotLocator); in hasID()
184 void setLastUseToken(PlotLocator plotLocator, GrDeferredUploadToken token) { in setLastUseToken() argument
185 SkASSERT(this->hasID(plotLocator)); in setLastUseToken()
186 uint32_t plotIdx = GetPlotIndexFromID(plotLocator); in setLastUseToken()
188 uint32_t pageIdx = GetPageIndexFromID(plotLocator); in setLastUseToken()
[all …]
DGrDrawOpAtlas.cpp237 inline void GrDrawOpAtlas::processEviction(PlotLocator plotLocator) { in processEviction() argument
239 evictor->evict(plotLocator); in processEviction()
246 PlotLocator* plotLocator, Plot* plot) { in updatePlot() argument
247 int pageIdx = GetPageIndexFromID(plot->plotLocator()); in updatePlot()
266 *plotLocator = plot->plotLocator(); in updatePlot()
270 bool GrDrawOpAtlas::uploadToPage(const GrCaps& caps, unsigned int pageIdx, PlotLocator* plotLocator, in uploadToPage() argument
283 return this->updatePlot(target, plotLocator, plot); in uploadToPage()
299 PlotLocator* plotLocator, in addToAtlas() argument
313 if (this->uploadToPage(caps, pageIdx, plotLocator, target, width, height, image, loc)) { in addToAtlas()
333 if (!this->updatePlot(target, plotLocator, plot)) { in addToAtlas()
[all …]
/external/skia/tests/
DDrawOpAtlasTest.cpp77 void evict(GrDrawOpAtlas::PlotLocator plotLocator) override { in evict() argument
117 GrDrawOpAtlas::PlotLocator* plotLocator, in fill_plot() argument
127 code = atlas->addToAtlas(resourceProvider, plotLocator, target, kPlotSize, kPlotSize, in fill_plot()
175 GrDrawOpAtlas::PlotLocator plotLocator; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
176 bool result = fill_plot(atlas.get(), resourceProvider, &uploadTarget, &plotLocator, 4 * 32); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/ops/
DGrSmallPathRenderer.cpp137 void GrSmallPathRenderer::evict(GrDrawOpAtlas::PlotLocator plotLocator) { in evict() argument
144 if (plotLocator == shapeData->fPlotLocator) { in evict()
500 GrDrawOpAtlas::PlotLocator* plotLocator, SkIPoint16* atlasLocation) const { in addToAtlas() argument
504 GrDrawOpAtlas::ErrorCode code = atlas->addToAtlas(resourceProvider, plotLocator, in addToAtlas()
514 code = atlas->addToAtlas(resourceProvider, plotLocator, uploadTarget, width, height, in addToAtlas()
606 GrDrawOpAtlas::PlotLocator plotLocator; in addDFPathToAtlas() local
609 width, height, dfStorage.get(), &plotLocator, &atlasLocation)) { in addDFPathToAtlas()
615 shapeData->fPlotLocator = plotLocator; in addDFPathToAtlas()
625 uint16_t pageIndex = GrDrawOpAtlas::GetPageIndexFromID(plotLocator); in addDFPathToAtlas()
710 GrDrawOpAtlas::PlotLocator plotLocator; in addBMPathToAtlas() local
[all …]
/external/skia/src/gpu/text/
DGrStrikeCache.cpp142 void GrTextStrike::removeID(GrDrawOpAtlas::PlotLocator plotLocator) { in removeID() argument
143 fCache.foreach([this, plotLocator](GrGlyph** glyph){ in removeID()
144 if ((*glyph)->fPlotLocator == plotLocator) { in removeID()
DGrAtlasManager.cpp39 GrDrawOpAtlas::PlotLocator* plotLocator, in addToAtlas() argument
43 resourceProvider, plotLocator, target, width, height, image, loc); in addToAtlas()