diff options
author | bsalomon <bsalomon@google.com> | 2014-11-14 13:33:09 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-14 13:33:09 -0800 |
commit | 12299ab7a1be5f4b99284ecf289d46107ef0a946 (patch) | |
tree | 975b65e8d15cb7c7a6ffc3f1b2b820b4b0da978d /bench/GrResourceCacheBench.cpp | |
parent | 85588344c3ef43768e27881f71079edb372119b5 (diff) |
Make GrResourceCache2 responsible for calling release, abandon, and ~.
BUG=skia:2889
TBR=robertphillips@google.com
NOTRY=true
Review URL: https://codereview.chromium.org/729683002
Diffstat (limited to 'bench/GrResourceCacheBench.cpp')
-rw-r--r-- | bench/GrResourceCacheBench.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bench/GrResourceCacheBench.cpp b/bench/GrResourceCacheBench.cpp index ef97ed8971..e1ec90d511 100644 --- a/bench/GrResourceCacheBench.cpp +++ b/bench/GrResourceCacheBench.cpp @@ -33,8 +33,6 @@ public: this->registerWithCache(); } - virtual ~StencilResource() { this->release(); } - static GrResourceKey ComputeKey(int width, int height, int sampleCnt) { return GrStencilBuffer::ComputeKey(width, height, sampleCnt); } @@ -58,8 +56,6 @@ public: this->registerWithCache(); } - virtual ~TextureResource() { this->release(); } - static GrResourceKey ComputeKey(const GrSurfaceDesc& desc) { GrCacheID::Key key; memset(&key, 0, sizeof(key)); |