Lines Matching full:contexts

135 	std::vector<eglw::EGLContext>	contexts;  in iterate()  local
138 contexts.reserve(maxContextCount); in iterate()
140 …maxContextCount << (m_sharing == SHARING_SHARED ? " shared " : " ") << "contexts." << TestLog::End… in iterate()
141 …log << TestLog::Message << "Requiring that at least " << minContextCount << " contexts can be crea… in iterate()
152 …text sharedContext = (m_sharing == SHARING_SHARED && contextCount > 0 ? contexts[rng.getUint32() %… in iterate()
158 …log << TestLog::Message << "Got error after creating " << contextCount << " contexts." << TestLog:… in iterate()
163 resultCollector.fail("Couldn't create the minimum number of contexts required."); in iterate()
177 contexts.push_back(context); in iterate()
202 for (size_t contextNdx = 0; contextNdx < contexts.size(); contextNdx++) in iterate()
204 EGLU_CHECK_CALL(egl, destroyContext(*display, contexts[contextNdx])); in iterate()
205 contexts[contextNdx] = EGL_NO_CONTEXT; in iterate()
213 for (size_t contextNdx = 0; contextNdx < contexts.size(); contextNdx++) in iterate()
215 if (contexts[contextNdx] != EGL_NO_CONTEXT) in iterate()
216 EGLU_CHECK_CALL(egl, destroyContext(*display, contexts[contextNdx])); in iterate()
235 …RING_NONE, MultiContextTest::USE_NONE, "non_shared", "Create multiple non-shared contexts.")); in createMultiContextTests()
236 …::SHARING_SHARED, MultiContextTest::USE_NONE, "shared", "Create multiple shared contexts.")); in createMultiContextTests()
238 …iContextTest::USE_MAKECURRENT, "non_shared_make_current", "Create multiple non-shared contexts.")); in createMultiContextTests()
239 …D, MultiContextTest::USE_MAKECURRENT, "shared_make_current", "Create multiple shared contexts.")); in createMultiContextTests()
241 …NONE, MultiContextTest::USE_CLEAR, "non_shared_clear", "Create multiple non-shared contexts.")); in createMultiContextTests()
242 …RING_SHARED, MultiContextTest::USE_CLEAR, "shared_clear", "Create multiple shared contexts.")); in createMultiContextTests()