Compartir a través de


GLX y WGL/Windows

Algunas de las funciones WGL y las funciones de Windows son más o menos análogas a las funciones de ventana GLX X. En la lista siguiente se muestran las funciones GLX y sus funciones WGL/Windows correspondientes, si están disponibles.

Funciones GLX Funciones 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 y GetDC / BeginPaint
XSync GdiFlush
SetPixelFormat
wglGetProcAddress
wglShareLists

 

Para obtener más información, consulte la Guía de portabilidad.