Lines Matching refs:SkStrike
40 class SkStrike final : public SkRefCnt, public SkStrikeForGPU {
42 SkStrike(SkStrikeCache* strikeCache, in SkStrike() function
142 sk_sp<SkStrike> getUnderlyingStrike() const override { in getUnderlyingStrike()
150 SkStrike* fNext{nullptr};
151 SkStrike* fPrev{nullptr};
164 sk_sp<SkStrike> findStrike(const SkDescriptor& desc) SK_EXCLUDES(fLock);
166 sk_sp<SkStrike> createStrike(
171 sk_sp<SkStrike> findOrCreateStrike(const SkStrikeSpec& strikeSpec) SK_EXCLUDES(fLock);
194 friend class SkStrike; // for SkStrike::updateDelta
195 sk_sp<SkStrike> internalFindStrikeOrNull(const SkDescriptor& desc) SK_REQUIRES(fLock);
196 sk_sp<SkStrike> internalCreateStrike(
202 void internalRemoveStrike(SkStrike* strike) SK_REQUIRES(fLock);
203 void internalAttachToHead(sk_sp<SkStrike> strike) SK_REQUIRES(fLock);
213 void forEachStrike(std::function<void(const SkStrike&)> visitor) const SK_EXCLUDES(fLock);
216 SkStrike* fHead SK_GUARDED_BY(fLock) {nullptr}; in SK_GUARDED_BY()
217 SkStrike* fTail SK_GUARDED_BY(fLock) {nullptr}; in SK_GUARDED_BY()
219 static const SkDescriptor& GetKey(const sk_sp<SkStrike>& strike) { in GetKey()
226 SkTHashTable<sk_sp<SkStrike>, SkDescriptor, StrikeTraits> fStrikeLookup SK_GUARDED_BY(fLock);