Searched refs:SkDiscardableHandleId (Results 1 – 10 of 10) sorted by relevance
85 using SkDiscardableHandleId = uint32_t; variable98 virtual SkDiscardableHandleId createHandle() = 0;106 virtual bool lockHandle(SkDiscardableHandleId) = 0;111 virtual bool isHandleDeleted(SkDiscardableHandleId) { return false; } in isHandleDeleted() argument183 virtual bool deleteHandle(SkDiscardableHandleId) = 0;
23 SkDiscardableHandleId discardableHandleId);28 SkDiscardableHandleId discardableHandleId() const { return fDiscardableHandleId; } in discardableHandleId()76 const SkDiscardableHandleId fDiscardableHandleId;
188 StrikeSpec(SkFontID typefaceID_, SkDiscardableHandleId discardableHandleId_) in StrikeSpec()191 SkDiscardableHandleId discardableHandleId = 0u;569 DiscardableStrikePinner(SkDiscardableHandleId discardableHandleId, in DiscardableStrikePinner()577 const SkDiscardableHandleId fDiscardableHandleId;
87 using SkDiscardableHandleId = uint32_t; variable100 virtual SkDiscardableHandleId createHandle() = 0;108 virtual bool lockHandle(SkDiscardableHandleId) = 0;113 virtual bool isHandleDeleted(SkDiscardableHandleId) { return false; } in isHandleDeleted() argument193 virtual bool deleteHandle(SkDiscardableHandleId) = 0;
22 SkDiscardableHandleId discardableHandleId);27 SkDiscardableHandleId discardableHandleId() const { return fDiscardableHandleId; } in discardableHandleId()72 const SkDiscardableHandleId fDiscardableHandleId;
185 StrikeSpec(SkFontID typefaceID_, SkDiscardableHandleId discardableHandleId_) in StrikeSpec()188 SkDiscardableHandleId discardableHandleId = 0u;639 DiscardableStrikePinner(SkDiscardableHandleId discardableHandleId, in DiscardableStrikePinner()647 const SkDiscardableHandleId fDiscardableHandleId;
34 SkDiscardableHandleId createHandle() override { return ++nextHandleId; } in createHandle()35 bool lockHandle(SkDiscardableHandleId handleId) override { in lockHandle()41 SkDiscardableHandleId nextHandleId = 0u;42 SkDiscardableHandleId lastPurgedHandleId = 0u;63 bool deleteHandle(SkDiscardableHandleId) override { return allowPurging; } in deleteHandle() argument
32 SkDiscardableHandleId createHandle() override { in createHandle()37 bool lockHandle(SkDiscardableHandleId id) override { in lockHandle()44 bool deleteHandle(SkDiscardableHandleId id) override { return id <= fLastDeletedHandleId; } in deleteHandle()46 bool isHandleDeleted(SkDiscardableHandleId id) override { return id <= fLastDeletedHandleId; } in isHandleDeleted()53 const SkTHashSet<SkDiscardableHandleId>& lockedHandles() const { return fLockedHandles; } in lockedHandles()54 SkDiscardableHandleId handleCount() { return fNextHandleId; } in handleCount()64 SkDiscardableHandleId fNextHandleId = 0u;65 SkDiscardableHandleId fLastDeletedHandleId = 0u;66 SkTHashSet<SkDiscardableHandleId> fLockedHandles;