Home
last modified time | relevance | path

Searched refs:fSurfaces (Results 1 – 2 of 2) sorted by relevance

/external/skia/bench/
DSKPBench.cpp30 for (int i = 0; i < fSurfaces.count(); ++i) { in ~SKPBench()
31 fSurfaces[i]->unref(); in ~SKPBench()
53 fSurfaces.setReserve(xTiles * yTiles); in onPerCanvasPreDraw()
62 *fSurfaces.push() = canvas->newSurface(ii); in onPerCanvasPreDraw()
68 fSurfaces.top()->getCanvas()->clipRect(clip); in onPerCanvasPreDraw()
70 fSurfaces.top()->getCanvas()->setMatrix(canvas->getTotalMatrix()); in onPerCanvasPreDraw()
71 fSurfaces.top()->getCanvas()->scale(fScale, fScale); in onPerCanvasPreDraw()
80 SkAutoTUnref<SkImage> image(fSurfaces[i]->newImageSnapshot()); in onPerCanvasPostDraw()
83 SkSafeSetNull(fSurfaces[i]); in onPerCanvasPostDraw()
86 fSurfaces.rewind(); in onPerCanvasPostDraw()
[all …]
DSKPBench.h37 const SkTDArray<SkSurface*>& surfaces() const { return fSurfaces; } in surfaces()
48 SkTDArray<SkSurface*> fSurfaces; // for MultiPictureDraw variable