29 #ifndef INCL_OGRE_GTKGLSUPPORT_H
30 #define INCL_OGRE_GTKGLSUPPORT_H
34 #include <gtkmm/main.h>
57 unsigned int colourDepth,
bool fullScreen,
int left,
int top,
114 #endif // INCL_OGRE_GTKGLSUPPORT_H
Manages the target rendering window.
A 'canvas' which can receive the results of a rendering operation.
static GTKGLSupport & getSingleton(void)
Override standard Singleton retrieval.
RenderWindow * createWindow(bool autoCreateWindow, GLRenderSystem *renderSystem, const String &windowTitle)
void stop()
Stop anything special.
Template class for creating single-instance global classes.
bool checkExtension(const String &ext) const
Check if an extension is available.
GL support in a GTK window.
static GTKGLSupport * getSingletonPtr(void)
Override standard Singleton retrieval.
void addConfig()
Add any special config values to the system.
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.
Glib::RefPtr< Gdk::GL::Window > _main_window
Glib::RefPtr< Gdk::GL::Context > _main_context
void begin_context(RenderTarget *_target=0)
void * getProcAddress(const String &procname)
Get the address of a function.
void setConfigOptions(const String &name, const String &value)
bool checkMinGLVersion(const String &v) const
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)
Glib::RefPtr< const Gdk::GL::Context > getMainContext() const
Implementation of GL as a rendering system.
void start()
Start anything special.