29 #ifndef RENDER_SYSTEM_H 30 #define RENDER_SYSTEM_H 48 #if defined(Q_OS_MAC) || defined(Q_OS_WIN) 56 Ogre::RenderWindow* makeRenderWindow(
57 WindowIDType window_id,
60 double pixel_ratio = 1.0);
62 Ogre::Root*
root() {
return ogre_root_; }
66 void prepareOverlays(Ogre::SceneManager* scene_manager);
75 static void disableAntiAliasing();
78 static void forceGlVersion(
int version );
81 static void forceNoStereo();
88 void setupDummyWindowId();
89 void loadOgrePlugins();
92 Ogre::RenderWindow* tryMakeRenderWindow(
const std::string& name,
95 const Ogre::NameValuePairList* params,
99 void setupRenderSystem();
100 void setupResources();
101 void detectGlVersion();
121 #endif // RENDER_SYSTEM_H
static RenderSystem * instance_
static int force_gl_version_
WindowIDType dummy_window_id_
unsigned long WindowIDType
static bool force_no_stereo_
Ogre::OverlaySystem * ogre_overlay_system_
static bool use_anti_aliasing_