diff options
Diffstat (limited to 'src/gpu/GrMemoryPool.h')
-rw-r--r-- | src/gpu/GrMemoryPool.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/GrMemoryPool.h b/src/gpu/GrMemoryPool.h index 67991d3fa0..15399b6852 100644 --- a/src/gpu/GrMemoryPool.h +++ b/src/gpu/GrMemoryPool.h @@ -146,6 +146,8 @@ public: void release(std::unique_ptr<GrOp> op); + bool isEmpty() const { return fMemoryPool.isEmpty(); } + private: GrMemoryPool fMemoryPool; }; |