change SkSurface::newCanvas() to getCanvas(), and redefine its life-cycle to be
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 30 Jul 2012 21:03:46 +0000 (21:03 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 30 Jul 2012 21:03:46 +0000 (21:03 +0000)
commit9ea5a3bc7361cb88d37280b5922fba9430fed328
treea16d1193b8b30ad47cfd578207335b5837765060
parent97efada074e4806479f1350ab1508939c2fdcb53
change SkSurface::newCanvas() to getCanvas(), and redefine its life-cycle to be
a single canvas for the lifetime of the surface.

Get a playback copy from the src picture, so we can continue to record into the
original picture.

git-svn-id: http://skia.googlecode.com/svn/trunk@4842 2bbb7eff-a529-9590-31e7-b0007b416f81
include/core/SkSurface.h
src/image/SkImagePriv.cpp
src/image/SkImagePriv.h
src/image/SkImage_Picture.cpp
src/image/SkSurface.cpp
src/image/SkSurface_Base.h