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.cpp | |
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.cpp')
-rw-r--r-- | src/gpu/gl/GrGLStencilBuffer.cpp | 2 |
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; |