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 A 'canvas' which can receive the results of a rendering operation.
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
static GTKGLSupport & getSingleton(void)
Override standard Singleton retrieval.
Implementation of GL as a rendering system.
bool checkMinGLVersion(const String &v) const
void * getProcAddress(const String &procname)
Get the address of a function.
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
Glib::RefPtr< const Gdk::GL::Context > getMainContext() const
Manages the target rendering window.
bool checkExtension(const String &ext) const
Check if an extension is available.
Template class for creating single-instance global classes.
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.
GL support in a GTK window.