Lines Matching refs:contextNdx

794 	for (int contextNdx = 0; contextNdx < (int)m_sharedContexts.size(); contextNdx++)  in deinit()  local
796 if (m_sharedContexts[contextNdx] != EGL_NO_CONTEXT) in deinit()
798 egl.destroyContext(m_display, m_sharedContexts[contextNdx]); in deinit()
800 m_sharedContexts[contextNdx] = EGL_NO_CONTEXT; in deinit()
805 for (int contextNdx = 0; contextNdx < (int)m_contexts0.size(); contextNdx++) in deinit() local
807 if (m_contexts0[contextNdx] != EGL_NO_CONTEXT) in deinit()
809 egl.destroyContext(m_display, m_contexts0[contextNdx]); in deinit()
811 m_contexts0[contextNdx] = EGL_NO_CONTEXT; in deinit()
816 for (int contextNdx = 0; contextNdx < (int)m_contexts1.size(); contextNdx++) in deinit() local
818 if (m_contexts1[contextNdx] != EGL_NO_CONTEXT) in deinit()
820 egl.destroyContext(m_display, m_contexts1[contextNdx]); in deinit()
822 m_contexts1[contextNdx] = EGL_NO_CONTEXT; in deinit()
1243 const int contextNdx = rnd.getInt(0, (int)(contexts.size()-1)); in createDestroyObjects() local
1245 EGLU_CHECK_CALL(egl, destroyContext(m_display, contexts[contextNdx])); in createDestroyObjects()
1246 …:BeginMessage << "eglDestroyContext(" << m_display << ", " << contexts[contextNdx] << ")" << Thre… in createDestroyObjects()
1247 contexts.erase(contexts.begin() + contextNdx); in createDestroyObjects()
1282 for (int contextNdx = 0; contextNdx < (int)contexts.size(); contextNdx++) in pushObjectsToShared() local
1283 m_sharedContexts.push_back(contexts[contextNdx]); in pushObjectsToShared()
1320 for (int contextNdx = 0; contextNdx < contextCount; contextNdx++) in pullObjectsFromShared() local
1474 for (int contextNdx = 0; contextNdx < (int)contexts.size(); contextNdx++) in destroyObjects() local
1476 if (contexts[contextNdx] != EGL_NO_CONTEXT) in destroyObjects()
1478 EGLU_CHECK_CALL(egl, destroyContext(m_display, contexts[contextNdx])); in destroyObjects()
1479 …:BeginMessage << "eglDestroyContext(" << m_display << ", " << contexts[contextNdx] << ")" << Thre… in destroyObjects()
1480 contexts[contextNdx] = EGL_NO_CONTEXT; in destroyObjects()