Home
last modified time | relevance | path

Searched refs:m_contexts (Results 1 – 6 of 6) sorted by relevance

/external/deqp/modules/egl/
DteglMemoryStressTests.cpp76 int getAllocationCount (void) const { return (int)(m_pbuffers.size() + m_contexts.size()); } in getAllocationCount()
77 int getContextCount (void) const { return (int)m_contexts.size(); } in getContextCount()
102 vector<EGLContext> m_contexts; member in deqp::egl::__anonf44a94a50111::MemoryAllocator
132 …for (vector<EGLContext>::const_iterator iter = m_contexts.begin(); iter != m_contexts.end(); ++ite… in ~MemoryAllocator()
135 m_contexts.clear(); in ~MemoryAllocator()
151 if (m_contexts.size() == 0 && m_pbuffers.size() == 0 && m_use) in allocateUntilFailure()
216 if (m_use && m_contexts.size() > 0) in allocatePBuffer()
218 EGLContext context = m_rnd.choose<EGLContext>(m_contexts.begin(), m_contexts.end()); in allocatePBuffer()
253 m_contexts.reserve(m_contexts.size() + 1); in allocateContext()
278 m_contexts.push_back(context); in allocateContext()
DteglMakeCurrentPerfTests.cpp98 vector<EGLContext> m_contexts; member in deqp::egl::MakeCurrentPerfCase
386 m_contexts.push_back(context); in createContexts()
393 if (m_contexts.size() > 0) in destroyContexts()
397 for (vector<EGLContext>::iterator iter = m_contexts.begin(); iter != m_contexts.end(); ++iter) in destroyContexts()
404 m_contexts.clear(); in destroyContexts()
415 …log << TestLog::Message << "Context count: " << m_contexts.size() << TestLog::EndMessage; in logTestInfo()
520 EGLContext context = m_contexts[m_rnd.getUint32() % m_contexts.size()]; in iterate()
DteglGLES2SharedRenderingPerfTests.cpp729 vector<TestContext*> m_contexts; member in deqp::egl::__anon48d7b8a70111::TestThread
750 : m_contexts (contexts) in TestThread()
764 m_contexts.clear(); in ~TestThread()
787 for (int contextNdx = 0; contextNdx < (int)m_contexts.size(); contextNdx++) in run()
788 m_contexts[contextNdx]->render(); in run()
820 vector<TestContext*> m_contexts; member in deqp::egl::__anon48d7b8a70111::SharedRenderingPerfCase
856m_contexts.push_back(new TestContext(m_eglTestCtx, m_display, eglConfig, m_config, m_config.shared… in init()
863 for (int threadNdx = 0; threadNdx < (int)m_contexts.size(); threadNdx++) in deinit()
865 delete m_contexts[threadNdx]; in deinit()
866 m_contexts[threadNdx] = DE_NULL; in deinit()
[all …]
DteglGLES2SharingThreadedTests.cpp531 void addContext (SharedPtr<GLES2Context> context) { m_contexts.push_back(context); } in addContext()
539 int getContextCount (void) const { return (int)m_contexts.size(); } in getContextCount()
544 std::vector<SharedPtr<GLES2Context> > m_contexts; member in deqp::egl::GLES2ThreadTest::EGLResourceManager
558 SharedPtr<GLES2Context> context = m_contexts[index]; in popContext()
559 m_contexts.erase(m_contexts.begin() + index); in popContext()
/external/v8/src/inspector/
Dv8-inspector-impl.cc230 ContextsByGroupMap::const_iterator contextGroupIt = m_contexts.find(groupId); in getContext()
231 if (contextGroupIt == m_contexts.end()) return nullptr; in getContext()
244 ContextsByGroupMap::iterator contextIt = m_contexts.find(info.contextGroupId); in contextCreated()
245 if (contextIt == m_contexts.end()) in contextCreated()
246 contextIt = m_contexts in contextCreated()
284 m_contexts.erase(contextGroupId); in resetContextGroup()
382 m_contexts[contextGroupId]->erase(contextId); in discardInspectedContext()
383 if (m_contexts[contextGroupId]->empty()) m_contexts.erase(contextGroupId); in discardInspectedContext()
388 ContextsByGroupMap::iterator iter = m_contexts.find(contextGroupId); in contextGroup()
389 return iter == m_contexts.end() ? nullptr : iter->second.get(); in contextGroup()
Dv8-inspector-impl.h147 ContextsByGroupMap m_contexts; variable