Home
last modified time | relevance | path

Searched refs:gMutex (Results 1 – 11 of 11) sorted by relevance

/external/skqp/src/core/
DSkResourceCache.cpp452 SK_DECLARE_STATIC_MUTEX(gMutex);
458 gMutex.assertHeld(); in get_cache()
470 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()
[all …]
DSkTypefaceCache.cpp65 SK_DECLARE_STATIC_MUTEX(gMutex);
68 SkAutoMutexAcquire ama(gMutex); in Add()
73 SkAutoMutexAcquire ama(gMutex); in FindByProcAndRef()
78 SkAutoMutexAcquire ama(gMutex); in PurgeAll()
/external/deqp-deps/glslang/glslang/OSDependent/Unix/
Dossource.cpp172 pthread_mutex_t gMutex; variable
180 pthread_mutex_init(&gMutex, &mutexattr); in InitGlobalLock()
185 pthread_mutex_lock(&gMutex); in GetGlobalLock()
190 pthread_mutex_unlock(&gMutex); in ReleaseGlobalLock()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/OSDependent/Unix/
Dossource.cpp172 pthread_mutex_t gMutex; variable
180 pthread_mutex_init(&gMutex, &mutexattr); in InitGlobalLock()
185 pthread_mutex_lock(&gMutex); in GetGlobalLock()
190 pthread_mutex_unlock(&gMutex); in ReleaseGlobalLock()
/external/skia/tools/skqp/src/
Djni_skqp.cpp58 static std::mutex gMutex; variable
117 std::lock_guard<std::mutex> lock(gMutex); in Java_org_skia_skqp_SkQP_nInit()
143 std::lock_guard<std::mutex> lock(gMutex); in Java_org_skia_skqp_SkQP_nExecuteGM()
163 std::lock_guard<std::mutex> lock(gMutex); in Java_org_skia_skqp_SkQP_nExecuteUnitTest()
179 std::lock_guard<std::mutex> lock(gMutex); in Java_org_skia_skqp_SkQP_nMakeReport()
/external/skqp/tools/skqp/src/
Djni_skqp.cpp58 static std::mutex gMutex; variable
117 std::lock_guard<std::mutex> lock(gMutex); in Java_org_skia_skqp_SkQP_nInit()
143 std::lock_guard<std::mutex> lock(gMutex); in Java_org_skia_skqp_SkQP_nExecuteGM()
163 std::lock_guard<std::mutex> lock(gMutex); in Java_org_skia_skqp_SkQP_nExecuteUnitTest()
179 std::lock_guard<std::mutex> lock(gMutex); in Java_org_skia_skqp_SkQP_nMakeReport()
/external/skqp/src/ports/
DSkTLS_win.cpp16 SK_DECLARE_STATIC_MUTEX(gMutex);
24 SkAutoMutexAcquire tmp(gMutex); in PlatformGetSpecific()
/external/skqp/dm/
DDM.cpp153 static SkSpinlock gMutex; variable
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/skia/dm/
DDM.cpp238 static SkSpinlock* gMutex = new SkSpinlock; variable
247 SkAutoSpinlock lock(*gMutex); in done()
265 SkAutoSpinlock lock(*gMutex); in done()
277 SkAutoSpinlock lock(*gMutex); in start()
307 SkAutoSpinlock lock(*gMutex); in crash_handler()
346 SkAutoSpinlock lock(*gMutex); in crash_handler()
1564 SkAutoSpinlock lock(*gMutex); in main()
/external/skqp/src/gpu/gl/
DGrGLCreateNullInterface.cpp762 static SkMutex gMutex; in CombinedExtensionString() local
763 gMutex.acquire(); in CombinedExtensionString()
774 gMutex.release(); in CombinedExtensionString()
/external/skqp/tests/
DPathOpsExtendedTest.cpp754 SK_DECLARE_STATIC_MUTEX(gMutex);
758 SkAutoMutexAcquire lock(gMutex); in initializeTests()