Home
last modified time | relevance | path

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

/external/skia/src/gpu/text/
DGrTextBlobCache.h27 const SkGlyphRunList& glyphRunList, sk_sp<GrTextBlob> blob) SK_EXCLUDES(fSpinLock);
29 sk_sp<GrTextBlob> find(const GrTextBlob::Key& key) SK_EXCLUDES(fSpinLock);
31 void remove(GrTextBlob* blob) SK_EXCLUDES(fSpinLock);
33 void freeAll() SK_EXCLUDES(fSpinLock);
45 void purgeStaleBlobs() SK_EXCLUDES(fSpinLock);
47 size_t usedBytes() const SK_EXCLUDES(fSpinLock);
49 bool isOverBudget() const SK_EXCLUDES(fSpinLock);
75 void internalPurgeStaleBlobs() SK_REQUIRES(fSpinLock);
77 sk_sp<GrTextBlob> internalAdd(sk_sp<GrTextBlob> blob) SK_REQUIRES(fSpinLock);
78 void internalRemove(GrTextBlob* blob) SK_REQUIRES(fSpinLock);
[all …]
DGrTextBlobCache.cpp25 SkAutoSpinlock lock{fSpinLock}; in addOrReturnExisting()
32 SkAutoSpinlock lock{fSpinLock}; in find()
48 SkAutoSpinlock lock{fSpinLock}; in remove()
70 SkAutoSpinlock lock{fSpinLock}; in freeAll()
82 SkAutoSpinlock lock{fSpinLock}; in purgeStaleBlobs()
109 SkAutoSpinlock lock{fSpinLock}; in usedBytes()
114 SkAutoSpinlock lock{fSpinLock}; in isOverBudget()
/external/skia/src/gpu/
DGrThreadSafeCache.h72 int numEntries() const SK_EXCLUDES(fSpinLock);
74 size_t approxBytesUsedForHash() const SK_EXCLUDES(fSpinLock);
77 void dropAllRefs() SK_EXCLUDES(fSpinLock);
81 void dropUniqueRefs(GrResourceCache* resourceCache) SK_EXCLUDES(fSpinLock);
84 void dropUniqueRefsOlderThan(GrStdSteadyClock::time_point purgeTime) SK_EXCLUDES(fSpinLock);
86 SkDEBUGCODE(bool has(const GrUniqueKey&) SK_EXCLUDES(fSpinLock);)
88 GrSurfaceProxyView find(const GrUniqueKey&) SK_EXCLUDES(fSpinLock);
90 const GrUniqueKey&) SK_EXCLUDES(fSpinLock);
92 GrSurfaceProxyView add(const GrUniqueKey&, const GrSurfaceProxyView&) SK_EXCLUDES(fSpinLock);
94 const GrUniqueKey&, const GrSurfaceProxyView&) SK_EXCLUDES(fSpinLock);
[all …]
DGrThreadSafeCache.cpp30 SkAutoSpinlock lock{fSpinLock}; in numEntries()
36 SkAutoSpinlock lock{fSpinLock}; in approxBytesUsedForHash()
43 SkAutoSpinlock lock{fSpinLock}; in dropAllRefs()
56 SkAutoSpinlock lock{fSpinLock}; in dropUniqueRefs()
79 SkAutoSpinlock lock{fSpinLock}; in dropUniqueRefsOlderThan()
123 SkAutoSpinlock lock{fSpinLock}; in has()
131 SkAutoSpinlock lock{fSpinLock}; in find()
140 SkAutoSpinlock lock{fSpinLock}; in findWithData()
209 SkAutoSpinlock lock{fSpinLock}; in add()
219 SkAutoSpinlock lock{fSpinLock}; in addWithData()
[all …]
/external/skia/tests/
DTextBlobCacheTest.cpp59 SkAutoSpinlock lock{cache->fSpinLock}; in SetBudget()