Changeset 10890
- Timestamp:
- 12/14/09 14:42:00 (4 years ago)
- Location:
- OpenSceneGraph/trunk
- Files:
-
- 3 modified
-
include/osg/GraphicsContext (modified) (2 diffs)
-
src/osg/GraphicsContext.cpp (modified) (3 diffs)
-
src/osgWrappers/osg/GraphicsContext.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osg/GraphicsContext
r10747 r10890 257 257 void runOperations(); 258 258 259 typedef std::list< ref_ptr<Operation> > OperationQueue;259 typedef std::list< ref_ptr<Operation> > GraphicsOperationQueue; 260 260 261 261 /** Get the operations queue, not you must use the OperationsMutex when accessing the queue.*/ 262 OperationQueue& getOperationsQueue() { return _operations; }262 GraphicsOperationQueue& getOperationsQueue() { return _operations; } 263 263 264 264 /** Get the operations queue mutex.*/ … … 472 472 OpenThreads::Mutex _operationsMutex; 473 473 osg::ref_ptr<osg::RefBlock> _operationsBlock; 474 OperationQueue_operations;474 GraphicsOperationQueue _operations; 475 475 osg::ref_ptr<Operation> _currentOperation; 476 476 -
OpenSceneGraph/trunk/src/osg/GraphicsContext.cpp
r10833 r10890 680 680 OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_operationsMutex); 681 681 682 for( OperationQueue::iterator itr = _operations.begin();682 for(GraphicsOperationQueue::iterator itr = _operations.begin(); 683 683 itr!=_operations.end();) 684 684 { … … 701 701 702 702 // find the remove all operations with specified name 703 for( OperationQueue::iterator itr = _operations.begin();703 for(GraphicsOperationQueue::iterator itr = _operations.begin(); 704 704 itr!=_operations.end();) 705 705 { … … 751 751 } 752 752 753 for( OperationQueue::iterator itr = _operations.begin();753 for(GraphicsOperationQueue::iterator itr = _operations.begin(); 754 754 itr != _operations.end(); 755 755 ) -
OpenSceneGraph/trunk/src/osgWrappers/osg/GraphicsContext.cpp
r10767 r10890 34 34 TYPE_NAME_ALIAS(std::vector< osg::GraphicsContext * >, osg::GraphicsContext::GraphicsContexts) 35 35 36 TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::Operation > >, osg::GraphicsContext:: OperationQueue)36 TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::Operation > >, osg::GraphicsContext::GraphicsOperationQueue) 37 37 38 38 TYPE_NAME_ALIAS(std::list< osg::Camera * >, osg::GraphicsContext::Cameras) … … 114 114 "Run the operations. ", 115 115 ""); 116 I_Method0(osg::GraphicsContext:: OperationQueue &, getOperationsQueue,117 Properties::NON_VIRTUAL, 118 __ OperationQueue_R1__getOperationsQueue,116 I_Method0(osg::GraphicsContext::GraphicsOperationQueue &, getOperationsQueue, 117 Properties::NON_VIRTUAL, 118 __GraphicsOperationQueue_R1__getOperationsQueue, 119 119 "Get the operations queue, not you must use the OperationsMutex when accessing the queue. ", 120 120 ""); … … 396 396 __OpenThreads_Mutex_P1__getOperationsMutex, 397 397 0); 398 I_SimpleProperty(osg::GraphicsContext:: OperationQueue &, OperationsQueue,399 __ OperationQueue_R1__getOperationsQueue,398 I_SimpleProperty(osg::GraphicsContext::GraphicsOperationQueue &, OperationsQueue, 399 __GraphicsOperationQueue_R1__getOperationsQueue, 400 400 0); 401 401 I_SimpleProperty(osg::GraphicsContext::ResizedCallback *, ResizedCallback,
