| Index: src/gpu/gl/GrGLBuffer.h
|
| diff --git a/src/gpu/gl/GrGLBuffer.h b/src/gpu/gl/GrGLBuffer.h
|
| index 84d05be382b74e1641e0e4c5da231362c3a56880..6a90d0334c79b78b75b484f879549baa9a16caf9 100644
|
| --- a/src/gpu/gl/GrGLBuffer.h
|
| +++ b/src/gpu/gl/GrGLBuffer.h
|
| @@ -25,7 +25,6 @@ public:
|
| }
|
|
|
| GrGLuint bufferID() const { return fBufferID; }
|
| - size_t baseOffset() const { return reinterpret_cast<size_t>(fCPUData); }
|
|
|
| /**
|
| * Returns the actual size of the underlying GL buffer object. In certain cases we may make this
|
| @@ -37,8 +36,7 @@ public:
|
| bool hasAttachedToTexture() const { return fHasAttachedToTexture; }
|
|
|
| protected:
|
| - GrGLBuffer(GrGLGpu*, size_t size, GrBufferType intendedType, GrAccessPattern, bool cpuBacked,
|
| - const void* data);
|
| + GrGLBuffer(GrGLGpu*, size_t size, GrBufferType intendedType, GrAccessPattern, const void* data);
|
|
|
| void onAbandon() override;
|
| void onRelease() override;
|
| @@ -57,10 +55,8 @@ private:
|
| void validate() const;
|
| #endif
|
|
|
| - void* fCPUData;
|
| GrBufferType fIntendedType;
|
| GrGLuint fBufferID;
|
| - size_t fSizeInBytes;
|
| GrGLenum fUsage;
|
| size_t fGLSizeInBytes;
|
| bool fHasAttachedToTexture;
|
|
|