Searched refs:hGLDC (Results 1 – 1 of 1) sorted by relevance
/external/opencv3/modules/highgui/src/ |
D | window_w32.cpp | 592 void createGlContext(HWND hWnd, HDC& hGLDC, HGLRC& hGLRC, bool& useGl) in createGlContext() argument 624 hGLDC = GetDC(hWnd); in createGlContext() 625 if (!hGLDC) in createGlContext() 628 PixelFormat = ChoosePixelFormat(hGLDC, &pfd); in createGlContext() 632 if (!SetPixelFormat(hGLDC, PixelFormat, &pfd)) in createGlContext() 635 hGLRC = wglCreateContext(hGLDC); in createGlContext() 639 if (!wglMakeCurrent(hGLDC, hGLRC)) in createGlContext() 722 HDC hGLDC; in cvNamedWindow() local 766 hGLDC = 0; in cvNamedWindow() 770 createGlContext(hWnd, hGLDC, hGLRC, useGl); in cvNamedWindow() [all …]
|