Lines Matching defs:GrPlot
50 GrPlot::GrPlot() : fDrawToken(NULL, 0)
61 GrPlot::~GrPlot() {
75 bool GrPlot::addSubImage(int width, int height, const void* image,
130 fPlots = SkNEW_ARRAY(GrPlot, (GR_PLOT_WIDTH*GR_PLOT_HEIGHT));
132 GrPlot* currPlot = fPlots;
158 GrPlot* GrAtlasMgr::addToAtlas(GrAtlas* atlas,
162 GrPlot* plotIter = atlas->fPlots;
172 GrPlot* newPlot = this->allocPlot();
207 // GrPlot** is used so that the head element can be easily
209 GrPlot** plotRef = &atlas->fPlots;
210 GrPlot* plot = atlas->fPlots;
227 void GrAtlasMgr::deletePlotList(GrPlot* plot) {
229 GrPlot* next = plot->fNext;
235 GrPlot* GrAtlasMgr::allocPlot() {
239 GrPlot* alloc = fFreePlots;
242 // GrPrintf(" GrPlot %p [%d %d] %d\n", this, alloc->fOffset.fX, alloc->fOffset.fY, gCounter);
250 void GrAtlasMgr::freePlot(GrPlot* plot) {
259 // GrPrintf("~GrPlot %p [%d %d] %d\n", this, plot->fOffset.fX, plot->fOffset.fY, gCounter);