Commit 5721cbf0 authored by Alexandre Julliard's avatar Alexandre Julliard

gdi32: Add stubs for the OpenGL entry points in the DIB driver.

parent ccfbcfaf
...@@ -400,6 +400,158 @@ static UINT dibdrv_SetDIBColorTable( PHYSDEV dev, UINT pos, UINT count, const RG ...@@ -400,6 +400,158 @@ static UINT dibdrv_SetDIBColorTable( PHYSDEV dev, UINT pos, UINT count, const RG
return next->funcs->pSetDIBColorTable( next, pos, count, colors ); return next->funcs->pSetDIBColorTable( next, pos, count, colors );
} }
/***********************************************************************
* dibdrv_ChoosePixelFormat
*/
static INT dibdrv_ChoosePixelFormat( PHYSDEV dev, const PIXELFORMATDESCRIPTOR *pfd )
{
FIXME( "Not supported on DIB section\n" );
return 0;
}
/***********************************************************************
* dibdrv_DescribePixelFormat
*/
static INT dibdrv_DescribePixelFormat( PHYSDEV dev, INT fmt, UINT size, PIXELFORMATDESCRIPTOR *pfd )
{
FIXME( "Not supported on DIB section\n" );
return 0;
}
/***********************************************************************
* dibdrv_GetPixelFormat
*/
static INT dibdrv_GetPixelFormat( PHYSDEV dev )
{
FIXME( "Not supported on DIB section\n" );
return 0;
}
/***********************************************************************
* dibdrv_SetPixelFormat
*/
static BOOL dibdrv_SetPixelFormat( PHYSDEV dev, INT fmt, const PIXELFORMATDESCRIPTOR *pfd )
{
FIXME( "Not supported on DIB section\n" );
return FALSE;
}
/***********************************************************************
* dibdrv_SwapBuffers
*/
static BOOL dibdrv_SwapBuffers( PHYSDEV dev )
{
FIXME( "Not supported on DIB section\n" );
return FALSE;
}
/***********************************************************************
* dibdrv_wglCopyContext
*/
static BOOL dibdrv_wglCopyContext( HGLRC src, HGLRC dst, UINT mask )
{
FIXME( "Not supported on DIB section\n" );
return FALSE;
}
/***********************************************************************
* dibdrv_wglCreateContext
*/
static HGLRC dibdrv_wglCreateContext( PHYSDEV dev )
{
FIXME( "Not supported on DIB section\n" );
return 0;
}
/***********************************************************************
* dibdrv_wglCreateContextAttribsARB
*/
static HGLRC dibdrv_wglCreateContextAttribsARB( PHYSDEV dev, HGLRC ctx, const int *attribs )
{
FIXME( "Not supported on DIB section\n" );
return 0;
}
/***********************************************************************
* dibdrv_wglDeleteContext
*/
static BOOL dibdrv_wglDeleteContext( HGLRC ctx )
{
FIXME( "Not supported on DIB section\n" );
return FALSE;
}
/***********************************************************************
* dibdrv_wglGetPbufferDCARB
*/
static HDC dibdrv_wglGetPbufferDCARB( PHYSDEV dev, void *buffer )
{
FIXME( "Not supported on DIB section\n" );
return 0;
}
/***********************************************************************
* dibdrv_wglGetProcAddress
*/
static PROC dibdrv_wglGetProcAddress( LPCSTR name )
{
FIXME( "Not supported on DIB section\n" );
return NULL;
}
/***********************************************************************
* dibdrv_wglMakeContextCurrentARB
*/
static BOOL dibdrv_wglMakeContextCurrentARB( PHYSDEV draw_dev, PHYSDEV read_dev, HGLRC ctx )
{
FIXME( "Not supported on DIB section\n" );
return FALSE;
}
/***********************************************************************
* dibdrv_wglMakeCurrent
*/
static BOOL dibdrv_wglMakeCurrent( PHYSDEV dev, HGLRC ctx )
{
FIXME( "Not supported on DIB section\n" );
return FALSE;
}
/***********************************************************************
* dibdrv_wglSetPixelFormatWINE
*/
static BOOL dibdrv_wglSetPixelFormatWINE( PHYSDEV dev, INT fmt, const PIXELFORMATDESCRIPTOR *pfd )
{
FIXME( "Not supported on DIB section\n" );
return FALSE;
}
/***********************************************************************
* dibdrv_wglShareLists
*/
static BOOL dibdrv_wglShareLists( HGLRC ctx1, HGLRC ctx2 )
{
FIXME( "Not supported on DIB section\n" );
return FALSE;
}
/***********************************************************************
* dibdrv_wglUseFontBitmapsA
*/
static BOOL dibdrv_wglUseFontBitmapsA( PHYSDEV dev, DWORD first, DWORD count, DWORD base )
{
FIXME( "Not supported on DIB section\n" );
return FALSE;
}
/***********************************************************************
* dibdrv_wglUseFontBitmapsW
*/
static BOOL dibdrv_wglUseFontBitmapsW( PHYSDEV dev, DWORD first, DWORD count, DWORD base )
{
FIXME( "Not supported on DIB section\n" );
return FALSE;
}
const struct gdi_dc_funcs dib_driver = const struct gdi_dc_funcs dib_driver =
{ {
...@@ -411,7 +563,7 @@ const struct gdi_dc_funcs dib_driver = ...@@ -411,7 +563,7 @@ const struct gdi_dc_funcs dib_driver =
NULL, /* pArcTo */ NULL, /* pArcTo */
NULL, /* pBeginPath */ NULL, /* pBeginPath */
dibdrv_BlendImage, /* pBlendImage */ dibdrv_BlendImage, /* pBlendImage */
NULL, /* pChoosePixelFormat */ dibdrv_ChoosePixelFormat, /* pChoosePixelFormat */
NULL, /* pChord */ NULL, /* pChord */
NULL, /* pCloseFigure */ NULL, /* pCloseFigure */
dibdrv_CopyBitmap, /* pCopyBitmap */ dibdrv_CopyBitmap, /* pCopyBitmap */
...@@ -422,7 +574,7 @@ const struct gdi_dc_funcs dib_driver = ...@@ -422,7 +574,7 @@ const struct gdi_dc_funcs dib_driver =
dibdrv_DeleteBitmap, /* pDeleteBitmap */ dibdrv_DeleteBitmap, /* pDeleteBitmap */
dibdrv_DeleteDC, /* pDeleteDC */ dibdrv_DeleteDC, /* pDeleteDC */
NULL, /* pDeleteObject */ NULL, /* pDeleteObject */
NULL, /* pDescribePixelFormat */ dibdrv_DescribePixelFormat, /* pDescribePixelFormat */
NULL, /* pDeviceCapabilities */ NULL, /* pDeviceCapabilities */
NULL, /* pEllipse */ NULL, /* pEllipse */
NULL, /* pEndDoc */ NULL, /* pEndDoc */
...@@ -458,7 +610,7 @@ const struct gdi_dc_funcs dib_driver = ...@@ -458,7 +610,7 @@ const struct gdi_dc_funcs dib_driver =
dibdrv_GetNearestColor, /* pGetNearestColor */ dibdrv_GetNearestColor, /* pGetNearestColor */
NULL, /* pGetOutlineTextMetrics */ NULL, /* pGetOutlineTextMetrics */
dibdrv_GetPixel, /* pGetPixel */ dibdrv_GetPixel, /* pGetPixel */
NULL, /* pGetPixelFormat */ dibdrv_GetPixelFormat, /* pGetPixelFormat */
NULL, /* pGetSystemPaletteEntries */ NULL, /* pGetSystemPaletteEntries */
NULL, /* pGetTextCharsetInfo */ NULL, /* pGetTextCharsetInfo */
NULL, /* pGetTextExtentExPoint */ NULL, /* pGetTextExtentExPoint */
...@@ -514,7 +666,7 @@ const struct gdi_dc_funcs dib_driver = ...@@ -514,7 +666,7 @@ const struct gdi_dc_funcs dib_driver =
NULL, /* pSetMapMode */ NULL, /* pSetMapMode */
NULL, /* pSetMapperFlags */ NULL, /* pSetMapperFlags */
dibdrv_SetPixel, /* pSetPixel */ dibdrv_SetPixel, /* pSetPixel */
NULL, /* pSetPixelFormat */ dibdrv_SetPixelFormat, /* pSetPixelFormat */
NULL, /* pSetPolyFillMode */ NULL, /* pSetPolyFillMode */
NULL, /* pSetROP2 */ NULL, /* pSetROP2 */
NULL, /* pSetRelAbs */ NULL, /* pSetRelAbs */
...@@ -534,19 +686,19 @@ const struct gdi_dc_funcs dib_driver = ...@@ -534,19 +686,19 @@ const struct gdi_dc_funcs dib_driver =
NULL, /* pStretchDIBits */ NULL, /* pStretchDIBits */
NULL, /* pStrokeAndFillPath */ NULL, /* pStrokeAndFillPath */
NULL, /* pStrokePath */ NULL, /* pStrokePath */
NULL, /* pSwapBuffers */ dibdrv_SwapBuffers, /* pSwapBuffers */
NULL, /* pUnrealizePalette */ NULL, /* pUnrealizePalette */
NULL, /* pWidenPath */ NULL, /* pWidenPath */
NULL, /* pwglCopyContext */ dibdrv_wglCopyContext, /* pwglCopyContext */
NULL, /* pwglCreateContext */ dibdrv_wglCreateContext, /* pwglCreateContext */
NULL, /* pwglCreateContextAttribsARB */ dibdrv_wglCreateContextAttribsARB, /* pwglCreateContextAttribsARB */
NULL, /* pwglDeleteContext */ dibdrv_wglDeleteContext, /* pwglDeleteContext */
NULL, /* pwglGetPbufferDCARB */ dibdrv_wglGetPbufferDCARB, /* pwglGetPbufferDCARB */
NULL, /* pwglGetProcAddress */ dibdrv_wglGetProcAddress, /* pwglGetProcAddress */
NULL, /* pwglMakeContextCurrentARB */ dibdrv_wglMakeContextCurrentARB, /* pwglMakeContextCurrentARB */
NULL, /* pwglMakeCurrent */ dibdrv_wglMakeCurrent, /* pwglMakeCurrent */
NULL, /* pwglSetPixelFormatWINE */ dibdrv_wglSetPixelFormatWINE, /* pwglSetPixelFormatWINE */
NULL, /* pwglShareLists */ dibdrv_wglShareLists, /* pwglShareLists */
NULL, /* pwglUseFontBitmapsA */ dibdrv_wglUseFontBitmapsA, /* pwglUseFontBitmapsA */
NULL /* pwglUseFontBitmapsW */ dibdrv_wglUseFontBitmapsW, /* pwglUseFontBitmapsW */
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment