#include <render_system.h>
Public Member Functions | |
int | getGlslVersion () |
int | getGlVersion () |
Ogre::RenderWindow * | makeRenderWindow (intptr_t window_id, unsigned int width, unsigned int height) |
Ogre::Root * | root () |
Static Public Member Functions | |
static void | forceGlVersion (int version) |
static RenderSystem * | get () |
Private Member Functions | |
void | detectGlVersion () |
void | loadOgrePlugins () |
RenderSystem () | |
void | setupDummyWindowId () |
void | setupRenderSystem () |
void | setupResources () |
Private Attributes | |
unsigned long | dummy_window_id_ |
int | gl_version_ |
int | glsl_version_ |
Ogre::Root * | ogre_root_ |
Static Private Attributes | |
static int | force_gl_version_ = 0 |
static RenderSystem * | instance_ = 0 |
Definition at line 38 of file render_system.h.
rviz::RenderSystem::RenderSystem | ( | ) | [private] |
Definition at line 79 of file render_system.cpp.
void rviz::RenderSystem::detectGlVersion | ( | ) | [private] |
Definition at line 132 of file render_system.cpp.
void rviz::RenderSystem::forceGlVersion | ( | int | version | ) | [static] |
Definition at line 73 of file render_system.cpp.
RenderSystem * rviz::RenderSystem::get | ( | ) | [static] |
Definition at line 64 of file render_system.cpp.
int rviz::RenderSystem::getGlslVersion | ( | ) | [inline] |
Definition at line 51 of file render_system.h.
int rviz::RenderSystem::getGlVersion | ( | ) | [inline] |
Definition at line 48 of file render_system.h.
void rviz::RenderSystem::loadOgrePlugins | ( | ) | [private] |
Definition at line 121 of file render_system.cpp.
Ogre::RenderWindow * rviz::RenderSystem::makeRenderWindow | ( | intptr_t | window_id, |
unsigned int | width, | ||
unsigned int | height | ||
) |
Definition at line 285 of file render_system.cpp.
Ogre::Root* rviz::RenderSystem::root | ( | ) | [inline] |
Definition at line 45 of file render_system.h.
void rviz::RenderSystem::setupDummyWindowId | ( | ) | [private] |
Definition at line 96 of file render_system.cpp.
void rviz::RenderSystem::setupRenderSystem | ( | ) | [private] |
We used to allow the user to set the RTT mode to PBuffer, FBO, or Copy. Copy is slow, and there doesn't seem to be a good reason to use it PBuffer limits the size of the renderable area of the RTT to the size of the first window created. FBO seem to be the only good option
Definition at line 179 of file render_system.cpp.
void rviz::RenderSystem::setupResources | ( | ) | [private] |
Definition at line 223 of file render_system.cpp.
unsigned long rviz::RenderSystem::dummy_window_id_ [private] |
Definition at line 69 of file render_system.h.
int rviz::RenderSystem::force_gl_version_ = 0 [static, private] |
Definition at line 75 of file render_system.h.
int rviz::RenderSystem::gl_version_ [private] |
Definition at line 73 of file render_system.h.
int rviz::RenderSystem::glsl_version_ [private] |
Definition at line 74 of file render_system.h.
RenderSystem * rviz::RenderSystem::instance_ = 0 [static, private] |
Definition at line 66 of file render_system.h.
Ogre::Root* rviz::RenderSystem::ogre_root_ [private] |
Definition at line 71 of file render_system.h.