winex11.drv: Fix some comments so they are properly formatted documentation headers.
This commit is contained in:
parent
5962cf6e4f
commit
e9fb8c6728
|
@ -492,7 +492,11 @@ static inline Wine_GLContext *get_context_from_GLXContext(GLXContext ctx)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* retrieve the GLX drawable to use on a given DC */
|
/**
|
||||||
|
* get_drawable (internal)
|
||||||
|
*
|
||||||
|
* Retrieve the GLX drawable to use on a given DC.
|
||||||
|
*/
|
||||||
inline static Drawable get_drawable( HDC hdc )
|
inline static Drawable get_drawable( HDC hdc )
|
||||||
{
|
{
|
||||||
GLXDrawable drawable;
|
GLXDrawable drawable;
|
||||||
|
@ -516,7 +520,11 @@ inline static void set_drawable( HDC hdc, Drawable drawable )
|
||||||
ExtEscape( hdc, X11DRV_ESCAPE, sizeof(escape), (LPCSTR)&escape, 0, NULL );
|
ExtEscape( hdc, X11DRV_ESCAPE, sizeof(escape), (LPCSTR)&escape, 0, NULL );
|
||||||
}
|
}
|
||||||
|
|
||||||
/** for use of wglGetCurrentReadDCARB */
|
/**
|
||||||
|
* get_hdc_from_Drawable (internal)
|
||||||
|
*
|
||||||
|
* For use by wglGetCurrentReadDCARB.
|
||||||
|
*/
|
||||||
inline static HDC get_hdc_from_Drawable(GLXDrawable d)
|
inline static HDC get_hdc_from_Drawable(GLXDrawable d)
|
||||||
{
|
{
|
||||||
Wine_GLContext *ret;
|
Wine_GLContext *ret;
|
||||||
|
@ -845,7 +853,7 @@ static BOOL ConvertPixelFormatWGLtoGLX(Display *display, int iPixelFormat, int *
|
||||||
/**
|
/**
|
||||||
* X11DRV_ChoosePixelFormat
|
* X11DRV_ChoosePixelFormat
|
||||||
*
|
*
|
||||||
* Equivalent of glXChooseVisual
|
* Equivalent to glXChooseVisual.
|
||||||
*/
|
*/
|
||||||
int X11DRV_ChoosePixelFormat(X11DRV_PDEVICE *physDev,
|
int X11DRV_ChoosePixelFormat(X11DRV_PDEVICE *physDev,
|
||||||
const PIXELFORMATDESCRIPTOR *ppfd) {
|
const PIXELFORMATDESCRIPTOR *ppfd) {
|
||||||
|
@ -1194,7 +1202,11 @@ BOOL X11DRV_SetPixelFormat(X11DRV_PDEVICE *physDev,
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* OpenGL32 wglCreateContext */
|
/**
|
||||||
|
* X11DRV_wglCreateContext
|
||||||
|
*
|
||||||
|
* For OpenGL32 wglCreateContext.
|
||||||
|
*/
|
||||||
HGLRC X11DRV_wglCreateContext(X11DRV_PDEVICE *physDev)
|
HGLRC X11DRV_wglCreateContext(X11DRV_PDEVICE *physDev)
|
||||||
{
|
{
|
||||||
Wine_GLContext *ret;
|
Wine_GLContext *ret;
|
||||||
|
@ -1262,7 +1274,11 @@ HGLRC X11DRV_wglCreateContext(X11DRV_PDEVICE *physDev)
|
||||||
return (HGLRC) ret;
|
return (HGLRC) ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* OpenGL32 wglDeleteContext */
|
/**
|
||||||
|
* X11DRV_wglDeleteContext
|
||||||
|
*
|
||||||
|
* For OpenGL32 wglDeleteContext.
|
||||||
|
*/
|
||||||
BOOL X11DRV_wglDeleteContext(HGLRC hglrc)
|
BOOL X11DRV_wglDeleteContext(HGLRC hglrc)
|
||||||
{
|
{
|
||||||
Wine_GLContext *ctx = (Wine_GLContext *) hglrc;
|
Wine_GLContext *ctx = (Wine_GLContext *) hglrc;
|
||||||
|
@ -1294,7 +1310,11 @@ BOOL X11DRV_wglDeleteContext(HGLRC hglrc)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* OpenGL32 wglGetCurrentReadDCARB */
|
/**
|
||||||
|
* X11DRV_wglGetCurrentReadDCARB
|
||||||
|
*
|
||||||
|
* For OpenGL32 wglGetCurrentReadDCARB.
|
||||||
|
*/
|
||||||
static HDC WINAPI X11DRV_wglGetCurrentReadDCARB(void)
|
static HDC WINAPI X11DRV_wglGetCurrentReadDCARB(void)
|
||||||
{
|
{
|
||||||
GLXDrawable gl_d;
|
GLXDrawable gl_d;
|
||||||
|
@ -1311,7 +1331,11 @@ static HDC WINAPI X11DRV_wglGetCurrentReadDCARB(void)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* OpenGL32: wglGetProcAddress */
|
/**
|
||||||
|
* X11DRV_wglGetProcAddress
|
||||||
|
*
|
||||||
|
* For OpenGL32 wglGetProcAddress.
|
||||||
|
*/
|
||||||
PROC X11DRV_wglGetProcAddress(LPCSTR lpszProc)
|
PROC X11DRV_wglGetProcAddress(LPCSTR lpszProc)
|
||||||
{
|
{
|
||||||
int i, j;
|
int i, j;
|
||||||
|
@ -1348,7 +1372,11 @@ PROC X11DRV_wglGetProcAddress(LPCSTR lpszProc)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* OpenGL32 wglMakeCurrent */
|
/**
|
||||||
|
* X11DRV_wglMakeCurrent
|
||||||
|
*
|
||||||
|
* For OpenGL32 wglMakeCurrent.
|
||||||
|
*/
|
||||||
BOOL X11DRV_wglMakeCurrent(X11DRV_PDEVICE *physDev, HGLRC hglrc) {
|
BOOL X11DRV_wglMakeCurrent(X11DRV_PDEVICE *physDev, HGLRC hglrc) {
|
||||||
BOOL ret;
|
BOOL ret;
|
||||||
HDC hdc = physDev->hdc;
|
HDC hdc = physDev->hdc;
|
||||||
|
@ -1407,7 +1435,11 @@ BOOL X11DRV_wglMakeCurrent(X11DRV_PDEVICE *physDev, HGLRC hglrc) {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* OpenGL32 wglMakeContextCurrentARB */
|
/**
|
||||||
|
* X11DRV_wglMakeContextCurrentARB
|
||||||
|
*
|
||||||
|
* For OpenGL32 wglMakeContextCurrentARB
|
||||||
|
*/
|
||||||
BOOL X11DRV_wglMakeContextCurrentARB(X11DRV_PDEVICE* hDrawDev, X11DRV_PDEVICE* hReadDev, HGLRC hglrc)
|
BOOL X11DRV_wglMakeContextCurrentARB(X11DRV_PDEVICE* hDrawDev, X11DRV_PDEVICE* hReadDev, HGLRC hglrc)
|
||||||
{
|
{
|
||||||
BOOL ret;
|
BOOL ret;
|
||||||
|
@ -1444,7 +1476,11 @@ BOOL X11DRV_wglMakeContextCurrentARB(X11DRV_PDEVICE* hDrawDev, X11DRV_PDEVICE* h
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* OpenGL32 wglShaderLists */
|
/**
|
||||||
|
* X11DRV_wglShareLists
|
||||||
|
*
|
||||||
|
* For OpenGL32 wglShaderLists.
|
||||||
|
*/
|
||||||
BOOL X11DRV_wglShareLists(HGLRC hglrc1, HGLRC hglrc2) {
|
BOOL X11DRV_wglShareLists(HGLRC hglrc1, HGLRC hglrc2) {
|
||||||
Wine_GLContext *org = (Wine_GLContext *) hglrc1;
|
Wine_GLContext *org = (Wine_GLContext *) hglrc1;
|
||||||
Wine_GLContext *dest = (Wine_GLContext *) hglrc2;
|
Wine_GLContext *dest = (Wine_GLContext *) hglrc2;
|
||||||
|
@ -1588,7 +1624,11 @@ static BOOL internal_wglUseFontBitmaps(HDC hdc, DWORD first, DWORD count, DWORD
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* OpenGL32 wglUseFontBitmapsA */
|
/**
|
||||||
|
* X11DRV_wglUseFontBitmapsA
|
||||||
|
*
|
||||||
|
* For OpenGL32 wglUseFontBitmapsA.
|
||||||
|
*/
|
||||||
BOOL X11DRV_wglUseFontBitmapsA(X11DRV_PDEVICE *physDev, DWORD first, DWORD count, DWORD listBase)
|
BOOL X11DRV_wglUseFontBitmapsA(X11DRV_PDEVICE *physDev, DWORD first, DWORD count, DWORD listBase)
|
||||||
{
|
{
|
||||||
Font fid = physDev->font;
|
Font fid = physDev->font;
|
||||||
|
@ -1611,7 +1651,11 @@ BOOL X11DRV_wglUseFontBitmapsA(X11DRV_PDEVICE *physDev, DWORD first, DWORD count
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* OpenGL32 wglUseFontBitmapsW */
|
/**
|
||||||
|
* X11DRV_wglUseFontBitmapsW
|
||||||
|
*
|
||||||
|
* For OpenGL32 wglUseFontBitmapsW.
|
||||||
|
*/
|
||||||
BOOL X11DRV_wglUseFontBitmapsW(X11DRV_PDEVICE *physDev, DWORD first, DWORD count, DWORD listBase)
|
BOOL X11DRV_wglUseFontBitmapsW(X11DRV_PDEVICE *physDev, DWORD first, DWORD count, DWORD listBase)
|
||||||
{
|
{
|
||||||
Font fid = physDev->font;
|
Font fid = physDev->font;
|
||||||
|
@ -1663,13 +1707,21 @@ static void WINAPI X11DRV_wglGetIntegerv(GLenum pname, GLint* params) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* WGL_ARB_extensions_string: wglGetExtensionsStringARB */
|
/**
|
||||||
|
* X11DRV_wglGetExtensionsStringARB
|
||||||
|
*
|
||||||
|
* WGL_ARB_extensions_string: wglGetExtensionsStringARB
|
||||||
|
*/
|
||||||
static const char * WINAPI X11DRV_wglGetExtensionsStringARB(HDC hdc) {
|
static const char * WINAPI X11DRV_wglGetExtensionsStringARB(HDC hdc) {
|
||||||
TRACE("() returning \"%s\"\n", WineGLInfo.wglExtensions);
|
TRACE("() returning \"%s\"\n", WineGLInfo.wglExtensions);
|
||||||
return WineGLInfo.wglExtensions;
|
return WineGLInfo.wglExtensions;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* WGL_ARB_pbuffer: wglCreatePbufferARB */
|
/**
|
||||||
|
* X11DRV_wglCreatePbufferARB
|
||||||
|
*
|
||||||
|
* WGL_ARB_pbuffer: wglCreatePbufferARB
|
||||||
|
*/
|
||||||
static HPBUFFERARB WINAPI X11DRV_wglCreatePbufferARB(HDC hdc, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList)
|
static HPBUFFERARB WINAPI X11DRV_wglCreatePbufferARB(HDC hdc, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList)
|
||||||
{
|
{
|
||||||
Wine_GLPBuffer* object = NULL;
|
Wine_GLPBuffer* object = NULL;
|
||||||
|
@ -1857,7 +1909,11 @@ create_failed:
|
||||||
return (HPBUFFERARB) NULL;
|
return (HPBUFFERARB) NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* WGL_ARB_pbuffer: wglDestroyPbufferARB */
|
/**
|
||||||
|
* X11DRV_wglDestroyPbufferARB
|
||||||
|
*
|
||||||
|
* WGL_ARB_pbuffer: wglDestroyPbufferARB
|
||||||
|
*/
|
||||||
static GLboolean WINAPI X11DRV_wglDestroyPbufferARB(HPBUFFERARB hPbuffer)
|
static GLboolean WINAPI X11DRV_wglDestroyPbufferARB(HPBUFFERARB hPbuffer)
|
||||||
{
|
{
|
||||||
Wine_GLPBuffer* object = (Wine_GLPBuffer*) hPbuffer;
|
Wine_GLPBuffer* object = (Wine_GLPBuffer*) hPbuffer;
|
||||||
|
@ -1871,7 +1927,10 @@ static GLboolean WINAPI X11DRV_wglDestroyPbufferARB(HPBUFFERARB hPbuffer)
|
||||||
return GL_TRUE;
|
return GL_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* WGL_ARB_pbuffer: wglGetPbufferDCARB
|
/**
|
||||||
|
* X11DRV_wglGetPbufferDCARB
|
||||||
|
*
|
||||||
|
* WGL_ARB_pbuffer: wglGetPbufferDCARB
|
||||||
* The function wglGetPbufferDCARB returns a device context for a pbuffer.
|
* The function wglGetPbufferDCARB returns a device context for a pbuffer.
|
||||||
* Gdi32 implements the part of this function which creates a device context.
|
* Gdi32 implements the part of this function which creates a device context.
|
||||||
* This part associates the physDev with the X drawable of the pbuffer.
|
* This part associates the physDev with the X drawable of the pbuffer.
|
||||||
|
@ -1893,7 +1952,11 @@ HDC X11DRV_wglGetPbufferDCARB(X11DRV_PDEVICE *physDev, HPBUFFERARB hPbuffer)
|
||||||
return physDev->hdc;
|
return physDev->hdc;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* WGL_ARB_pbuffer: wglQueryPbufferARB */
|
/**
|
||||||
|
* X11DRV_wglQueryPbufferARB
|
||||||
|
*
|
||||||
|
* WGL_ARB_pbuffer: wglQueryPbufferARB
|
||||||
|
*/
|
||||||
static GLboolean WINAPI X11DRV_wglQueryPbufferARB(HPBUFFERARB hPbuffer, int iAttribute, int *piValue)
|
static GLboolean WINAPI X11DRV_wglQueryPbufferARB(HPBUFFERARB hPbuffer, int iAttribute, int *piValue)
|
||||||
{
|
{
|
||||||
Wine_GLPBuffer* object = (Wine_GLPBuffer*) hPbuffer;
|
Wine_GLPBuffer* object = (Wine_GLPBuffer*) hPbuffer;
|
||||||
|
@ -1988,7 +2051,11 @@ static GLboolean WINAPI X11DRV_wglQueryPbufferARB(HPBUFFERARB hPbuffer, int iAtt
|
||||||
return GL_TRUE;
|
return GL_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* WGL_ARB_pbuffer: wglReleasePbufferDCARB */
|
/**
|
||||||
|
* X11DRV_wglReleasePbufferDCARB
|
||||||
|
*
|
||||||
|
* WGL_ARB_pbuffer: wglReleasePbufferDCARB
|
||||||
|
*/
|
||||||
static int WINAPI X11DRV_wglReleasePbufferDCARB(HPBUFFERARB hPbuffer, HDC hdc)
|
static int WINAPI X11DRV_wglReleasePbufferDCARB(HPBUFFERARB hPbuffer, HDC hdc)
|
||||||
{
|
{
|
||||||
TRACE("(%p, %p)\n", hPbuffer, hdc);
|
TRACE("(%p, %p)\n", hPbuffer, hdc);
|
||||||
|
@ -1996,7 +2063,11 @@ static int WINAPI X11DRV_wglReleasePbufferDCARB(HPBUFFERARB hPbuffer, HDC hdc)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* WGL_ARB_pbuffer: wglSetPbufferAttribARB */
|
/**
|
||||||
|
* X11DRV_wglSetPbufferAttribARB
|
||||||
|
*
|
||||||
|
* WGL_ARB_pbuffer: wglSetPbufferAttribARB
|
||||||
|
*/
|
||||||
static GLboolean WINAPI X11DRV_wglSetPbufferAttribARB(HPBUFFERARB hPbuffer, const int *piAttribList)
|
static GLboolean WINAPI X11DRV_wglSetPbufferAttribARB(HPBUFFERARB hPbuffer, const int *piAttribList)
|
||||||
{
|
{
|
||||||
Wine_GLPBuffer* object = (Wine_GLPBuffer*) hPbuffer;
|
Wine_GLPBuffer* object = (Wine_GLPBuffer*) hPbuffer;
|
||||||
|
@ -2021,7 +2092,11 @@ static GLboolean WINAPI X11DRV_wglSetPbufferAttribARB(HPBUFFERARB hPbuffer, cons
|
||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* WGL_ARB_pixel_format: wglChoosePixelFormatARB */
|
/**
|
||||||
|
* X11DRV_wglChoosePixelFormatARB
|
||||||
|
*
|
||||||
|
* WGL_ARB_pixel_format: wglChoosePixelFormatARB
|
||||||
|
*/
|
||||||
static GLboolean WINAPI X11DRV_wglChoosePixelFormatARB(HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats)
|
static GLboolean WINAPI X11DRV_wglChoosePixelFormatARB(HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats)
|
||||||
{
|
{
|
||||||
int gl_test = 0;
|
int gl_test = 0;
|
||||||
|
@ -2147,14 +2222,22 @@ static GLboolean WINAPI X11DRV_wglChoosePixelFormatARB(HDC hdc, const int *piAtt
|
||||||
return GL_TRUE;
|
return GL_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* WGL_ARB_pixel_format: wglGetPixelFormatAttribfvARB */
|
/**
|
||||||
|
* X11DRV_wglGetPixelFormatAttribfvARB
|
||||||
|
*
|
||||||
|
* WGL_ARB_pixel_format: wglGetPixelFormatAttribfvARB
|
||||||
|
*/
|
||||||
static GLboolean WINAPI X11DRV_wglGetPixelFormatAttribfvARB(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues)
|
static GLboolean WINAPI X11DRV_wglGetPixelFormatAttribfvARB(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues)
|
||||||
{
|
{
|
||||||
FIXME("(%p, %d, %d, %d, %p, %p): stub\n", hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues);
|
FIXME("(%p, %d, %d, %d, %p, %p): stub\n", hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues);
|
||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* WGL_ARB_pixel_format: wglGetPixelFormatAttribivARB */
|
/**
|
||||||
|
* X11DRV_wglGetPixelFormatAttribivARB
|
||||||
|
*
|
||||||
|
* WGL_ARB_pixel_format: wglGetPixelFormatAttribivARB
|
||||||
|
*/
|
||||||
static GLboolean WINAPI X11DRV_wglGetPixelFormatAttribivARB(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues)
|
static GLboolean WINAPI X11DRV_wglGetPixelFormatAttribivARB(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues)
|
||||||
{
|
{
|
||||||
UINT i;
|
UINT i;
|
||||||
|
@ -2369,7 +2452,11 @@ pix_error:
|
||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* WGL_ARB_render_texture: wglBindTexImageARB */
|
/**
|
||||||
|
* X11DRV_wglBindTexImageARB
|
||||||
|
*
|
||||||
|
* WGL_ARB_render_texture: wglBindTexImageARB
|
||||||
|
*/
|
||||||
static GLboolean WINAPI X11DRV_wglBindTexImageARB(HPBUFFERARB hPbuffer, int iBuffer)
|
static GLboolean WINAPI X11DRV_wglBindTexImageARB(HPBUFFERARB hPbuffer, int iBuffer)
|
||||||
{
|
{
|
||||||
Wine_GLPBuffer* object = (Wine_GLPBuffer*) hPbuffer;
|
Wine_GLPBuffer* object = (Wine_GLPBuffer*) hPbuffer;
|
||||||
|
@ -2419,7 +2506,11 @@ static GLboolean WINAPI X11DRV_wglBindTexImageARB(HPBUFFERARB hPbuffer, int iBuf
|
||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* WGL_ARB_render_texture: wglReleaseTexImageARB */
|
/**
|
||||||
|
* X11DRV_wglReleaseTexImageARB
|
||||||
|
*
|
||||||
|
* WGL_ARB_render_texture: wglReleaseTexImageARB
|
||||||
|
*/
|
||||||
static GLboolean WINAPI X11DRV_wglReleaseTexImageARB(HPBUFFERARB hPbuffer, int iBuffer)
|
static GLboolean WINAPI X11DRV_wglReleaseTexImageARB(HPBUFFERARB hPbuffer, int iBuffer)
|
||||||
{
|
{
|
||||||
Wine_GLPBuffer* object = (Wine_GLPBuffer*) hPbuffer;
|
Wine_GLPBuffer* object = (Wine_GLPBuffer*) hPbuffer;
|
||||||
|
@ -2461,19 +2552,31 @@ static GLboolean WINAPI X11DRV_wglReleaseTexImageARB(HPBUFFERARB hPbuffer, int i
|
||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* WGL_EXT_extensions_string: wglGetExtensionsStringEXT */
|
/**
|
||||||
|
* X11DRV_wglGetExtensionsStringEXT
|
||||||
|
*
|
||||||
|
* WGL_EXT_extensions_string: wglGetExtensionsStringEXT
|
||||||
|
*/
|
||||||
static const char * WINAPI X11DRV_wglGetExtensionsStringEXT(void) {
|
static const char * WINAPI X11DRV_wglGetExtensionsStringEXT(void) {
|
||||||
TRACE("() returning \"%s\"\n", WineGLInfo.wglExtensions);
|
TRACE("() returning \"%s\"\n", WineGLInfo.wglExtensions);
|
||||||
return WineGLInfo.wglExtensions;
|
return WineGLInfo.wglExtensions;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* WGL_EXT_swap_control: wglGetSwapIntervalEXT */
|
/**
|
||||||
|
* X11DRV_wglGetSwapIntervalEXT
|
||||||
|
*
|
||||||
|
* WGL_EXT_swap_control: wglGetSwapIntervalEXT
|
||||||
|
*/
|
||||||
static int WINAPI X11DRV_wglGetSwapIntervalEXT(VOID) {
|
static int WINAPI X11DRV_wglGetSwapIntervalEXT(VOID) {
|
||||||
FIXME("(),stub!\n");
|
FIXME("(),stub!\n");
|
||||||
return swap_interval;
|
return swap_interval;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* WGL_EXT_swap_control: wglSwapIntervalEXT */
|
/**
|
||||||
|
* X11DRV_wglSwapIntervalEXT
|
||||||
|
*
|
||||||
|
* WGL_EXT_swap_control: wglSwapIntervalEXT
|
||||||
|
*/
|
||||||
static BOOL WINAPI X11DRV_wglSwapIntervalEXT(int interval) {
|
static BOOL WINAPI X11DRV_wglSwapIntervalEXT(int interval) {
|
||||||
TRACE("(%d)\n", interval);
|
TRACE("(%d)\n", interval);
|
||||||
swap_interval = interval;
|
swap_interval = interval;
|
||||||
|
@ -2484,7 +2587,11 @@ static BOOL WINAPI X11DRV_wglSwapIntervalEXT(int interval) {
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check if the supported GLX version matches requiredVersion */
|
/**
|
||||||
|
* glxRequireVersion (internal)
|
||||||
|
*
|
||||||
|
* Check if the supported GLX version matches requiredVersion.
|
||||||
|
*/
|
||||||
static BOOL glxRequireVersion(int requiredVersion)
|
static BOOL glxRequireVersion(int requiredVersion)
|
||||||
{
|
{
|
||||||
/* Both requiredVersion and glXVersion[1] contains the minor GLX version */
|
/* Both requiredVersion and glXVersion[1] contains the minor GLX version */
|
||||||
|
@ -2823,19 +2930,31 @@ BOOL X11DRV_SwapBuffers(X11DRV_PDEVICE *physDev) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* OpenGL32 wglCreateContext */
|
/**
|
||||||
|
* X11DRV_wglCreateContext
|
||||||
|
*
|
||||||
|
* For OpenGL32 wglCreateContext.
|
||||||
|
*/
|
||||||
HGLRC X11DRV_wglCreateContext(X11DRV_PDEVICE *physDev) {
|
HGLRC X11DRV_wglCreateContext(X11DRV_PDEVICE *physDev) {
|
||||||
ERR_(opengl)("No OpenGL support compiled in.\n");
|
ERR_(opengl)("No OpenGL support compiled in.\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* OpenGL32 wglDeleteContext */
|
/**
|
||||||
|
* X11DRV_wglDeleteContext
|
||||||
|
*
|
||||||
|
* For OpenGL32 wglDeleteContext.
|
||||||
|
*/
|
||||||
BOOL X11DRV_wglDeleteContext(HGLRC hglrc) {
|
BOOL X11DRV_wglDeleteContext(HGLRC hglrc) {
|
||||||
ERR_(opengl)("No OpenGL support compiled in.\n");
|
ERR_(opengl)("No OpenGL support compiled in.\n");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* OpenGL32: wglGetProcAddress */
|
/**
|
||||||
|
* X11DRV_wglGetProcAddress
|
||||||
|
*
|
||||||
|
* For OpenGL32 wglGetProcAddress.
|
||||||
|
*/
|
||||||
PROC X11DRV_wglGetProcAddress(LPCSTR lpszProc) {
|
PROC X11DRV_wglGetProcAddress(LPCSTR lpszProc) {
|
||||||
ERR_(opengl)("No OpenGL support compiled in.\n");
|
ERR_(opengl)("No OpenGL support compiled in.\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -2852,26 +2971,42 @@ BOOL X11DRV_wglMakeContextCurrentARB(X11DRV_PDEVICE* hDrawDev, X11DRV_PDEVICE* h
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* OpenGL32 wglMakeCurrent */
|
/**
|
||||||
|
* X11DRV_wglMakeCurrent
|
||||||
|
*
|
||||||
|
* For OpenGL32 wglMakeCurrent.
|
||||||
|
*/
|
||||||
BOOL X11DRV_wglMakeCurrent(X11DRV_PDEVICE *physDev, HGLRC hglrc) {
|
BOOL X11DRV_wglMakeCurrent(X11DRV_PDEVICE *physDev, HGLRC hglrc) {
|
||||||
ERR_(opengl)("No OpenGL support compiled in.\n");
|
ERR_(opengl)("No OpenGL support compiled in.\n");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* OpenGL32 wglShaderLists */
|
/**
|
||||||
|
* X11DRV_wglShareLists
|
||||||
|
*
|
||||||
|
* For OpenGL32 wglShaderLists.
|
||||||
|
*/
|
||||||
BOOL X11DRV_wglShareLists(HGLRC hglrc1, HGLRC hglrc2) {
|
BOOL X11DRV_wglShareLists(HGLRC hglrc1, HGLRC hglrc2) {
|
||||||
ERR_(opengl)("No OpenGL support compiled in.\n");
|
ERR_(opengl)("No OpenGL support compiled in.\n");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* OpenGL32 wglUseFontBitmapsA */
|
/**
|
||||||
|
* X11DRV_wglUseFontBitmapsA
|
||||||
|
*
|
||||||
|
* For OpenGL32 wglUseFontBitmapsA.
|
||||||
|
*/
|
||||||
BOOL X11DRV_wglUseFontBitmapsA(X11DRV_PDEVICE *physDev, DWORD first, DWORD count, DWORD listBase)
|
BOOL X11DRV_wglUseFontBitmapsA(X11DRV_PDEVICE *physDev, DWORD first, DWORD count, DWORD listBase)
|
||||||
{
|
{
|
||||||
ERR_(opengl)("No OpenGL support compiled in.\n");
|
ERR_(opengl)("No OpenGL support compiled in.\n");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* OpenGL32 wglUseFontBitmapsW */
|
/**
|
||||||
|
* X11DRV_wglUseFontBitmapsW
|
||||||
|
*
|
||||||
|
* For OpenGL32 wglUseFontBitmapsW.
|
||||||
|
*/
|
||||||
BOOL X11DRV_wglUseFontBitmapsW(X11DRV_PDEVICE *physDev, DWORD first, DWORD count, DWORD listBase)
|
BOOL X11DRV_wglUseFontBitmapsW(X11DRV_PDEVICE *physDev, DWORD first, DWORD count, DWORD listBase)
|
||||||
{
|
{
|
||||||
ERR_(opengl)("No OpenGL support compiled in.\n");
|
ERR_(opengl)("No OpenGL support compiled in.\n");
|
||||||
|
|
Loading…
Reference in New Issue