aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLStencilBuffer.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2014-11-12 11:13:39 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-11-12 11:13:39 -0800
commit69ed47f42d4877c178fdc0031cb01af2966ae235 (patch)
tree4e3101aa7db2206eaacfcf29f422d1e953f2cb0c /src/gpu/gl/GrGLStencilBuffer.h
parent703d3c7093f1fb8a40a46d465d9dd5ae60a456d5 (diff)
Make GrGpuResource::gpuMemorySize non-virtual w/ onGpuMemorySize virtual impl
Diffstat (limited to 'src/gpu/gl/GrGLStencilBuffer.h')
-rw-r--r--src/gpu/gl/GrGLStencilBuffer.h4
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