summaryrefslogtreecommitdiff
path: root/gpu/gl/GrGLBufferImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/gl/GrGLBufferImpl.h')
-rw-r--r--gpu/gl/GrGLBufferImpl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/gl/GrGLBufferImpl.h b/gpu/gl/GrGLBufferImpl.h
index 148ca1b2..19d23e0d 100644
--- a/gpu/gl/GrGLBufferImpl.h
+++ b/gpu/gl/GrGLBufferImpl.h
@@ -53,6 +53,8 @@ private:
GrGLenum fBufferType; // GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER
void* fCPUData;
void* fLockPtr;
+ size_t fGLSizeInBytes; // In certain cases we make the size of the GL buffer object
+ // smaller or larger than the size in fDesc.
typedef SkNoncopyable INHERITED;
};