Home
last modified time | relevance | path

Searched refs:Mutex (Results 1 – 25 of 26) sorted by relevance

12

/sdk/emulator/opengl/shared/emugl/common/
Dmutex_unittest.cpp24 TEST(Mutex, ConstructionDestruction) { in TEST() argument
25 Mutex lock; in TEST()
29 TEST(Mutex, LockUnlock) { in TEST() argument
30 Mutex lock; in TEST()
36 TEST(Mutex, AutoLock) { in TEST() argument
37 Mutex mutex; in TEST()
38 Mutex::AutoLock lock(mutex); in TEST()
46 Mutex mutex;
61 TEST(Mutex, Synchronization) { in TEST() argument
84 Mutex::AutoLock lock(p->mutex); in threadAutoLockFunction()
[all …]
Dmutex.h28 class Mutex {
31 Mutex() { in Mutex() function
40 ~Mutex() { in ~Mutex()
70 AutoLock(Mutex& mutex) : mMutex(&mutex) { in AutoLock()
78 Mutex* mMutex;
Dthread_store_unittest.cpp34 Mutex::AutoLock lock(mMutex); in StaticCounter()
41 Mutex::AutoLock lock(mMutex); in ~StaticCounter()
46 Mutex::AutoLock lock(mMutex); in reset()
52 Mutex::AutoLock lock(mMutex); in getCreationCount()
57 Mutex::AutoLock lock(mMutex); in getDestructionCount()
67 static Mutex mMutex;
73 Mutex StaticCounter::mMutex;
Dlazy_instance_unittest.cpp39 Mutex::AutoLock lock(mMutex); in StaticCounter()
44 Mutex::AutoLock lock(mMutex); in getValue()
49 static Mutex mMutex;
56 Mutex StaticCounter::mMutex;
98 Mutex mMutex;
108 Mutex::AutoLock lock(state->mMutex); in threadFunc()
/sdk/emulator/opengl/host/libs/Translator/EGL/
DEglDisplay.cpp33 emugl::Mutex::AutoLock mutex(m_lock); in ~EglDisplay()
61 emugl::Mutex::AutoLock mutex(m_lock); in initialize()
70 emugl::Mutex::AutoLock mutex(m_lock); in terminate()
130 emugl::Mutex::AutoLock mutex(m_lock); in getConfig()
142 emugl::Mutex::AutoLock mutex(m_lock); in getSurface()
152 emugl::Mutex::AutoLock mutex(m_lock); in getContext()
162 emugl::Mutex::AutoLock mutex(m_lock); in removeSurface()
174 emugl::Mutex::AutoLock mutex(m_lock); in removeSurface()
191 emugl::Mutex::AutoLock mutex(m_lock); in removeContext()
203 emugl::Mutex::AutoLock mutex(m_lock); in removeContext()
[all …]
DEglGlobalInfo.cpp54 emugl::Mutex::AutoLock mutex(m_lock); in addDisplay()
71 emugl::Mutex::AutoLock mutex(m_lock); in removeDisplay()
83 emugl::Mutex::AutoLock mutex(m_lock); in getDisplay()
91 emugl::Mutex::AutoLock mutex(m_lock); in getDisplay()
102 emugl::Mutex::AutoLock mutex(m_lock); in initClientExtFuncTable()
DEglX11Api.cpp33 static emugl::Mutex s_lock;
54 emugl::Mutex ErrorHandler::s_lock;
57 emugl::Mutex::AutoLock mutex(s_lock); in ErrorHandler()
64 emugl::Mutex::AutoLock mutex(s_lock); in ~ErrorHandler()
DEglGlobalInfo.h62 emugl::Mutex m_lock;
DEglDisplay.h85 emugl::Mutex m_lock;
DEglImp.cpp53 emugl::Mutex s_eglLock;
57 emugl::Mutex::AutoLock mutex(s_eglLock); in initGlobalInfo()
/sdk/emulator/opengl/host/libs/Translator/GLcommon/
DobjectNameManager.cpp128 emugl::Mutex::AutoLock _lock(m_lock); in genName()
167 emugl::Mutex::AutoLock _lock(m_lock); in ~ShareGroup()
182 emugl::Mutex::AutoLock _lock(m_lock); in genName()
193 emugl::Mutex::AutoLock _lock(m_lock); in genGlobalName()
203 emugl::Mutex::AutoLock _lock(m_lock); in getGlobalName()
213 emugl::Mutex::AutoLock _lock(m_lock); in getLocalName()
222 emugl::Mutex::AutoLock _lock(m_lock); in deleteName()
235 emugl::Mutex::AutoLock _lock(m_lock); in isObject()
246 emugl::Mutex::AutoLock _lock(m_lock); in replaceGlobalName()
257 emugl::Mutex::AutoLock _lock(m_lock); in setObjectData()
[all …]
DGLDispatch.cpp71 emugl::Mutex GLDispatch::s_lock;
302 emugl::Mutex::AutoLock mutex(s_lock); in dispatchFuncs()
/sdk/emulator/opengl/shared/OpenglCodecCommon/
DGLSharedGroup.cpp231 emugl::Mutex::AutoLock _lock(m_lock); in getBufferData()
237 emugl::Mutex::AutoLock _lock(m_lock); in addBufferData()
243 emugl::Mutex::AutoLock _lock(m_lock); in updateBufferData()
249 emugl::Mutex::AutoLock _lock(m_lock); in subUpdateBufferData()
260 emugl::Mutex::AutoLock _lock(m_lock); in deleteBufferData()
266 emugl::Mutex::AutoLock _lock(m_lock); in addProgramData()
272 emugl::Mutex::AutoLock _lock(m_lock); in initProgramData()
281 emugl::Mutex::AutoLock _lock(m_lock); in isProgramInitialized()
288 emugl::Mutex::AutoLock _lock(m_lock); in deleteProgramData()
294 emugl::Mutex::AutoLock _lock(m_lock); in attachShader()
[all …]
DGLSharedGroup.h107 mutable emugl::Mutex m_lock;
/sdk/emulator/opengl/tests/ut_renderer/
DRenderer.cpp59 emugl::Mutex::AutoLock(this->m_mutex); in createSurface()
78 emugl::Mutex::AutoLock(this->m_mutex); in destroySurface()
93 emugl::Mutex::AutoLock(this->m_mutex); in createContext()
118 emugl::Mutex::AutoLock(this->m_mutex); in destroyContext()
136 emugl::Mutex::AutoLock(this->m_mutex); in makeCurrent()
175 emugl::Mutex::AutoLock(this->m_mutex); in swapBuffers()
DRenderer.h60 emugl::Mutex m_mutex; // single global mutex for the renderer class;
/sdk/emulator/opengl/host/libs/libOpenglRender/
DFrameBuffer.cpp396 emugl::Mutex::AutoLock mutex(m_lock); in setPostCallback()
493 emugl::Mutex::AutoLock mutex(m_lock); in createColorBuffer()
508 emugl::Mutex::AutoLock mutex(m_lock); in createRenderContext()
530 emugl::Mutex::AutoLock mutex(m_lock); in createWindowSurface()
544 emugl::Mutex::AutoLock mutex(m_lock); in DestroyRenderContext()
550 emugl::Mutex::AutoLock mutex(m_lock); in DestroyWindowSurface()
556 emugl::Mutex::AutoLock mutex(m_lock); in openColorBuffer()
569 emugl::Mutex::AutoLock mutex(m_lock); in closeColorBuffer()
583 emugl::Mutex::AutoLock mutex(m_lock); in flushWindowSurfaceColorBuffer()
598 emugl::Mutex::AutoLock mutex(m_lock); in setWindowSurfaceColorBuffer()
[all …]
DFrameBuffer.h115 emugl::Mutex m_lock;
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/
DobjectNameManager.h132 emugl::Mutex m_lock;
207 emugl::Mutex m_lock;
265 emugl::Mutex m_lock;
DGLEScontext.h190 static emugl::Mutex s_lock;
DGLDispatch.h264 static emugl::Mutex s_lock;
/sdk/emulator/opengl/host/libs/Translator/GLES_V2/
DGLESv2Context.cpp21 emugl::Mutex::AutoLock mutex(s_lock); in init()
/sdk/emulator/opengl/host/libs/Translator/GLES_CM/
DGLDispatch.cpp54 emugl::Mutex::AutoLock mutex(m_lock); in dispatchFuncs()
DGLEScmContext.cpp26 emugl::Mutex::AutoLock mutex(s_lock); in init()
DGLDispatch.h155 emugl::Mutex m_lock;

12