diff options
Diffstat (limited to 'src/gpu/GrBuffer.h')
-rw-r--r-- | src/gpu/GrBuffer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/GrBuffer.h b/src/gpu/GrBuffer.h index b2201a140f..33a7f354fa 100644 --- a/src/gpu/GrBuffer.h +++ b/src/gpu/GrBuffer.h @@ -123,6 +123,7 @@ private: virtual bool onUpdateData(const void* src, size_t srcSizeInBytes); size_t onGpuMemorySize() const override { return fSizeInBytes; } // TODO: zero for cpu backed? + const char* getResourceType() const override { return "Buffer Object"; } void computeScratchKey(GrScratchKey* key) const override; size_t fSizeInBytes; |