Changeset 13041 for OpenSceneGraph/trunk/include/osg/GraphicsThread
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/osg/GraphicsThread (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osg/GraphicsThread
r9179 r13041 26 26 { 27 27 public: 28 28 29 29 GraphicsThread(); 30 31 /** Run does the graphics thread run loop.*/ 30 31 /** Run does the graphics thread run loop.*/ 32 32 virtual void run(); 33 33 }; … … 73 73 74 74 virtual void operator () (Object* object); 75 75 76 76 PreBlockOp _preBlockOp; 77 77 }; 78 78 79 /** ReleaseContext_Block_MakeCurrentOperation releases the context for another thread to acquire, 79 /** ReleaseContext_Block_MakeCurrentOperation releases the context for another thread to acquire, 80 80 * then blocks waiting for context to be released, once the block is release the context is re-acquired.*/ 81 81 struct OSG_EXPORT ReleaseContext_Block_MakeCurrentOperation : public GraphicsOperation, public RefBlock … … 104 104 105 105 virtual void operator () (GraphicsContext*); 106 106 107 107 double _availableTime; 108 108 }; … … 114 114 RunOperations(): 115 115 osg::GraphicsOperation("RunOperation",true) {} 116 116 117 117 virtual void operator () (osg::GraphicsContext* context); 118 118 119 119 }; 120 120 … … 122 122 { 123 123 public: 124 124 125 125 EndOfDynamicDrawBlock(unsigned int); 126 126 127 127 void completed(osg::State* state); 128 128
