Lines Matching refs:fOffScreen
35 fOffScreen->getCanvas()->clear(SK_ColorWHITE); in onPerCanvasPreDraw()
36 fBench->perCanvasPreDraw(fOffScreen->getCanvas()); in onPerCanvasPreDraw()
39 SkASSERT(fOffScreen.get()); in onPreDraw()
40 fBench->preDraw(fOffScreen->getCanvas()); in onPreDraw()
43 SkASSERT(fOffScreen.get()); in onPostDraw()
44 fBench->postDraw(fOffScreen->getCanvas()); in onPostDraw()
47 SkASSERT(fOffScreen.get()); in onPerCanvasPostDraw()
48 fBench->perCanvasPostDraw(fOffScreen->getCanvas()); in onPerCanvasPostDraw()
52 SkASSERT(fOffScreen.get()); in onDraw()
53 fBench->draw(loops, fOffScreen->getCanvas()); in onDraw()
63 int w = SkTMin(fBench->getSize().fX, fOffScreen->width()); in blitToScreen()
64 int h = SkTMin(fBench->getSize().fY, fOffScreen->width()); in blitToScreen()
71 SkAutoTUnref<SkSurface> fOffScreen; variable
83 fOffScreen.reset(SkSurface::NewRaster(canvas->imageInfo(), &this->surfaceProps())); in setupOffScreen()
87 SkAutoTUnref<SkImage> image(fOffScreen->newImageSnapshot()); in onBlitToScreen()
107 fOffScreen.reset(SkSurface::NewRenderTarget(canvas->getGrContext(), in setupOffScreen()
121 SkCanvas::LayerIter offscreenIter(fOffScreen->getCanvas(), false); in onBlitToScreen()