Revert of Add GrResourceCache2. (patchset #4 of https://codereview.chromium.org/48144...
authorbsalomon <bsalomon@google.com>
Tue, 19 Aug 2014 21:20:58 +0000 (14:20 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 19 Aug 2014 21:20:58 +0000 (14:20 -0700)
commit1d89ddc4a3aad153501cfdc93bc1d61eb49157f4
tree50a7441dbe82df4fe9f47c4423595f8ff8e259ff
parenta34633f358ddde34577d653fea3bd41e66a7dde2
Revert of Add GrResourceCache2. (patchset #4 of https://codereview.chromium.org/481443002/)

Reason for revert:
Likely caused a leak detected in Chromium after last Skia roll.

Original issue's description:
> Add GrResourceCache2.
>
> Currently it just replaces GrGpu as the owner of the linked list of resources.
>
> Committed: https://skia.googlesource.com/skia/+/94ce9ac8624dbb45656b8f5c992fad9c9ff3ee5f

R=mtklein@google.com, robertphillips@google.com
TBR=mtklein@google.com, robertphillips@google.com
NOTREECHECKS=true
NOTRY=true

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/477323006
18 files changed:
gyp/gpu.gypi
include/gpu/GrContext.h
include/gpu/GrGpuResource.h
src/gpu/GrClipMaskCache.h
src/gpu/GrClipMaskManager.cpp
src/gpu/GrClipMaskManager.h
src/gpu/GrContext.cpp
src/gpu/GrGpu.cpp
src/gpu/GrGpu.h
src/gpu/GrGpuResource.cpp
src/gpu/GrLayerCache.cpp
src/gpu/GrResourceCache.cpp
src/gpu/GrResourceCache2.cpp [deleted file]
src/gpu/GrResourceCache2.h [deleted file]
src/gpu/gl/GrGLPathRendering.cpp
src/gpu/gl/GrGpuGL.cpp
src/gpu/gl/GrGpuGL.h
src/gpu/gl/GrGpuGL_program.cpp