Home
last modified time | relevance | path

Searched refs:SkAutoMutexAcquire (Results 1 – 25 of 32) sorted by relevance

12

/external/skqp/include/private/
DSkMutex.h48 class SkAutoMutexAcquire {
51 SkAutoMutexAcquire(T* mutex) : fMutex(mutex) { in SkAutoMutexAcquire() function
59 SkAutoMutexAcquire(T& mutex) : SkAutoMutexAcquire(&mutex) {} in SkAutoMutexAcquire() function
61 ~SkAutoMutexAcquire() { this->release(); } in ~SkAutoMutexAcquire()
74 #define SkAutoMutexAcquire(...) SK_REQUIRE_LOCAL_VAR(SkAutoMutexAcquire) macro
DSkMessageBus.h77 SkAutoMutexAcquire lock(bus->fInboxesMutex); in Inbox()
85 SkAutoMutexAcquire lock(bus->fInboxesMutex); in ~Inbox()
97 SkAutoMutexAcquire lock(fMessagesMutex); in receive()
105 SkAutoMutexAcquire lock(fMessagesMutex); in poll()
117 SkAutoMutexAcquire lock(bus->fInboxesMutex); in Post()
DGrSingleOwner.h31 SkAutoMutexAcquire lock(fMutex); in enter()
39 SkAutoMutexAcquire lock(fMutex); in exit()
/external/skqp/src/core/
DSkResourceCache.cpp470 SkAutoMutexAcquire am(gMutex); in GetTotalBytesUsed()
475 SkAutoMutexAcquire am(gMutex); in GetTotalByteLimit()
480 SkAutoMutexAcquire am(gMutex); in SetTotalByteLimit()
485 SkAutoMutexAcquire am(gMutex); in GetDiscardableFactory()
490 SkAutoMutexAcquire am(gMutex); in NewCachedData()
495 SkAutoMutexAcquire am(gMutex); in Dump()
500 SkAutoMutexAcquire am(gMutex); in SetSingleAllocationByteLimit()
505 SkAutoMutexAcquire am(gMutex); in GetSingleAllocationByteLimit()
510 SkAutoMutexAcquire am(gMutex); in GetEffectiveSingleAllocationByteLimit()
515 SkAutoMutexAcquire am(gMutex); in PurgeAll()
[all …]
DSkSharedMutex.cpp132 SkAutoMutexAcquire l(&fMu); in acquire()
162 SkAutoMutexAcquire l(&fMu); in release()
185 SkAutoMutexAcquire l(&fMu); in assertHeld()
195 SkAutoMutexAcquire l(&fMu); in acquireShared()
223 SkAutoMutexAcquire l(&fMu); in releaseShared()
238 SkAutoMutexAcquire l(&fMu); in assertHeldShared()
DSkTypefaceCache.cpp68 SkAutoMutexAcquire ama(gMutex); in Add()
73 SkAutoMutexAcquire ama(gMutex); in FindByProcAndRef()
78 SkAutoMutexAcquire ama(gMutex); in PurgeAll()
DSkImageFilterCache.cpp61 SkAutoMutexAcquire mutex(fMutex); in get()
74 SkAutoMutexAcquire mutex(fMutex); in set()
99 SkAutoMutexAcquire mutex(fMutex); in purge()
108 SkAutoMutexAcquire mutex(fMutex); in purgeByImageFilter()
DSkPixelRef.cpp80 SkAutoMutexAcquire lock(fGenIDChangeListenersMutex); in addGenIDChangeListener()
86 SkAutoMutexAcquire lock(fGenIDChangeListenersMutex); in callGenIDChangeListeners()
DSkBitmapCache.cpp94 SkAutoMutexAcquire ama(fMutex); in canBePurged()
108 SkAutoMutexAcquire ama(rec->fMutex); in ReleaseProc()
124 SkAutoMutexAcquire ama(fMutex); in install()
DSkScalerContext.cpp107 SkAutoMutexAcquire ama(gMaskGammaCacheMutex); in GetMaskPreBlend()
116 SkAutoMutexAcquire ama(gMaskGammaCacheMutex); in GetGammaLUTSize()
129 SkAutoMutexAcquire ama(gMaskGammaCacheMutex); in GetGammaLUTData()
/external/skqp/src/lazy/
DSkDiscardableMemoryPool.cpp172 SkAutoMutexAcquire autoMutexAcquire(fMutex); in make()
180 SkAutoMutexAcquire autoMutexAcquire(fMutex); in removeFromPool()
193 SkAutoMutexAcquire autoMutexAcquire(fMutex); in lock()
212 SkAutoMutexAcquire autoMutexAcquire(fMutex); in unlock()
221 SkAutoMutexAcquire autoMutexAcquire(fMutex); in setRAMBudget()
226 SkAutoMutexAcquire autoMutexAcquire(fMutex); in dumpPool()
/external/skqp/dm/
DDMJsonWriter.cpp27 SkAutoMutexAcquire lock(&gBitmapResultLock); in AddBitmapResult()
35 SkAutoMutexAcquire lock(gFailureLock); in AddTestFailure()
67 SkAutoMutexAcquire lock(&gBitmapResultLock); in DumpJson()
97 SkAutoMutexAcquire lock(gFailureLock); in DumpJson()
DDM.cpp138 SkAutoMutexAcquire lock(gFailuresMutex); in fail()
162 SkAutoMutexAcquire lock(gMutex); in done()
180 SkAutoMutexAcquire lock(gMutex); in done()
192 SkAutoMutexAcquire lock(gMutex); in start()
222 SkAutoMutexAcquire lock(gMutex); in crash_handler()
261 SkAutoMutexAcquire lock(gMutex); in crash_handler()
1399 SkAutoMutexAcquire lock(gMutex); in main()
/external/skqp/src/ports/
DSkFontConfigInterface.cpp17 SkAutoMutexAcquire ac(gFontConfigInterfaceMutex); in RefGlobal()
26 SkAutoMutexAcquire ac(gFontConfigInterfaceMutex); in SetGlobal()
DSkTLS_win.cpp24 SkAutoMutexAcquire tmp(gMutex); in PlatformGetSpecific()
DSkFontHost_FreeType.cpp718 SkAutoMutexAcquire ama(gFTMutex); in onFilterRec()
829 SkAutoMutexAcquire ac(gFTMutex); in SkScalerContext_FreeType()
1004 SkAutoMutexAcquire ac(gFTMutex); in ~SkScalerContext_FreeType()
1033 SkAutoMutexAcquire ac(gFTMutex); in generateCharToGlyph()
1045 SkAutoMutexAcquire ac(gFTMutex); in generateAdvance()
1150 SkAutoMutexAcquire ac(gFTMutex); in generateMetrics()
1306 SkAutoMutexAcquire ac(gFTMutex); in generateImage()
1339 SkAutoMutexAcquire ac(gFTMutex); in generatePath()
1380 SkAutoMutexAcquire ac(gFTMutex); in generateFontMetrics()
1823 SkAutoMutexAcquire libraryLock(fLibraryMutex); in recognizedFont()
[all …]
DSkFontMgr_FontConfigInterface.cpp197 SkAutoMutexAcquire ama(fMutex); in onMatchFamilyStyle()
298 SkAutoMutexAcquire ama(fMutex); in onLegacyMakeTypeface()
DSkRemotableFontMgr_win_dw.cpp61 SkAutoMutexAcquire ama(fDataIdCacheMutex); in FindOrAdd()
420 SkAutoMutexAcquire ama(fDataIdCacheMutex); in getData()
/external/skqp/tools/trace/
DSkChromeTracingTracer.cpp74 SkAutoMutexAcquire lock(fMutex); in appendEvent()
152 SkAutoMutexAcquire lock(fMutex); in updateTraceEventDuration()
290 SkAutoMutexAcquire lock(fMutex); in flush()
DSkEventTracingPriv.cpp60 SkAutoMutexAcquire lock(&fMutex); in getCategoryGroupEnabled()
/external/skqp/src/pdf/
DSkPDFDocument.cpp233 SkAutoMutexAcquire autoMutexAcquire(fMutex); in onBeginPage()
493 SkAutoMutexAcquire autoMutexAcquire(fMutex); in onClose()
/external/skqp/src/utils/win/
DSkDWriteFontFileStream.cpp201 SkAutoMutexAcquire ama(fStreamMutex); in ReadFileFragment()
/external/skqp/src/fonts/
DSkFontMgr_indirect.cpp84 SkAutoMutexAcquire ama(fDataCacheMutex); in createTypefaceFromFontId()
/external/skqp/tests/
DPathOpsExtendedTest.cpp379 SkAutoMutexAcquire autoM(compareDebugOut3); in comparePaths()
470 SkAutoMutexAcquire autoM(simplifyDebugOut); in testSimplify()
758 SkAutoMutexAcquire lock(gMutex); in initializeTests()
/external/skqp/src/codec/
DSkRawCodec.cpp116 SkAutoMutexAcquire lock(mutex); in PerformAreaTask()
119 SkAutoMutexAcquire lock(mutex); in PerformAreaTask()

12