|
OSG
3.4.0
|
#include <GraphicsThread.h>


Public Member Functions | |
| ReleaseContext_Block_MakeCurrentOperation () | |
| virtual void | release () |
| virtual void | operator() (GraphicsContext *context) |
Public Member Functions inherited from osg::GraphicsOperation | |
| GraphicsOperation (const std::string &name, bool keep) | |
| virtual void | operator() (Object *object) |
Public Member Functions inherited from osg::Operation | |
| Operation (const std::string &name, bool keep) | |
| void | setName (const std::string &name) |
| const std::string & | getName () const |
| void | setKeep (bool keep) |
| bool | getKeep () const |
Public Member Functions inherited from osg::Referenced | |
| Referenced () | |
| Referenced (bool threadSafeRefUnref) | |
| Referenced (const Referenced &) | |
| Referenced & | operator= (const Referenced &) |
| virtual void | setThreadSafeRefUnref (bool threadSafe) |
| 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 osg::RefBlock | |
| RefBlock () | |
Public Member Functions inherited from OpenThreads::Block | |
| Block () | |
| ~Block () | |
| bool | block () |
| bool | block (unsigned long timeout) |
| void | release () |
| void | reset () |
| void | set (bool doRelease) |
Additional Inherited Members | |
Static Public Member Functions inherited from osg::Referenced | |
| static OpenThreads::Mutex * | getGlobalReferencedMutex () |
| static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
| static bool | getThreadSafeReferenceCounting () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| static DeleteHandler * | getDeleteHandler () |
Protected Member Functions inherited from osg::Operation | |
| Operation () | |
| Operation (const Operation &op) | |
| virtual | ~Operation () |
Protected Member Functions inherited from osg::Referenced | |
| virtual | ~Referenced () |
| void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
| void | deleteUsingDeleteHandler () const |
Protected Attributes inherited from osg::Operation | |
| std::string | _name |
| bool | _keep |
Protected Attributes inherited from osg::Referenced | |
| OpenThreads::AtomicPtr | _observerSet |
| OpenThreads::Atomic | _refCount |
Protected Attributes inherited from OpenThreads::Block | |
| Mutex | _mut |
| Condition | _cond |
| bool | _released |
ReleaseContext_Block_MakeCurrentOperation releases the context for another thread to acquire, then blocks waiting for context to be released, once the block is release the context is re-acquired.
Definition at line 83 of file GraphicsThread.h.
|
inline |
Definition at line 85 of file GraphicsThread.h.
|
virtual |
Implements osg::GraphicsOperation.
|
virtual |
if this operation is a barrier then release it.
Reimplemented from osg::Operation.
1.8.8