Lines Matching refs:dc
54 HDC dc = GetDC(fHWND);
56 fHGLRC = SkCreateWGLContext(dc, fDisplayParams.fMSAASampleCount, false /* deepColor */,
63 if (wglMakeCurrent(dc, fHGLRC)) {
69 fHGLRC = SkCreateWGLContext(dc, fDisplayParams.fMSAASampleCount, false /* deepColor */,
77 if (wglMakeCurrent(dc, fHGLRC)) {
84 int pixelFormat = GetPixelFormat(dc);
86 DescribePixelFormat(dc, pixelFormat, sizeof(pfd), &pfd);
91 if (extensions.hasExtension(dc, "WGL_ARB_multisample")) {
93 extensions.getPixelFormatAttribiv(dc,
121 HDC dc = GetDC((HWND)fHWND);
122 SwapBuffers(dc);
123 ReleaseDC((HWND)fHWND, dc);