diff options
author | 2014-11-12 11:13:39 -0800 | |
---|---|---|
committer | 2014-11-12 11:13:39 -0800 | |
commit | 69ed47f42d4877c178fdc0031cb01af2966ae235 (patch) | |
tree | 4e3101aa7db2206eaacfcf29f422d1e953f2cb0c /src/gpu/gl/GrGLStencilBuffer.h | |
parent | 703d3c7093f1fb8a40a46d465d9dd5ae60a456d5 (diff) |
Make GrGpuResource::gpuMemorySize non-virtual w/ onGpuMemorySize virtual impl
BUG=skia:2889
Review URL: https://codereview.chromium.org/702413003
Diffstat (limited to 'src/gpu/gl/GrGLStencilBuffer.h')
-rw-r--r-- | src/gpu/gl/GrGLStencilBuffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGLStencilBuffer.h b/src/gpu/gl/GrGLStencilBuffer.h index 024890ddd7..53777e40c7 100644 --- a/src/gpu/gl/GrGLStencilBuffer.h +++ b/src/gpu/gl/GrGLStencilBuffer.h @@ -37,8 +37,6 @@ public: virtual ~GrGLStencilBuffer(); - virtual size_t gpuMemorySize() const SK_OVERRIDE; - GrGLuint renderbufferID() const { return fRenderbufferID; } @@ -51,6 +49,8 @@ protected: virtual void onAbandon() SK_OVERRIDE; private: + virtual size_t onGpuMemorySize() const SK_OVERRIDE; + Format fFormat; // may be zero for external SBs associated with external RTs // (we don't require the client to give us the id, just tell |