• Home
  • Raw
  • Download

Lines Matching refs:fLock

41     sk_sp<SkStrike> findStrike(const SkDescriptor& desc) SK_EXCLUDES(fLock);
46 std::unique_ptr<SkStrikePinner> = nullptr) SK_EXCLUDES(fLock);
48 sk_sp<SkStrike> findOrCreateStrike(const SkStrikeSpec& strikeSpec) SK_EXCLUDES(fLock);
51 const SkStrikeSpec& strikeSpec) override SK_EXCLUDES(fLock);
60 void purgeAll() SK_EXCLUDES(fLock); // does not change budget
62 int getCacheCountLimit() const SK_EXCLUDES(fLock);
63 int setCacheCountLimit(int limit) SK_EXCLUDES(fLock);
64 int getCacheCountUsed() const SK_EXCLUDES(fLock);
66 size_t getCacheSizeLimit() const SK_EXCLUDES(fLock);
67 size_t setCacheSizeLimit(size_t limit) SK_EXCLUDES(fLock);
68 size_t getTotalMemoryUsed() const SK_EXCLUDES(fLock);
73 sk_sp<SkStrike> internalFindStrikeOrNull(const SkDescriptor& desc) SK_REQUIRES(fLock);
77 std::unique_ptr<SkStrikePinner> = nullptr) SK_REQUIRES(fLock);
80 void internalRemoveStrike(SkStrike* strike) SK_REQUIRES(fLock);
81 void internalAttachToHead(sk_sp<SkStrike> strike) SK_REQUIRES(fLock);
86 size_t internalPurge(size_t minBytesNeeded = 0) SK_REQUIRES(fLock);
89 void validate() const SK_REQUIRES(fLock);
91 void forEachStrike(std::function<void(const SkStrike&)> visitor) const SK_EXCLUDES(fLock);
93 mutable SkMutex fLock; variable
94 SkStrike* fHead SK_GUARDED_BY(fLock) {nullptr}; in SK_GUARDED_BY() argument
95 SkStrike* fTail SK_GUARDED_BY(fLock) {nullptr}; in SK_GUARDED_BY() argument
100 SkTHashTable<sk_sp<SkStrike>, SkDescriptor, StrikeTraits> fStrikeLookup SK_GUARDED_BY(fLock);
103 size_t fTotalMemoryUsed SK_GUARDED_BY(fLock) {0}; in SK_GUARDED_BY() argument
105 int32_t fCacheCount SK_GUARDED_BY(fLock) {0}; in SK_GUARDED_BY() argument