Searched refs:fLock (Results 1 – 11 of 11) sorted by relevance
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 budget62 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);[all …]
77 : fLock(lock) { in SkAutoSharedMutexExclusive()80 ~SkAutoSharedMutexExclusive() SK_RELEASE_CAPABILITY() { fLock.release(); } in SK_RELEASE_CAPABILITY()83 SkSharedMutex& fLock;89 : fLock(lock) { in SkAutoSharedMutexShared()96 ~SkAutoSharedMutexShared() SK_RELEASE_CAPABILITY() { fLock.releaseShared(); } in SK_RELEASE_CAPABILITY()99 SkSharedMutex& fLock;
39 SkAutoMutexExclusive ac(fLock); in findOrCreateStrike()92 SkAutoMutexExclusive ac(fLock); in findStrike()128 SkAutoMutexExclusive ac(fLock); in createStrike()144 SkAutoMutexExclusive ac(fLock); in purgeAll()149 SkAutoMutexExclusive ac(fLock); in getTotalMemoryUsed()154 SkAutoMutexExclusive ac(fLock); in getCacheCountUsed()159 SkAutoMutexExclusive ac(fLock); in getCacheCountLimit()164 SkAutoMutexExclusive ac(fLock); in setCacheSizeLimit()173 SkAutoMutexExclusive ac(fLock); in getCacheSizeLimit()182 SkAutoMutexExclusive ac(fLock); in setCacheCountLimit()[all …]
317 SkAutoMutexExclusive lock{fStrikeCache->fLock}; in updateMemoryUsage()
145 sk_sp<GrSurfaceProxy> chooseProxy(GrRecordingContext* context) SK_EXCLUDES(fLock);147 sk_sp<GrSurfaceProxy> switchToStableProxy() SK_EXCLUDES(fLock);149 sk_sp<GrSurfaceProxy> makeVolatileProxyStable() SK_EXCLUDES(fLock);151 bool surfaceMustCopyOnWrite(GrSurfaceProxy* surfaceProxy) const SK_EXCLUDES(fLock);154 size_t gpuMemorySize() const SK_EXCLUDES(fLock);155 skgpu::Mipmapped mipmapped() const SK_EXCLUDES(fLock);157 GrBackendFormat backendFormat() SK_EXCLUDES(fLock);161 mutable SkSpinlock fLock;162 sk_sp<GrSurfaceProxy> fStableProxy SK_GUARDED_BY(fLock);163 sk_sp<GrSurfaceProxy> fVolatileProxy SK_GUARDED_BY(fLock);
99 SkAutoSpinlock hold(fLock); in chooseProxy()117 SkAutoSpinlock hold(fLock); in switchToStableProxy()124 SkAutoSpinlock hold(fLock); in makeVolatileProxyStable()134 SkAutoSpinlock hold(fLock); in surfaceMustCopyOnWrite()139 SkAutoSpinlock hold(fLock); in gpuMemorySize()148 SkAutoSpinlock hold(fLock); in mipmapped()158 SkAutoSpinlock hold(fLock); in backendFormat()
60 SkAutoMutexExclusive locked(fLock); in add()65 SkAutoMutexExclusive locked(fLock); in remove()70 SkMutex fLock;71 SkTHashSet<const GrManagedResource*, GrManagedResource::Hash> fHashSet SK_GUARDED_BY(fLock);
1175 SkDiscardableHandleId createHandle() override SK_EXCLUDES(fLock) { in createHandle()1176 SkAutoMutexExclusive l(fLock); in createHandle()1182 bool lockHandle(SkDiscardableHandleId id) override SK_EXCLUDES(fLock) { in lockHandle()1183 SkAutoMutexExclusive l(fLock); in lockHandle()1190 bool deleteHandle(SkDiscardableHandleId id) override SK_EXCLUDES(fLock) { in deleteHandle()1195 SkStrikeClient::CacheMissType type, int fontSize) override SK_EXCLUDES(fLock) { in notifyCacheMiss()1196 SkAutoMutexExclusive l(fLock); in notifyCacheMiss()1200 bool isHandleDeleted(SkDiscardableHandleId id) override SK_EXCLUDES(fLock) { in isHandleDeleted()1208 mutable SkMutex fLock; member in skgpu::v1::__anon25b7f8250211::DiscardableManager1210 SkDiscardableHandleId fNextHandleId SK_GUARDED_BY(fLock) = 0u;[all …]
55 reinterpret_cast<const void **>(&fData), &fSize, &fLock, &fExists); in AutoDWriteTable()59 fFontFace->ReleaseFontTable(fLock); in ~AutoDWriteTable()69 void* fLock; variable
66 : fLock(maybe_lock) {67 if (fLock) {68 fLock->acquire();72 if (fLock) { in SK_RELEASE_CAPABILITY()73 fLock->release(); in SK_RELEASE_CAPABILITY()78 SkSharedMutex* fLock; member in __anonaec314400111::Exclusive83 : fLock(maybe_lock) {84 if (fLock) {85 fLock->acquireShared();93 if (fLock) { in SK_RELEASE_CAPABILITY()[all …]
415 Context(void* lock, IDWriteFontFace* face) : fLock(lock), fFontFace(SkRefComPtr(face)) {} in onCopyTableData()416 ~Context() { fFontFace->ReleaseFontTable(fLock); } in onCopyTableData()417 void* fLock; in onCopyTableData() member