Lines Matching refs:hdc
102 HDC hdc = GetDC(hwnd); in windows_create_context() local
106 SetPixelFormat(hdc, gc->pxfi, NULL); in windows_create_context()
108 gc->ctx = wglCreateContext(hdc); in windows_create_context()
113 ReleaseDC(hwnd, hdc); in windows_create_context()
163 HDC hdc = GetDC(hwnd); in windows_create_context_attribs() local
170 SetPixelFormat(hdc, gc->pxfi, NULL); in windows_create_context_attribs()
172 gc->ctx = wglCreateContextAttribsARB(hdc, shareContext, attribList); in windows_create_context_attribs()
174 ReleaseDC(hwnd, hdc); in windows_create_context_attribs()
317 HDC hdc = GetDC(hwnd); in windows_call_with_context() local
320 SetPixelFormat(hdc, 1, NULL); in windows_call_with_context()
321 HGLRC hglrc = wglCreateContext(hdc); in windows_call_with_context()
322 wglMakeCurrent(hdc, hglrc); in windows_call_with_context()
325 proc(hdc, args); in windows_call_with_context()
330 ReleaseDC(hwnd, hdc); in windows_call_with_context()
336 windows_check_render_test(HDC hdc, void *args) in windows_check_render_test() argument
366 windows_extensions_test(HDC hdc, void *args) in windows_extensions_test() argument
376 r->wgl_extensions = strdup(wglGetExtensionsStringARB(hdc)); in windows_extensions_test()