Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkRemoteGlyphCache.h85 using SkDiscardableHandleId = uint32_t; variable
98 virtual SkDiscardableHandleId createHandle() = 0;
106 virtual bool lockHandle(SkDiscardableHandleId) = 0;
111 virtual bool isHandleDeleted(SkDiscardableHandleId) { return false; } in isHandleDeleted() argument
183 virtual bool deleteHandle(SkDiscardableHandleId) = 0;
DSkRemoteGlyphCacheImpl.h23 SkDiscardableHandleId discardableHandleId);
28 SkDiscardableHandleId discardableHandleId() const { return fDiscardableHandleId; } in discardableHandleId()
76 const SkDiscardableHandleId fDiscardableHandleId;
DSkRemoteGlyphCache.cpp188 StrikeSpec(SkFontID typefaceID_, SkDiscardableHandleId discardableHandleId_) in StrikeSpec()
191 SkDiscardableHandleId discardableHandleId = 0u;
569 DiscardableStrikePinner(SkDiscardableHandleId discardableHandleId, in DiscardableStrikePinner()
577 const SkDiscardableHandleId fDiscardableHandleId;
/external/skia/src/core/
DSkRemoteGlyphCache.h87 using SkDiscardableHandleId = uint32_t; variable
100 virtual SkDiscardableHandleId createHandle() = 0;
108 virtual bool lockHandle(SkDiscardableHandleId) = 0;
113 virtual bool isHandleDeleted(SkDiscardableHandleId) { return false; } in isHandleDeleted() argument
193 virtual bool deleteHandle(SkDiscardableHandleId) = 0;
DSkRemoteGlyphCacheImpl.h22 SkDiscardableHandleId discardableHandleId);
27 SkDiscardableHandleId discardableHandleId() const { return fDiscardableHandleId; } in discardableHandleId()
72 const SkDiscardableHandleId fDiscardableHandleId;
DSkRemoteGlyphCache.cpp185 StrikeSpec(SkFontID typefaceID_, SkDiscardableHandleId discardableHandleId_) in StrikeSpec()
188 SkDiscardableHandleId discardableHandleId = 0u;
639 DiscardableStrikePinner(SkDiscardableHandleId discardableHandleId, in DiscardableStrikePinner()
647 const SkDiscardableHandleId fDiscardableHandleId;
/external/skqp/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
/external/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
/external/skia/tests/
DSkRemoteGlyphCacheTest.cpp32 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;
/external/skqp/tests/
DSkRemoteGlyphCacheTest.cpp32 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;