aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLStencilBuffer.cpp
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.cpp
parent703d3c7093f1fb8a40a46d465d9dd5ae60a456d5 (diff)
Make GrGpuResource::gpuMemorySize non-virtual w/ onGpuMemorySize virtual impl
Diffstat (limited to 'src/gpu/gl/GrGLStencilBuffer.cpp')
-rw-r--r--src/gpu/gl/GrGLStencilBuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLStencilBuffer.cpp b/src/gpu/gl/GrGLStencilBuffer.cpp
index abcb3c4ba0..fd14ea01f2 100644
--- a/src/gpu/gl/GrGLStencilBuffer.cpp
+++ b/src/gpu/gl/GrGLStencilBuffer.cpp
@@ -13,7 +13,7 @@ GrGLStencilBuffer::~GrGLStencilBuffer() {
this->release();
}
-size_t GrGLStencilBuffer::gpuMemorySize() const {
+size_t GrGLStencilBuffer::onGpuMemorySize() const {
uint64_t size = this->width();
size *= this->height();
size *= fFormat.fTotalBits;