diff options
Diffstat (limited to 'include/gpu/GrGpuResource.h')
-rw-r--r-- | include/gpu/GrGpuResource.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/gpu/GrGpuResource.h b/include/gpu/GrGpuResource.h index 61849e7232..f20bad3e9f 100644 --- a/include/gpu/GrGpuResource.h +++ b/include/gpu/GrGpuResource.h @@ -80,14 +80,9 @@ public: #endif } - protected: GrIORef() : fRefCnt(1), fPendingReads(0), fPendingWrites(0) {} - bool internalHasPendingRead() const { return SkToBool(fPendingReads); } - bool internalHasPendingWrite() const { return SkToBool(fPendingWrites); } - bool internalHasPendingIO() const { return SkToBool(fPendingWrites | fPendingReads); } - private: void addPendingRead() const { this->validate(); |