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.
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per