29 #ifndef RENDER_SYSTEM_H 30 #define RENDER_SYSTEM_H 35 #include "rviz/rviz_export.h" 48 #if defined(Q_OS_MAC) || defined(Q_OS_WIN) 56 Ogre::RenderWindow* makeRenderWindow(WindowIDType window_id,
59 double pixel_ratio = 1.0);
68 void prepareOverlays(Ogre::SceneManager* scene_manager);
83 static void disableAntiAliasing();
86 static void forceGlVersion(
int version);
89 static void forceNoStereo();
94 return stereo_supported_;
99 void setupDummyWindowId();
100 void loadOgrePlugins();
103 Ogre::RenderWindow* tryMakeRenderWindow(
const std::string& name,
106 const Ogre::NameValuePairList* params,
110 void setupRenderSystem();
111 void setupResources();
112 void detectGlVersion();
132 #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_