GLX e WGL/Windows

Alcune funzioni WGL e Windows sono più o meno analoghe alle funzioni GLX X Window. L'elenco seguente mostra le funzioni GLX e le funzioni WGL/Windows corrispondenti, se disponibili.

Funzioni GLX Funzioni WGL/Windows
glXChooseVisual ChoosePixelFormat
glXCopyContext
glXCreateContext wglCreateContext
glXCreateGLXPixmap CreateDIBitmap / CreateDIBSection
glXDestroyContext wglDeleteContext
glXDestroyGLXPixmap DeleteObject
glXGetConfig DescribePixelFormat
glXGetCurrentContext wglGetCurrentContext
glXGetCurrentDrawable wglGetCurrentDC
glXIsDirect
glXMakeCurrent wglMakeCurrent
glXQueryExtension GetVersion
glXQueryVersion GetVersion
glXSwapBuffers SwapBuffers
glXUseXFont wglUseFontBitmaps / wglUseFontOutlines
glXWaitGL
glXWaitX
XGetVisualInfo GetPixelFormat
XCreateWindow Createwindow / CreateWindowEx e GetDC / BeginPaint
XSync GdiFlush
SetPixelFormat
wglGetProcAddress
wglShareLists

 

Per altre informazioni, vedere la Guida alla conversione.