Lines Matching refs:windowNdx
862 for (int windowNdx = 0; windowNdx < (int)m_nativeWindows1.size(); windowNdx++) in deinit() local
864 if (m_nativeWindows1[windowNdx].second != EGL_NO_SURFACE) in deinit()
865 EGLU_CHECK_CALL(egl, destroySurface(m_display, m_nativeWindows1[windowNdx].second)); in deinit()
867 m_nativeWindows1[windowNdx].second = EGL_NO_SURFACE; in deinit()
868 delete m_nativeWindows1[windowNdx].first; in deinit()
869 m_nativeWindows1[windowNdx].first = NULL; in deinit()
873 for (int windowNdx = 0; windowNdx < (int)m_nativeWindows0.size(); windowNdx++) in deinit() local
875 if (m_nativeWindows0[windowNdx].second != EGL_NO_SURFACE) in deinit()
876 EGLU_CHECK_CALL(egl, destroySurface(m_display, m_nativeWindows0[windowNdx].second)); in deinit()
878 m_nativeWindows0[windowNdx].second = EGL_NO_SURFACE; in deinit()
879 delete m_nativeWindows0[windowNdx].first; in deinit()
880 m_nativeWindows0[windowNdx].first = NULL; in deinit()
884 for (int windowNdx = 0; windowNdx < (int)m_sharedNativeWindows.size(); windowNdx++) in deinit() local
886 if (m_sharedNativeWindows[windowNdx].second != EGL_NO_SURFACE) in deinit()
887 EGLU_CHECK_CALL(egl, destroySurface(m_display, m_sharedNativeWindows[windowNdx].second)); in deinit()
889 m_sharedNativeWindows[windowNdx].second = EGL_NO_SURFACE; in deinit()
890 delete m_sharedNativeWindows[windowNdx].first; in deinit()
891 m_sharedNativeWindows[windowNdx].first = NULL; in deinit()
1211 const int windowNdx = rnd.getInt(0, (int)(windows.size()-1)); in createDestroyObjects() local
1213 …g::BeginMessage << "eglDestroySurface(" << m_display << ", " << windows[windowNdx].second << ")" <… in createDestroyObjects()
1215 EGLU_CHECK_CALL(egl, destroySurface(m_display, windows[windowNdx].second)); in createDestroyObjects()
1216 windows[windowNdx].second = EGL_NO_SURFACE; in createDestroyObjects()
1217 delete windows[windowNdx].first; in createDestroyObjects()
1218 windows[windowNdx].first = DE_NULL; in createDestroyObjects()
1219 windows.erase(windows.begin() + windowNdx); in createDestroyObjects()
1272 for (int windowNdx = 0; windowNdx < (int)windows.size(); windowNdx++) in pushObjectsToShared() local
1273 m_sharedNativeWindows.push_back(windows[windowNdx]); in pushObjectsToShared()
1312 for (int windowNdx = 0; windowNdx < windowCount; windowNdx++) in pullObjectsFromShared() local
1440 for (int windowNdx = 0; windowNdx < (int)windows.size(); windowNdx++) in destroyObjects() local
1442 if (windows[windowNdx].second != EGL_NO_SURFACE) in destroyObjects()
1444 …g::BeginMessage << "eglDestroySurface(" << m_display << ", " << windows[windowNdx].second << ")" <… in destroyObjects()
1445 EGLU_CHECK_CALL(egl, destroySurface(m_display, windows[windowNdx].second)); in destroyObjects()
1446 windows[windowNdx].second = EGL_NO_SURFACE; in destroyObjects()
1449 if (windows[windowNdx].first) in destroyObjects()
1451 delete windows[windowNdx].first; in destroyObjects()
1452 windows[windowNdx].first = NULL; in destroyObjects()