Home
last modified time | relevance | path

Searched refs:SkDiscardableHandleId (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/bench/
DSkGlyphCacheBench.cpp128 SkDiscardableHandleId createHandle() override { in createHandle()
135 bool lockHandle(SkDiscardableHandleId id) override { in lockHandle()
144 bool deleteHandle(SkDiscardableHandleId id) override { in deleteHandle()
155 bool isHandleDeleted(SkDiscardableHandleId id) override { in isHandleDeleted()
172 const SkTHashSet<SkDiscardableHandleId>& lockedHandles() const { in lockedHandles()
177 SkDiscardableHandleId handleCount() { in handleCount()
206 SkDiscardableHandleId fNextHandleId = 0u;
207 SkDiscardableHandleId fLastDeletedHandleId = 0u;
208 SkTHashSet<SkDiscardableHandleId> fLockedHandles;
/third_party/skia/src/core/
DSkRemoteGlyphCache.h31 using SkDiscardableHandleId = uint32_t; variable
43 SK_SPI virtual SkDiscardableHandleId createHandle() = 0;
51 SK_SPI virtual bool lockHandle(SkDiscardableHandleId) = 0;
56 SK_SPI virtual bool isHandleDeleted(SkDiscardableHandleId) { return false; } in isHandleDeleted() argument
112 virtual bool deleteHandle(SkDiscardableHandleId) = 0;
DSkRemoteGlyphCache.cpp184 StrikeSpec(SkFontID typefaceID_, SkDiscardableHandleId discardableHandleId_) in StrikeSpec()
187 SkDiscardableHandleId discardableHandleId = 0u;
241 SkDiscardableHandleId discardableHandleId);
245 SkDiscardableHandleId discardableHandleId() const { return fDiscardableHandleId; } in discardableHandleId()
326 const SkDiscardableHandleId fDiscardableHandleId;
867 DiscardableStrikePinner(SkDiscardableHandleId discardableHandleId, in DiscardableStrikePinner()
875 const SkDiscardableHandleId fDiscardableHandleId;
/third_party/skia/tools/
Dremote_demo.cpp34 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
/third_party/skia/tests/
DSkRemoteGlyphCacheTest.cpp37 SkDiscardableHandleId createHandle() override { in createHandle()
44 bool lockHandle(SkDiscardableHandleId id) override { in lockHandle()
53 bool deleteHandle(SkDiscardableHandleId id) override { in deleteHandle()
64 bool isHandleDeleted(SkDiscardableHandleId id) override { in isHandleDeleted()
81 const SkTHashSet<SkDiscardableHandleId>& lockedHandles() const { in lockedHandles()
86 SkDiscardableHandleId handleCount() { in handleCount()
115 SkDiscardableHandleId fNextHandleId = 0u;
116 SkDiscardableHandleId fLastDeletedHandleId = 0u;
117 SkTHashSet<SkDiscardableHandleId> fLockedHandles;