Lines Matching refs:windowNdx
878 for (int windowNdx = 0; windowNdx < (int)m_nativeWindows1.size(); windowNdx++) in deinit() local
880 if (m_nativeWindows1[windowNdx].second != EGL_NO_SURFACE) in deinit()
881 EGLU_CHECK_CALL(egl, destroySurface(m_display, m_nativeWindows1[windowNdx].second)); in deinit()
883 m_nativeWindows1[windowNdx].second = EGL_NO_SURFACE; in deinit()
884 delete m_nativeWindows1[windowNdx].first; in deinit()
885 m_nativeWindows1[windowNdx].first = NULL; in deinit()
889 for (int windowNdx = 0; windowNdx < (int)m_nativeWindows0.size(); windowNdx++) in deinit() local
891 if (m_nativeWindows0[windowNdx].second != EGL_NO_SURFACE) in deinit()
892 EGLU_CHECK_CALL(egl, destroySurface(m_display, m_nativeWindows0[windowNdx].second)); in deinit()
894 m_nativeWindows0[windowNdx].second = EGL_NO_SURFACE; in deinit()
895 delete m_nativeWindows0[windowNdx].first; in deinit()
896 m_nativeWindows0[windowNdx].first = NULL; in deinit()
900 for (int windowNdx = 0; windowNdx < (int)m_sharedNativeWindows.size(); windowNdx++) in deinit() local
902 if (m_sharedNativeWindows[windowNdx].second != EGL_NO_SURFACE) in deinit()
903 EGLU_CHECK_CALL(egl, destroySurface(m_display, m_sharedNativeWindows[windowNdx].second)); in deinit()
905 m_sharedNativeWindows[windowNdx].second = EGL_NO_SURFACE; in deinit()
906 delete m_sharedNativeWindows[windowNdx].first; in deinit()
907 m_sharedNativeWindows[windowNdx].first = NULL; in deinit()
1227 const int windowNdx = rnd.getInt(0, (int)(windows.size()-1)); in createDestroyObjects() local
1229 …g::BeginMessage << "eglDestroySurface(" << m_display << ", " << windows[windowNdx].second << ")" <… in createDestroyObjects()
1231 EGLU_CHECK_CALL(egl, destroySurface(m_display, windows[windowNdx].second)); in createDestroyObjects()
1232 windows[windowNdx].second = EGL_NO_SURFACE; in createDestroyObjects()
1233 delete windows[windowNdx].first; in createDestroyObjects()
1234 windows[windowNdx].first = DE_NULL; in createDestroyObjects()
1235 windows.erase(windows.begin() + windowNdx); in createDestroyObjects()
1288 for (int windowNdx = 0; windowNdx < (int)windows.size(); windowNdx++) in pushObjectsToShared() local
1289 m_sharedNativeWindows.push_back(windows[windowNdx]); in pushObjectsToShared()
1328 for (int windowNdx = 0; windowNdx < windowCount; windowNdx++) in pullObjectsFromShared() local
1456 for (int windowNdx = 0; windowNdx < (int)windows.size(); windowNdx++) in destroyObjects() local
1458 if (windows[windowNdx].second != EGL_NO_SURFACE) in destroyObjects()
1460 …g::BeginMessage << "eglDestroySurface(" << m_display << ", " << windows[windowNdx].second << ")" <… in destroyObjects()
1461 EGLU_CHECK_CALL(egl, destroySurface(m_display, windows[windowNdx].second)); in destroyObjects()
1462 windows[windowNdx].second = EGL_NO_SURFACE; in destroyObjects()
1465 if (windows[windowNdx].first) in destroyObjects()
1467 delete windows[windowNdx].first; in destroyObjects()
1468 windows[windowNdx].first = NULL; in destroyObjects()