8#ifndef SkDiscardableMemory_DEFINED
9#define SkDiscardableMemory_DEFINED
50 [[nodiscard]]
virtual bool lock() = 0;
static sk_sp< Effect > Create()
virtual SkDiscardableMemory * create(size_t bytes)=0
SkDiscardableMemory(const SkDiscardableMemory &)=delete
SkDiscardableMemory & operator=(const SkDiscardableMemory &)=delete
SkDiscardableMemory()=default
virtual ~SkDiscardableMemory()