Lines Matching refs:contextNdx
810 for (int contextNdx = 0; contextNdx < (int)m_sharedContexts.size(); contextNdx++) in deinit() local
812 if (m_sharedContexts[contextNdx] != EGL_NO_CONTEXT) in deinit()
814 egl.destroyContext(m_display, m_sharedContexts[contextNdx]); in deinit()
816 m_sharedContexts[contextNdx] = EGL_NO_CONTEXT; in deinit()
821 for (int contextNdx = 0; contextNdx < (int)m_contexts0.size(); contextNdx++) in deinit() local
823 if (m_contexts0[contextNdx] != EGL_NO_CONTEXT) in deinit()
825 egl.destroyContext(m_display, m_contexts0[contextNdx]); in deinit()
827 m_contexts0[contextNdx] = EGL_NO_CONTEXT; in deinit()
832 for (int contextNdx = 0; contextNdx < (int)m_contexts1.size(); contextNdx++) in deinit() local
834 if (m_contexts1[contextNdx] != EGL_NO_CONTEXT) in deinit()
836 egl.destroyContext(m_display, m_contexts1[contextNdx]); in deinit()
838 m_contexts1[contextNdx] = EGL_NO_CONTEXT; in deinit()
1259 const int contextNdx = rnd.getInt(0, (int)(contexts.size()-1)); in createDestroyObjects() local
1261 EGLU_CHECK_CALL(egl, destroyContext(m_display, contexts[contextNdx])); in createDestroyObjects()
1262 …:BeginMessage << "eglDestroyContext(" << m_display << ", " << contexts[contextNdx] << ")" << Thre… in createDestroyObjects()
1263 contexts.erase(contexts.begin() + contextNdx); in createDestroyObjects()
1298 for (int contextNdx = 0; contextNdx < (int)contexts.size(); contextNdx++) in pushObjectsToShared() local
1299 m_sharedContexts.push_back(contexts[contextNdx]); in pushObjectsToShared()
1336 for (int contextNdx = 0; contextNdx < contextCount; contextNdx++) in pullObjectsFromShared() local
1490 for (int contextNdx = 0; contextNdx < (int)contexts.size(); contextNdx++) in destroyObjects() local
1492 if (contexts[contextNdx] != EGL_NO_CONTEXT) in destroyObjects()
1494 EGLU_CHECK_CALL(egl, destroyContext(m_display, contexts[contextNdx])); in destroyObjects()
1495 …:BeginMessage << "eglDestroyContext(" << m_display << ", " << contexts[contextNdx] << ")" << Thre… in destroyObjects()
1496 contexts[contextNdx] = EGL_NO_CONTEXT; in destroyObjects()