Lines Matching refs:hdc
120 DrvCreateContext(HDC hdc)
122 return DrvCreateLayerContext( hdc, 0 );
127 DrvCreateLayerContext(HDC hdc, INT iLayerPlane)
129 struct stw_context *ctx = stw_create_context_attribs(hdc, iLayerPlane, 0, 1, 0, 0,
149 get_matching_pixel_format(HDC hdc)
151 int iPixelFormat = GetPixelFormat(hdc);
156 if (!DescribePixelFormat(hdc, iPixelFormat, sizeof(pfd), &pfd))
158 return stw_pixelformat_choose(hdc, &pfd);
167 stw_create_context_attribs(HDC hdc, INT iLayerPlane, struct stw_context *shareCtx,
191 fb = stw_framebuffer_from_hdc(hdc);
201 iPixelFormat = get_matching_pixel_format(hdc);
216 ctx->hDrawDC = hdc;
217 ctx->hReadDC = hdc;
996 DrvSetContext(HDC hdc, DHGLRC dhglrc, PFN_SETPROCTABLE pfnSetProcTable)
1000 if (!stw_make_current_by_handles(hdc, hdc, dhglrc))