Lines Matching refs:hdc

59  * the pixel format of the given hdc.
61 static GLuint ComputeVisBits( HDC hdc )
67 iPixelFormat = GetPixelFormat( hdc );
69 DescribePixelFormat( hdc, iPixelFormat, sizeof(pfd), &pfd );
110 PICDTABLE APIENTRY DrvSetContext(HDC hdc, HGLRC hglrc, void *callback)
118 /*crDebug( "DrvSetContext called(0x%x, 0x%x)", hdc, hglrc );*/
125 window = stubGetWindowInfo(hdc);
135 BOOL APIENTRY DrvSetPixelFormat(HDC hdc, int iPixelFormat)
138 crDebug( "DrvSetPixelFormat(0x%x, %i) called.", hdc, iPixelFormat );
147 HGLRC APIENTRY DrvCreateContext(HDC hdc)
154 crDebug( "DrvCreateContext(0x%x) called.", hdc);
160 sprintf(dpyName, "%d", hdc);
163 desiredVisual |= ComputeVisBits( hdc );
177 HGLRC APIENTRY DrvCreateLayerContext(HDC hdc, int iLayerPlane)
180 crDebug( "DrvCreateLayerContext(0x%x, %i) called.", hdc, iLayerPlane);
183 return DrvCreateContext(hdc);
185 crError( "DrvCreateLayerContext (%x,%x): unsupported", hdc, iLayerPlane);
191 BOOL APIENTRY DrvDescribeLayerPlane(HDC hdc,int iPixelFormat,
201 int APIENTRY DrvGetLayerPaletteEntries(HDC hdc, int iLayerPlane,
211 int APIENTRY DrvDescribePixelFormat(HDC hdc, int iPixelFormat, UINT nBytes, LPPIXELFORMATDESCRIPTOR pfd)
317 int APIENTRY DrvSetLayerPaletteEntries(HDC hdc, int iLayerPlane,
327 BOOL APIENTRY DrvRealizeLayerPalette(HDC hdc, int iLayerPlane, BOOL bRealize)
334 BOOL APIENTRY DrvSwapLayerBuffers(HDC hdc, UINT fuPlanes)
339 return DrvSwapBuffers(hdc);
349 BOOL APIENTRY DrvSwapBuffers(HDC hdc)
354 /*crDebug( "DrvSwapBuffers(0x%x) called", hdc );*/
355 window = stubGetWindowInfo(hdc);