Searched refs:surf2 (Results 1 – 2 of 2) sorted by relevance
146 SkAutoTUnref<SkSurface> surf2(surf->newSurface(info)); in onDraw() local147 drawInto(surf2->getCanvas()); in onDraw()150 SkASSERT(equal(surf->props(), surf2->props())); in onDraw()152 SkAutoTUnref<SkImage> image2(surf2->newImageSnapshot()); in onDraw()
176 SkAutoTUnref<SkSurface> surf2; // gpu in onDraw() local179 surf2.reset(SkSurface::NewRenderTarget(canvas->getGrContext(), in onDraw()186 if (surf2) { in onDraw()188 test_surface(canvas, surf2, true); in onDraw()