Lines Matching refs:dc
67 HDC dc = GetDC(fHWND);
69 fHGLRC = SkCreateWGLContext(dc, fDisplayParams.fMSAASampleCount, false /* deepColor */,
76 if (extensions.hasExtension(dc, "WGL_EXT_swap_control")) {
81 if (wglMakeCurrent(dc, fHGLRC)) {
87 fHGLRC = SkCreateWGLContext(dc, fDisplayParams.fMSAASampleCount, false /* deepColor */,
95 if (wglMakeCurrent(dc, fHGLRC)) {
102 int pixelFormat = GetPixelFormat(dc);
104 DescribePixelFormat(dc, pixelFormat, sizeof(pfd), &pfd);
108 if (extensions.hasExtension(dc, "WGL_ARB_multisample")) {
110 extensions.getPixelFormatAttribiv(dc,
138 HDC dc = GetDC((HWND)fHWND);
139 SwapBuffers(dc);
140 ReleaseDC((HWND)fHWND, dc);