AutoScratchTexture can now release its texture and it will return to the texture...
authorrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 22 Jun 2012 12:41:43 +0000 (12:41 +0000)
committerrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 22 Jun 2012 12:41:43 +0000 (12:41 +0000)
commit15c0fea699b25343fe6f49668a5632866e1a0306
tree0616bf4168b4d98e02ae7cabf95623ef7ccb4fa5
parent5e2412983183f9c4075a795278f3ca4ffee0ed79
AutoScratchTexture can now release its texture and it will return to the texture cache when freed

http://codereview.appspot.com/6262043/

git-svn-id: http://skia.googlecode.com/svn/trunk@4301 2bbb7eff-a529-9590-31e7-b0007b416f81
include/core/SkBitmap.h
include/core/SkRefCnt.h
include/gpu/GrContext.h
include/gpu/GrTexture.h
include/gpu/GrTypes.h
src/gpu/GrContext.cpp
src/gpu/GrResourceCache.cpp
src/gpu/GrResourceCache.h
src/gpu/GrSoftwarePathRenderer.cpp
src/gpu/GrTexture.cpp