8#ifndef GrBuffer_DEFINED
9#define GrBuffer_DEFINED
23 virtual void ref()
const = 0;
27 virtual size_t size()
const = 0;
GrBuffer(const GrBuffer &)=delete
GrBuffer & operator=(const GrBuffer &)=delete
virtual size_t size() const =0
virtual ~GrBuffer()=default
virtual void ref() const =0
virtual void unref() const =0
virtual bool isCpuBuffer() const =0