Home
last modified time | relevance | path

Searched refs:fTileRects (Results 1 – 4 of 4) sorted by relevance

/external/skia/bench/
DSKPBench.cpp54 fTileRects.setReserve(xTiles * yTiles); in onPerCanvasPreDraw()
61 *fTileRects.append() = tileRect; in onPerCanvasPreDraw()
79 for (int i = 0; i < fTileRects.count(); ++i) { in onPerCanvasPostDraw()
82 SkIntToScalar(fTileRects[i].fLeft), SkIntToScalar(fTileRects[i].fTop)); in onPerCanvasPostDraw()
87 fTileRects.rewind(); in onPerCanvasPostDraw()
113 for (int j = 0; j < fTileRects.count(); ++j) { in drawMPDPicture()
115 trans.setTranslate(-fTileRects[j].fLeft/fScale, in drawMPDPicture()
116 -fTileRects[j].fTop/fScale); in drawMPDPicture()
122 for (int j = 0; j < fTileRects.count(); ++j) { in drawMPDPicture()
128 for (int j = 0; j < fTileRects.count(); ++j) { in drawPicture()
[all …]
DSKPBench.h38 const SkTDArray<SkIRect>& tileRects() const { return fTileRects; } in tileRects()
49 SkTDArray<SkIRect> fTileRects; // for MultiPictureDraw variable
/external/skia/tools/
DPictureRenderer.cpp487 SkASSERT(0 == fTileRects.count()); in init()
488 if (NULL == pict || fTileRects.count() != 0) { in init()
521 fTileRects.reset(); in end()
538 *fTileRects.append() = SkIRect::MakeXYWH(tile_x_start, tile_y_start, in setupTiles()
545 if (fTileRects.count() == 0 || NULL == fPicture) { in tileDimensions()
592 *fTileRects.append() = SkIRect::MakeXYWH(tile_x_start, tile_y_start, in setupPowerOf2Tiles()
647 if (++fCurrentTileOffset < fTileRects.count()) { in nextTile()
656 SkASSERT(fCurrentTileOffset >= 0 && fCurrentTileOffset < fTileRects.count()); in drawCurrentTile()
657 draw_tile_to_canvas(fCanvas, fTileRects[fCurrentTileOffset], fPicture); in drawCurrentTile()
699 surfaces.setReserve(fTileRects.count()); in render()
[all …]
DPictureRenderer.h656 SkTDArray<SkIRect> fTileRects;