Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

OgreGLXGLSupport.h

Go to the documentation of this file.
00001 #ifndef OGRE_GLXGLSupport_H
00002 #define OGRE_GLXGLSupport_H
00003 
00004 #include "OgreGLSupport.h"
00005 
00006 #include <X11/Xlib.h>
00007 #include <X11/keysym.h>
00008 #include <X11/extensions/xf86vmode.h>
00009 #include <GL/gl.h>
00010 #include <GL/glu.h>
00011 #include <GL/glx.h>
00012 
00013 namespace Ogre {
00014 
00015 class GLXGLSupport : public GLSupport {
00016 public:
00017     GLXGLSupport();
00018     ~GLXGLSupport();
00019 
00025     void addConfig(void);
00029     String validateConfig(void);
00030 
00031     virtual RenderWindow* createWindow(bool autoCreateWindow, GLRenderSystem* renderSystem, const String& windowTitle);
00032 
00036     virtual RenderWindow* newWindow(const String& name, unsigned int width, unsigned int height, unsigned int colourDepth,
00037                                     bool fullScreen, int left, int top, bool depthBuffer, RenderWindow* parentWindowHandle,
00038                                     bool vsync);
00039 
00043     void start();
00047     void stop();
00048 
00052     void* getProcAddress(const String& procname);
00053 private:
00054     // X display
00055     Display *mDisplay;
00056 }
00057 ; // class GLXGLSupport
00058 
00059 }
00060 ; // namespace Ogre
00061 
00062 #endif // OGRE_GLXGLSupport_H

Copyright © 2002-2003 by The OGRE Team
Last modified Sun Nov 28 19:48:27 2004