Home
last modified time | relevance | path

Searched refs:hGLRC (Results 1 – 1 of 1) sorted by relevance

/external/opencv3/modules/highgui/src/
Dwindow_w32.cpp184 HGLRC hGLRC; member
592 void createGlContext(HWND hWnd, HDC& hGLDC, HGLRC& hGLRC, bool& useGl) in createGlContext() argument
635 hGLRC = wglCreateContext(hGLDC); in createGlContext()
636 if (!hGLRC) in createGlContext()
639 if (!wglMakeCurrent(hGLDC, hGLRC)) in createGlContext()
653 if (window->hGLRC) in releaseGlContext()
655 wglDeleteContext(window->hGLRC); in releaseGlContext()
656 window->hGLRC = NULL; in releaseGlContext()
676 if (!wglMakeCurrent(window->dc, window->hGLRC)) in drawGl()
696 if (!wglMakeCurrent(window->dc, window->hGLRC)) in resizeGl()
[all …]