Searched refs:m_contexts (Results 1 – 4 of 4) sorted by relevance
76 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::__anond7ec0e850111::MemoryAllocator132 …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()
98 vector<EGLContext> m_contexts; member in deqp::egl::MakeCurrentPerfCase386 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()
729 vector<TestContext*> m_contexts; member in deqp::egl::__anon049f02870111::TestThread751 : m_contexts (contexts) in TestThread()766 m_contexts.clear(); in ~TestThread()789 for (int contextNdx = 0; contextNdx < (int)m_contexts.size(); contextNdx++) in run()790 m_contexts[contextNdx]->render(); in run()824 vector<TestContext*> m_contexts; member in deqp::egl::__anon049f02870111::SharedRenderingPerfCase860 …m_contexts.push_back(new TestContext(m_eglTestCtx, m_display, eglConfig, m_config, m_config.shared… in init()867 for (int threadNdx = 0; threadNdx < (int)m_contexts.size(); threadNdx++) in deinit()869 delete m_contexts[threadNdx]; in deinit()870 m_contexts[threadNdx] = DE_NULL; in deinit()[all …]
531 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::EGLResourceManager558 SharedPtr<GLES2Context> context = m_contexts[index]; in popContext()559 m_contexts.erase(m_contexts.begin() + index); in popContext()