Home
last modified time | relevance | path

Searched refs:sRegistry (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/host/gl/gl-host-common/opengl/
DGLProcessPipe.cpp37 static ProcessPipeIdRegistry sRegistry; variable
40 AutoLock lock(sRegistry.lock); in sIdExistsInRegistry()
41 auto it = sRegistry.ids.find(id); in sIdExistsInRegistry()
42 return it != sRegistry.ids.end(); in sIdExistsInRegistry()
99 AutoLock lock(sRegistry.lock); in GLProcessPipe()
100 sRegistry.ids.insert(m_uniqueId); in GLProcessPipe()
105 AutoLock lock(sRegistry.lock); in ~GLProcessPipe()
106 sRegistry.ids.erase(m_uniqueId); in ~GLProcessPipe()
172 AutoLock lock(sRegistry.lock); in forEachProcessPipeId()
173 for (auto id: sRegistry.ids) { in forEachProcessPipeId()
[all …]
/hardware/google/gfxstream/host/
DRenderThreadInfo.cpp38 static RenderThreadRegistry sRegistry; variable
42 AutoLock lock(sRegistry.lock); in RenderThreadInfo()
43 sRegistry.threadInfos.insert(this); in RenderThreadInfo()
48 AutoLock lock(sRegistry.lock); in ~RenderThreadInfo()
49 sRegistry.threadInfos.erase(this); in ~RenderThreadInfo()
58 AutoLock lock(sRegistry.lock); in forAllRenderThreadInfos()
59 for (auto info: sRegistry.threadInfos) { in forAllRenderThreadInfos()