Home
last modified time | relevance | path

Searched refs:numPlotsX (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/gpu/
DGrLayerAtlas.cpp77 int numPlotsX, int numPlotsY) { in GrLayerAtlas() argument
86 int plotWidth = textureWidth / numPlotsX; in GrLayerAtlas()
89 SkASSERT(plotWidth * numPlotsX == textureWidth); in GrLayerAtlas()
96 fPlotArray = new Plot[numPlotsX * numPlotsY]; in GrLayerAtlas()
100 for (int x = numPlotsX-1; x >= 0; --x) { in GrLayerAtlas()
101 currPlot->init(y*numPlotsX+x, x, y, plotWidth, plotHeight); in GrLayerAtlas()
DGrBatchAtlas.cpp140 GrBatchAtlas::GrBatchAtlas(GrTexture* texture, int numPlotsX, int numPlotsY) in GrBatchAtlas() argument
144 int plotWidth = texture->width() / numPlotsX; in GrBatchAtlas()
146 SkASSERT(numPlotsX * numPlotsY <= BulkUseTokenUpdater::kMaxPlots); in GrBatchAtlas()
147 SkASSERT(plotWidth * numPlotsX == texture->width()); in GrBatchAtlas()
150 SkDEBUGCODE(fNumPlots = numPlotsX * numPlotsY;) in GrBatchAtlas()
156 fPlotArray = new SkAutoTUnref<BatchPlot>[numPlotsX * numPlotsY]; in GrBatchAtlas()
160 for (int x = numPlotsX - 1, c = 0; x >= 0; --x, ++c) { in GrBatchAtlas()
161 uint32_t index = r * numPlotsX + c; in GrBatchAtlas()
DGrBatchAtlas.h21 int numPlotsX() const { return fWidth / fPlotWidth; } in numPlotsX() function
44 GrBatchAtlas(GrTexture*, int numPlotsX, int numPlotsY);
DGrResourceProvider.cpp162 int numPlotsX, int numPlotsY, in createAtlas() argument
178 GrBatchAtlas* atlas = new GrBatchAtlas(texture, numPlotsX, numPlotsY); in createAtlas()
DGrLayerAtlas.h102 int numPlotsX, int numPlotsY);
DGrResourceProvider.h139 GrBatchAtlas* createAtlas(GrPixelConfig, int width, int height, int numPlotsX, int numPlotsY,
/external/skia/src/gpu/text/
DGrBatchFontCache.cpp26 int numPlotsX = fAtlasConfigs[index].numPlotsX(); in initAtlas() local
31 numPlotsX, numPlotsY, in initAtlas()