Lines Matching defs:GrPlot
23 // a GrAtlas needs space on the texture, it requests a GrPlot. Each GrAtlas can claim one
25 // GrPlot is "full" (i.e. there is no room for the new subimage according to the GrRectanizer), the
26 // GrAtlas can request a new GrPlot via GrAtlasMgr::addToAtlas().
29 // available to ensure that all draw calls are finished for that particular GrPlot.
32 class GrPlot {
34 SK_DECLARE_INTERNAL_LLIST_INTERFACE(GrPlot);
48 GrPlot();
49 ~GrPlot(); // does not try to delete the fNext field
69 typedef SkTInternalLList<GrPlot> GrPlotList;
78 // returns the containing GrPlot and location relative to the backing texture
79 GrPlot* addToAtlas(GrAtlas*, int width, int height, const void*, SkIPoint16*);
82 bool removePlot(GrAtlas* atlas, const GrPlot* plot);
86 GrPlot* getUnusedPlot();
95 void moveToHead(GrPlot* plot);
106 GrPlot* fPlotArray;
119 SkTDArray<GrPlot*> fPlots;