Home
last modified time | relevance | path

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

/external/skia/gm/
Dsurface.cpp146 SkAutoTUnref<SkSurface> surf2(surf->newSurface(info)); in onDraw() local
147 drawInto(surf2->getCanvas()); in onDraw()
150 SkASSERT(equal(surf->props(), surf2->props())); in onDraw()
152 SkAutoTUnref<SkImage> image2(surf2->newImageSnapshot()); in onDraw()
Dimage.cpp176 SkAutoTUnref<SkSurface> surf2; // gpu in onDraw() local
179 surf2.reset(SkSurface::NewRenderTarget(canvas->getGrContext(), in onDraw()
186 if (surf2) { in onDraw()
188 test_surface(canvas, surf2, true); in onDraw()