OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Plus/include/windowing/SDL/OgreSDLGLSupport.h
Go to the documentation of this file.
1 #ifndef OGRE_SDLGLSUPPORT_H
2 #define OGRE_SDLGLSUPPORT_H
3 
4 #include "OgreSDLPrerequisites.h"
5 #include "OgreGL3PlusSupport.h"
6 
7 namespace Ogre
8 {
9 
10 class _OgrePrivate SDLGLSupport : public GL3PlusSupport
11 {
12 public:
13  SDLGLSupport();
14  ~SDLGLSupport();
15 
21  void addConfig(void);
25  String validateConfig(void);
26 
27  virtual RenderWindow* createWindow(bool autoCreateWindow, GL3PlusRenderSystem* renderSystem, const String& windowTitle);
28 
30  virtual RenderWindow* newWindow(const String &name, unsigned int width, unsigned int height,
31  bool fullScreen, const NameValuePairList *miscParams = 0);
32 
36  void start();
40  void stop();
41 
45  void* getProcAddress(const String& procname);
46 private:
47  // Allowed video modes
48  SDL_Rect** mVideoModes;
49 
50 
51 }; // class SDLGLSupport
52 
53 }; // namespace Ogre
54 
55 #endif // OGRE_SDLGLSUPPORT_H
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
Definition: OgreCommon.h:580
#define _OgrePrivate
Definition: OgrePlatform.h:256
_StringBase String
Definition: OgreCommon.h:53