Searched refs:BatchPlot (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/gpu/ |
D | GrBatchAtlas.cpp | 16 GrBatchAtlas::BatchPlot::BatchPlot(int index, uint64_t genID, int offX, int offY, int width, in BatchPlot() function in GrBatchAtlas::BatchPlot 39 GrBatchAtlas::BatchPlot::~BatchPlot() { in ~BatchPlot() 44 bool GrBatchAtlas::BatchPlot::addSubImage(int width, int height, const void* image, in addSubImage() 82 void GrBatchAtlas::BatchPlot::uploadToTexture(GrBatchUploader::TextureUploader* uploader, in uploadToTexture() 99 void GrBatchAtlas::BatchPlot::resetRects() { in resetRects() 120 GrPlotUploader(GrBatchAtlas::BatchPlot* plot, GrTexture* texture) in GrPlotUploader() 132 SkAutoTUnref<GrBatchAtlas::BatchPlot> fPlot; 156 fPlotArray = new SkAutoTUnref<BatchPlot>[numPlotsX * numPlotsY]; in GrBatchAtlas() 158 SkAutoTUnref<BatchPlot>* currPlot = fPlotArray; in GrBatchAtlas() 162 currPlot->reset(new BatchPlot(index, 1, x, y, plotWidth, plotHeight, in GrBatchAtlas() [all …]
|
D | GrBatchAtlas.h | 130 BatchPlot* plot = fPlotArray[updater.fPlotsToUpdate[i]]; in setLastUseTokenBulk() 148 class BatchPlot : public SkRefCnt { 149 SK_DECLARE_INTERNAL_LLIST_INTERFACE(BatchPlot); 185 BatchPlot(int index, uint64_t genID, int offX, int offY, int width, int height, 188 ~BatchPlot() override; 192 BatchPlot* clone() const { in clone() 193 return new BatchPlot(fIndex, fGenID+1, fX, fY, fWidth, fHeight, fConfig); in clone() 225 typedef SkTInternalLList<BatchPlot> GrBatchPlotList; 236 inline void updatePlot(GrDrawBatch::Target*, AtlasID*, BatchPlot*); 238 inline void makeMRU(BatchPlot* plot) { in makeMRU() [all …]
|