aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrContext.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2014-08-19 14:20:58 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-19 14:20:58 -0700
commit1d89ddc4a3aad153501cfdc93bc1d61eb49157f4 (patch)
tree50a7441dbe82df4fe9f47c4423595f8ff8e259ff /include/gpu/GrContext.h
parenta34633f358ddde34577d653fea3bd41e66a7dde2 (diff)
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
Diffstat (limited to 'include/gpu/GrContext.h')
-rw-r--r--include/gpu/GrContext.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index 4f9b642b23..d6245100d6 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -35,7 +35,6 @@ class GrPath;
class GrPathRenderer;
class GrResourceEntry;
class GrResourceCache;
-class GrResourceCache2;
class GrStencilBuffer;
class GrTestTarget;
class GrTextContext;
@@ -927,7 +926,6 @@ public:
GrDrawTarget* getTextTarget();
const GrIndexBuffer* getQuadIndexBuffer() const;
GrAARectRenderer* getAARectRenderer() { return fAARectRenderer; }
- GrResourceCache2* getResourceCache2() { return fResourceCache2; }
// Called by tests that draw directly to the context via GrDrawTarget
void getTestTarget(GrTestTarget*);
@@ -975,7 +973,6 @@ private:
GrDrawState* fDrawState;
GrResourceCache* fResourceCache;
- GrResourceCache2* fResourceCache2;
GrFontCache* fFontCache;
SkAutoTDelete<GrLayerCache> fLayerCache;