summaryrefslogtreecommitdiff
path: root/gpu/gl/GrGLStencilBuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/gl/GrGLStencilBuffer.cpp')
-rw-r--r--gpu/gl/GrGLStencilBuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/gl/GrGLStencilBuffer.cpp b/gpu/gl/GrGLStencilBuffer.cpp
index 33e346c6..abcb3c4b 100644
--- a/gpu/gl/GrGLStencilBuffer.cpp
+++ b/gpu/gl/GrGLStencilBuffer.cpp
@@ -13,7 +13,7 @@ GrGLStencilBuffer::~GrGLStencilBuffer() {
this->release();
}
-size_t GrGLStencilBuffer::sizeInBytes() const {
+size_t GrGLStencilBuffer::gpuMemorySize() const {
uint64_t size = this->width();
size *= this->height();
size *= fFormat.fTotalBits;