Add support for creating texture backed images where Skia will delete the texture.
authorbsalomon <bsalomon@google.com>
Thu, 18 Jun 2015 16:12:16 +0000 (09:12 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 18 Jun 2015 16:12:17 +0000 (09:12 -0700)
commit6dc6f5f4a153d33ed91565cb3cd397a310a937d0
treea432ddf0638895a1d1d645876575aa64a9d9d6c7
parent4c58e085b27c4cd9813ed7cad2388194d1d1f089
Add support for creating texture backed images where Skia will delete the texture.

Review URL: https://codereview.chromium.org/1187523005
31 files changed:
include/core/SkImage.h
include/gpu/GrGpuResource.h
include/gpu/GrTextureProvider.h
include/gpu/GrTypes.h
include/gpu/gl/GrGLFunctions.h
include/gpu/gl/GrGLInterface.h
src/gpu/GrGpu.cpp
src/gpu/GrGpu.h
src/gpu/GrGpuResource.cpp
src/gpu/GrGpuResourceCacheAccess.h
src/gpu/GrResourceCache.cpp
src/gpu/GrTest.cpp
src/gpu/GrTexture.cpp
src/gpu/GrTextureProvider.cpp
src/gpu/gl/GrGLAssembleInterface.cpp
src/gpu/gl/GrGLGpu.cpp
src/gpu/gl/GrGLGpu.h
src/gpu/gl/GrGLInterface.cpp
src/gpu/gl/GrGLPath.cpp
src/gpu/gl/GrGLPathRange.cpp
src/gpu/gl/GrGLRenderTarget.cpp
src/gpu/gl/GrGLRenderTarget.h
src/gpu/gl/GrGLStencilAttachment.cpp
src/gpu/gl/GrGLTexture.cpp
src/gpu/gl/GrGLTexture.h
src/image/SkImage.cpp
src/image/SkImage_Gpu.cpp
src/image/SkSurface_Gpu.cpp
tests/GrPorterDuffTest.cpp
tests/GrSurfaceTest.cpp
tests/ResourceCacheTest.cpp