Home
last modified time | relevance | path

Searched refs:GrPlot (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/gpu/
DGrAtlas.h32 class GrPlot {
34 SK_DECLARE_INTERNAL_LLIST_INTERFACE(GrPlot);
52 GrPlot();
53 ~GrPlot(); // does not try to delete the fNext field
74 typedef SkTInternalLList<GrPlot> GrPlotList;
85 bool contains(const GrPlot* plot) const { in contains()
86 return fPlots.contains(const_cast<GrPlot*>(plot)); in contains()
91 SkTDArray<GrPlot*> fPlots;
106 GrPlot* addToAtlas(ClientPlotUsage*, int width, int height, const void* image, SkIPoint16* loc);
109 static void RemovePlot(ClientPlotUsage* usage, const GrPlot* plot);
[all …]
DGrAtlas.cpp23 GrPlot::GrPlot() in GrPlot() function in GrPlot
36 GrPlot::~GrPlot() { in ~GrPlot()
42 void GrPlot::init(GrAtlas* atlas, int id, int offX, int offY, int width, int height, size_t bpp, in init()
60 bool GrPlot::addSubImage(int width, int height, const void* image, SkIPoint16* loc) { in addSubImage()
109 void GrPlot::uploadToTexture() { in uploadToTexture()
139 void GrPlot::resetRects() { in resetRects()
172 fPlotArray = SkNEW_ARRAY(GrPlot, (fNumPlotsX*fNumPlotsY)); in GrAtlas()
174 GrPlot* currPlot = fPlotArray; in GrAtlas()
196 void GrAtlas::makeMRU(GrPlot* plot) { in makeMRU()
205 GrPlot* GrAtlas::addToAtlas(ClientPlotUsage* usage, in addToAtlas()
[all …]
DGrLayerCache.h205 void setPlot(GrPlot* plot) { in setPlot()
209 GrPlot* plot() { return fPlot; } in plot()
216 SkDEBUGCODE(const GrPlot* plot() const { return fPlot; })
254 GrPlot* fPlot;
390 void purgePlot(GrPlot* plot);
DGrGlyph.h18 class GrPlot; variable
36 GrPlot* fPlot;
DGrLayerCache.cpp207 GrPlot* plot = fAtlas->addToAtlas(&pictInfo->fPlotUsage, in tryToAtlas()
395 GrPlot* plot; in purgePlot()
410 void GrLayerCache::purgePlot(GrPlot* plot) { in purgePlot()
457 GrPlot* plot; in purgeAll()