diff options
Diffstat (limited to 'gpu/GrRenderTarget.cpp')
-rw-r--r-- | gpu/GrRenderTarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/GrRenderTarget.cpp b/gpu/GrRenderTarget.cpp index 9348dc16..13fc2290 100644 --- a/gpu/GrRenderTarget.cpp +++ b/gpu/GrRenderTarget.cpp @@ -63,7 +63,7 @@ void GrRenderTarget::discard() { context->discardRenderTarget(this); } -size_t GrRenderTarget::sizeInBytes() const { +size_t GrRenderTarget::gpuMemorySize() const { size_t colorBits; if (kUnknown_GrPixelConfig == fDesc.fConfig) { colorBits = 32; // don't know, make a guess |