Limit lifetime of GrDrawContext objects
authorrobertphillips <robertphillips@google.com>
Tue, 1 Sep 2015 15:34:28 +0000 (08:34 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 1 Sep 2015 15:34:28 +0000 (08:34 -0700)
commitc9a3706f1ee38c331610ec1e872d9a658566c397
treea202dd4d7a9f3d42732483988a8e5a16e13aac36
parentdac7005b877c7c1c6f36b6e298133dfc7b85b9c0
Limit lifetime of GrDrawContext objects

GrDrawContext's are about to become real allocated objects. This CL sets up the machinery so they won't leak.

Review URL: https://codereview.chromium.org/1321353002
17 files changed:
gm/texdata.cpp
src/core/SkImageFilter.cpp
src/effects/SkAlphaThresholdFilter.cpp
src/effects/SkBlurMaskFilter.cpp
src/effects/SkDisplacementMapEffect.cpp
src/effects/SkGpuBlurUtils.cpp
src/effects/SkLightingImageFilter.cpp
src/effects/SkMorphologyImageFilter.cpp
src/effects/SkXfermodeImageFilter.cpp
src/gpu/GrBlurUtils.cpp
src/gpu/GrContext.cpp
src/gpu/GrLayerCache.cpp
src/gpu/GrRenderTarget.cpp
src/gpu/SkGpuDevice.cpp
src/gpu/SkGr.cpp
src/gpu/effects/GrConfigConversionEffect.cpp
src/image/SkImage_Gpu.cpp