| Index: src/gpu/GrGeometryBuffer.h
|
| diff --git a/src/gpu/GrGeometryBuffer.h b/src/gpu/GrGeometryBuffer.h
|
| index c3e1c65252c4f7376a7abd016704308173abdf38..d6761831b1cdc9464fa46953cd97ce6da8050206 100644
|
| --- a/src/gpu/GrGeometryBuffer.h
|
| +++ b/src/gpu/GrGeometryBuffer.h
|
| @@ -98,9 +98,6 @@ public:
|
| return this->onUpdateData(src, srcSizeInBytes);
|
| }
|
|
|
| - // GrGpuResource overrides
|
| - virtual size_t gpuMemorySize() const { return fGpuMemorySize; }
|
| -
|
| protected:
|
| GrGeometryBuffer(GrGpu* gpu, bool isWrapped, size_t gpuMemorySize, bool dynamic, bool cpuBacked)
|
| : INHERITED(gpu, isWrapped)
|
| @@ -110,6 +107,8 @@ protected:
|
| , fCPUBacked(cpuBacked) {}
|
|
|
| private:
|
| + virtual size_t onGpuMemorySize() const { return fGpuMemorySize; }
|
| +
|
| virtual void* onMap() = 0;
|
| virtual void onUnmap() = 0;
|
| virtual bool onUpdateData(const void* src, size_t srcSizeInBytes) = 0;
|
|
|