|
OSG
3.4.0
|
#include <PixelBufferX11.h>
Public Member Functions | |
| PixelBufferX11 (osg::GraphicsContext::Traits *traits) | |
| virtual bool | isSameKindAs (const Object *object) const |
| virtual const char * | libraryName () const |
| virtual const char * | className () const |
| virtual bool | valid () const |
| virtual bool | realizeImplementation () |
| virtual bool | isRealizedImplementation () const |
| virtual void | closeImplementation () |
| virtual bool | makeCurrentImplementation () |
| virtual bool | makeContextCurrentImplementation (osg::GraphicsContext *readContext) |
| virtual bool | releaseContextImplementation () |
| virtual void | bindPBufferToTextureImplementation (GLenum buffer) |
| virtual void | swapBuffersImplementation () |
| Pbuffer & | getPbuffer () |
Public Member Functions inherited from osg::GraphicsContext | |
| void | add (Operation *operation) |
| void | remove (Operation *operation) |
| void | remove (const std::string &name) |
| void | removeAllOperations () |
| virtual void | runOperations () |
| GraphicsOperationQueue & | getOperationsQueue () |
| OpenThreads::Mutex * | getOperationsMutex () |
| osg::RefBlock * | getOperationsBlock () |
| Operation * | getCurrentOperation () |
| const Traits * | getTraits () const |
| void | setState (State *state) |
| State * | getState () |
| const State * | getState () const |
| void | setClearColor (const Vec4 &color) |
| const Vec4 & | getClearColor () const |
| void | setClearMask (GLbitfield mask) |
| GLbitfield | getClearMask () const |
| virtual void | clear () |
| double | getTimeSinceLastClear () const |
| bool | realize () |
| void | close (bool callCloseImplementation=true) |
| void | swapBuffers () |
| bool | isRealized () const |
| bool | makeCurrent () |
| bool | makeContextCurrent (GraphicsContext *readContext) |
| bool | releaseContext () |
| bool | isCurrent () const |
| void | bindPBufferToTexture (GLenum buffer) |
| void | createGraphicsThread () |
| void | setGraphicsThread (GraphicsThread *gt) |
| GraphicsThread * | getGraphicsThread () |
| const GraphicsThread * | getGraphicsThread () const |
| void | setSwapCallback (SwapCallback *rc) |
| SwapCallback * | getSwapCallback () |
| const SwapCallback * | getSwapCallback () const |
| void | swapBuffersCallbackOrImplemenation () |
| void | resized (int x, int y, int width, int height) |
| void | setResizedCallback (ResizedCallback *rc) |
| ResizedCallback * | getResizedCallback () |
| const ResizedCallback * | getResizedCallback () const |
| virtual void | resizedImplementation (int x, int y, int width, int height) |
| Cameras & | getCameras () |
| const Cameras & | getCameras () const |
| void | setDefaultFboId (GLuint i) |
| GLuint | getDefaultFboId () const |
| virtual bool | isSameKindAs (const Object *object) const |
Public Member Functions inherited from osg::Object | |
| Object () | |
| Object (bool threadSafeRefUnref) | |
| Object (const Object &, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
| std::string | getCompoundClassName () const |
| virtual Node * | asNode () |
| virtual const Node * | asNode () const |
| virtual NodeVisitor * | asNodeVisitor () |
| virtual const NodeVisitor * | asNodeVisitor () const |
| virtual StateAttribute * | asStateAttribute () |
| virtual const StateAttribute * | asStateAttribute () const |
| virtual Uniform * | asUniform () |
| virtual const Uniform * | asUniform () const |
| virtual void | setThreadSafeRefUnref (bool threadSafe) |
| virtual void | setName (const std::string &name) |
| void | setName (const char *name) |
| const std::string & | getName () const |
| void | setDataVariance (DataVariance dv) |
| DataVariance | getDataVariance () const |
| virtual void | computeDataVariance () |
| void | setUserDataContainer (osg::UserDataContainer *udc) |
| osg::UserDataContainer * | getUserDataContainer () |
| const osg::UserDataContainer * | getUserDataContainer () const |
| osg::UserDataContainer * | getOrCreateUserDataContainer () |
| virtual void | setUserData (Referenced *obj) |
| virtual Referenced * | getUserData () |
| virtual const Referenced * | getUserData () const |
| template<typename T > | |
| bool | getUserValue (const std::string &name, T &value) const |
| template<typename T > | |
| void | setUserValue (const std::string &name, const T &value) |
| virtual void | resizeGLObjectBuffers (unsigned int) |
| virtual void | releaseGLObjects (osg::State *=0) const |
| template<typename T > | |
| BoolValueObject UCharValueObject UShortValueObject UIntValueObject DoubleValueObject Vec3fValueObject Vec2dValueObject Vec4dValueObject PlaneValueObject MatrixdValueObject BoundingBoxdValueObject BoundingSpheredValueObject bool | getUserValue (const std::string &name, T &value) const |
Public Member Functions inherited from osg::Referenced | |
| Referenced () | |
| Referenced (bool threadSafeRefUnref) | |
| Referenced (const Referenced &) | |
| Referenced & | operator= (const Referenced &) |
| bool | getThreadSafeRefUnref () const |
| OpenThreads::Mutex * | getRefMutex () const |
| int | ref () const |
| int | unref () const |
| int | unref_nodelete () const |
| int | referenceCount () const |
| ObserverSet * | getObserverSet () const |
| ObserverSet * | getOrCreateObserverSet () const |
| void | addObserver (Observer *observer) const |
| void | removeObserver (Observer *observer) const |
Public Member Functions inherited from osgViewer::GraphicsHandleX11 | |
| GraphicsHandleX11 () | |
| void | setDisplay (Display *display) |
| Display * | getDisplay () const |
| void | setContext (Context context) |
| Context | getContext () const |
Protected Member Functions | |
| ~PixelBufferX11 () | |
| bool | createVisualInfo () |
| void | init () |
Protected Member Functions inherited from osg::GraphicsContext | |
| GraphicsContext () | |
| GraphicsContext (const GraphicsContext &, const osg::CopyOp &) | |
| virtual | ~GraphicsContext () |
| virtual Object * | cloneType () const |
| virtual Object * | clone (const CopyOp &) const |
| void | addCamera (osg::Camera *camera) |
| void | removeCamera (osg::Camera *camera) |
Protected Member Functions inherited from osg::Object | |
| virtual | ~Object () |
Protected Member Functions inherited from osg::Referenced | |
| virtual | ~Referenced () |
| void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
| void | deleteUsingDeleteHandler () const |
Definition at line 28 of file PixelBufferX11.h.
| osgViewer::PixelBufferX11::PixelBufferX11 | ( | osg::GraphicsContext::Traits * | traits | ) |
|
protected |
|
virtual |
Bind the graphics context to associated texture implementation.
Implements osg::GraphicsContext.
|
inlinevirtual |
return the name of the object's class type. Must be defined by derived classes.
Reimplemented from osg::GraphicsContext.
Definition at line 36 of file PixelBufferX11.h.
|
virtual |
Close the graphics context.
Implements osg::GraphicsContext.
|
protected |
|
inline |
Definition at line 68 of file PixelBufferX11.h.
|
protected |
|
inlinevirtual |
Return true if the graphics context has been realised and is ready to use.
Implements osg::GraphicsContext.
Definition at line 44 of file PixelBufferX11.h.
|
inlinevirtual |
Definition at line 34 of file PixelBufferX11.h.
|
inlinevirtual |
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.
Definition at line 35 of file PixelBufferX11.h.
|
virtual |
Make this graphics context current with specified read context implementation.
Implements osg::GraphicsContext.
|
virtual |
Make this graphics context current.
Implements osg::GraphicsContext.
|
virtual |
Realise the GraphicsContext.
Implements osg::GraphicsContext.
|
virtual |
Release the graphics context.
Implements osg::GraphicsContext.
|
virtual |
Swap the front and back buffers.
Implements osg::GraphicsContext.
|
inlinevirtual |
Return whether a valid and usable GraphicsContext has been created.
Implements osg::GraphicsContext.
Definition at line 38 of file PixelBufferX11.h.
|
protected |
Definition at line 82 of file PixelBufferX11.h.
|
protected |
Definition at line 79 of file PixelBufferX11.h.
|
protected |
Definition at line 83 of file PixelBufferX11.h.
|
protected |
Definition at line 85 of file PixelBufferX11.h.
|
protected |
Definition at line 86 of file PixelBufferX11.h.
|
protected |
Definition at line 78 of file PixelBufferX11.h.
|
protected |
Definition at line 80 of file PixelBufferX11.h.
1.8.8