29 #ifndef INCL_OGRE_GTKGLSUPPORT_H
30 #define INCL_OGRE_GTKGLSUPPORT_H
34 #include <gtkmm/main.h>
47 class GTKGLSupport :
public GL3PlusSupport,
public Singleton<GTKGLSupport>
55 GL3PlusRenderSystem* renderSystem,
const String& windowTitle);
56 RenderWindow*
newWindow(
const String& name,
unsigned int width,
unsigned int height,
57 unsigned int colourDepth,
bool fullScreen,
int left,
int top,
58 bool depthBuffer, RenderWindow* parentWindowHandle,
114 #endif // INCL_OGRE_GTKGLSUPPORT_H
bool checkExtension(const String &ext) const
Check if an extension is available.
RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, unsigned int colourDepth, bool fullScreen, int left, int top, bool depthBuffer, RenderWindow *parentWindowHandle, bool vsync)
void setConfigOptions(const String &name, const String &value)
void begin_context(RenderTarget *_target=0)
Glib::RefPtr< Gdk::GL::Context > _main_context
RenderWindow * createWindow(bool autoCreateWindow, GLRenderSystem *renderSystem, const String &windowTitle)
void addConfig()
Add any special config values to the system.
Glib::RefPtr< Gdk::GL::Window > _main_window
bool checkMinGLVersion(const String &v) const
static GTKGLSupport & getSingleton(void)
Override standard Singleton retrieval.
void * getProcAddress(const String &procname)
Get the address of a function.
Glib::RefPtr< const Gdk::GL::Context > getMainContext() const
void stop()
Stop anything special.
static GTKGLSupport * getSingletonPtr(void)
Override standard Singleton retrieval.
String validateConfig()
Make sure all the extra options are valid.
void initialiseExtensions(void)
Initialises GL extensions, must be done AFTER the GL context has been established.
void start()
Start anything special.