30 #include <X11/Xatom.h>
40 void internalOpenDisplay();
41 void internalCreateWindow();
42 bool internalSetupWindowInput();
44 void internalCheckGL();
45 void internalChooseGLVisual();
46 void internalCreateGLContext();
47 void internalDestroyGLContext();
48 void internalConnectGLContext();
50 void *getExtensionProcAddress(
const char *ext);
51 bool isExtensionSupported(
const char *ext);
72 void setTitle(
const std::string& title);
76 void setIcon(
const std::string& file);
88 XVisualInfo *m_visual;
92 std::vector<Cursor> m_cursors;
94 Cursor m_hiddenCursor;
99 std::string m_clipboardText;
102 GLXContext m_glxContext;
103 GLXFBConfig *m_fbConfig;
105 EGLConfig m_eglConfig;
106 EGLContext m_eglContext;
107 EGLDisplay m_eglDisplay;
108 EGLSurface m_eglSurface;