Lines Matching refs:hdc
120 DrvCreateContext(HDC hdc) in DrvCreateContext() argument
122 return DrvCreateLayerContext( hdc, 0 ); in DrvCreateContext()
127 DrvCreateLayerContext(HDC hdc, INT iLayerPlane) in DrvCreateLayerContext() argument
129 return stw_create_context_attribs(hdc, iLayerPlane, 0, 1, 0, 0, in DrvCreateLayerContext()
141 get_matching_pixel_format(HDC hdc) in get_matching_pixel_format() argument
143 int iPixelFormat = GetPixelFormat(hdc); in get_matching_pixel_format()
148 if (!DescribePixelFormat(hdc, iPixelFormat, sizeof(pfd), &pfd)) in get_matching_pixel_format()
150 return stw_pixelformat_choose(hdc, &pfd); in get_matching_pixel_format()
162 stw_create_context_attribs(HDC hdc, INT iLayerPlane, DHGLRC hShareContext, in stw_create_context_attribs() argument
187 fb = stw_framebuffer_from_hdc( hdc ); in stw_create_context_attribs()
196 iPixelFormat = get_matching_pixel_format(hdc); in stw_create_context_attribs()
214 ctx->hDrawDC = hdc; in stw_create_context_attribs()
215 ctx->hReadDC = hdc; in stw_create_context_attribs()
946 DrvSetContext(HDC hdc, DHGLRC dhglrc, PFN_SETPROCTABLE pfnSetProcTable) in DrvSetContext() argument
950 if (!stw_make_current(hdc, hdc, dhglrc)) in DrvSetContext()