VirtualBox

Ignore:
Timestamp:
Dec 15, 2018 10:53:09 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
127517
Message:

DevVGA-SVGA3d: more for dynamic loading of opengl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-glLdr.h

    r76245 r76247  
    306306GLPFN BOOL (WINAPI *pfn_wglShareLists)(HGLRC, HGLRC);
    307307#define wglShareLists pfn_wglShareLists
    308 #endif
    309 
    310 #endif
     308
     309#elif defined(RT_OS_LINUX)
     310/*
     311 * GLX
     312 */
     313GLPFN Bool (* pfn_glXQueryVersion)(Display * dpy,  int * major,  int * minor);
     314#define glXQueryVersion pfn_glXQueryVersion
     315
     316GLPFN XVisualInfo* (* pfn_glXChooseVisual)(Display * dpy,  int screen,  int * attribList);
     317#define glXChooseVisual pfn_glXChooseVisual
     318
     319GLPFN GLXContext (* pfn_glXCreateContext)(Display * dpy,  XVisualInfo * vis,  GLXContext shareList,  Bool direct);
     320#define glXCreateContext pfn_glXCreateContext
     321
     322GLPFN Bool (* pfn_glXMakeCurrent)(Display * dpy,  GLXDrawable drawable,  GLXContext ctx);
     323#define glXMakeCurrent pfn_glXMakeCurrent
     324
     325GLPFN void (* pfn_glXDestroyContext)(Display * dpy,  GLXContext ctx);
     326#define glXDestroyContext pfn_glXDestroyContext
     327
     328#endif
     329
     330#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette