14 #ifndef OSGVIEWER_GRAPHICSHANDLEX11
15 #define OSGVIEWER_GRAPHICSHANDLEX11 1
17 #include <osgViewer/Export>
20 #if defined(OSG_GLES1_AVAILABLE) || defined(OSG_GLES2_AVAILABLE)
24 #include <X11/Xutil.h>
27 #define GLX_GLXEXT_PROTOTYPES 1
30 #include <X11/Xutil.h>
32 #ifndef GLX_VERSION_1_3
53 inline void setDisplay(Display* display) { _display = display; }
59 typedef EGLContext Context;
60 typedef EGLSurface Pbuffer;
67 inline void setContext(Context context) { _context = context; }
void setDisplay(Display *display)
Display * getDisplay() const
void setContext(Context context)
Context getContext() const