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.
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de