Public Member Functions | |
| PixelBufferX11 (osg::GraphicsContext::Traits *traits) | |
| virtual bool | isSameKindAs (const Object *object) const |
| virtual const char * | libraryName () const |
| return the name of the object's library. | |
| virtual const char * | className () const |
| return the name of the object's class type. | |
| virtual bool | valid () const |
| Return whether a valid and usable GraphicsContext has been created. | |
| virtual bool | realizeImplementation () |
| Realise the GraphicsContext. | |
| virtual bool | isRealizedImplementation () const |
| Return true if the graphics context has been realised and is ready to use. | |
| virtual void | closeImplementation () |
| Close the graphics context. | |
| virtual bool | makeCurrentImplementation () |
| Make this graphics context current. | |
| virtual bool | makeContextCurrentImplementation (osg::GraphicsContext *readContext) |
| Make this graphics context current with specified read context implementation. | |
| virtual bool | releaseContextImplementation () |
| Release the graphics context. | |
| virtual void | bindPBufferToTextureImplementation (GLenum buffer) |
| Bind the graphics context to associated texture implementation. | |
| virtual void | swapBuffersImplementation () |
| Swap the front and back buffers. | |
| Display * | getDisplay () const |
| Window & | getParent () |
| GLXPbuffer & | getPbuffer () |
| GLXContext & | getGLXContext () |
Protected Member Functions | |
| ~PixelBufferX11 () | |
| bool | createVisualInfo () |
| void | init () |
Protected Attributes | |
| bool | _valid |
| Display * | _display |
| Window | _parent |
| GLXPbuffer | _pbuffer |
| XVisualInfo * | _visualInfo |
| GLXContext | _glxContext |
| bool | _initialized |
| bool | _realized |
| osgViewer::PixelBufferX11::PixelBufferX11 | ( | osg::GraphicsContext::Traits * | traits | ) |
| osgViewer::PixelBufferX11::~PixelBufferX11 | ( | ) | [protected] |
| virtual bool osgViewer::PixelBufferX11::isSameKindAs | ( | const Object * | object | ) | const [inline, virtual] |
| virtual const char* osgViewer::PixelBufferX11::libraryName | ( | ) | const [inline, virtual] |
return the name of the object's library.
Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name.
Reimplemented from osg::GraphicsContext.
| virtual const char* osgViewer::PixelBufferX11::className | ( | ) | const [inline, virtual] |
return the name of the object's class type.
Must be defined by derived classes.
Reimplemented from osg::GraphicsContext.
| virtual bool osgViewer::PixelBufferX11::valid | ( | ) | const [inline, virtual] |
Return whether a valid and usable GraphicsContext has been created.
Implements osg::GraphicsContext.
| virtual bool osgViewer::PixelBufferX11::realizeImplementation | ( | ) | [virtual] |
| virtual bool osgViewer::PixelBufferX11::isRealizedImplementation | ( | ) | const [inline, virtual] |
Return true if the graphics context has been realised and is ready to use.
Implements osg::GraphicsContext.
| virtual void osgViewer::PixelBufferX11::closeImplementation | ( | ) | [virtual] |
| virtual bool osgViewer::PixelBufferX11::makeCurrentImplementation | ( | ) | [virtual] |
| virtual bool osgViewer::PixelBufferX11::makeContextCurrentImplementation | ( | osg::GraphicsContext * | readContext | ) | [virtual] |
Make this graphics context current with specified read context implementation.
Implements osg::GraphicsContext.
| virtual bool osgViewer::PixelBufferX11::releaseContextImplementation | ( | ) | [virtual] |
| virtual void osgViewer::PixelBufferX11::bindPBufferToTextureImplementation | ( | GLenum | buffer | ) | [virtual] |
| virtual void osgViewer::PixelBufferX11::swapBuffersImplementation | ( | ) | [virtual] |
| Display* osgViewer::PixelBufferX11::getDisplay | ( | ) | const [inline] |
| Window& osgViewer::PixelBufferX11::getParent | ( | ) | [inline] |
| GLXPbuffer& osgViewer::PixelBufferX11::getPbuffer | ( | ) | [inline] |
| GLXContext& osgViewer::PixelBufferX11::getGLXContext | ( | ) | [inline] |
| bool osgViewer::PixelBufferX11::createVisualInfo | ( | ) | [protected] |
| void osgViewer::PixelBufferX11::init | ( | ) | [protected] |
bool osgViewer::PixelBufferX11::_valid [protected] |
Display* osgViewer::PixelBufferX11::_display [protected] |
Window osgViewer::PixelBufferX11::_parent [protected] |
GLXPbuffer osgViewer::PixelBufferX11::_pbuffer [protected] |
XVisualInfo* osgViewer::PixelBufferX11::_visualInfo [protected] |
GLXContext osgViewer::PixelBufferX11::_glxContext [protected] |
bool osgViewer::PixelBufferX11::_initialized [protected] |
bool osgViewer::PixelBufferX11::_realized [protected] |