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