Changeset 11254
- Timestamp:
- 03/19/10 16:56:12 (3 years ago)
- Location:
- OpenSceneGraph/branches/OpenSceneGraph-2.8
- Files:
-
- 70 modified
-
. (modified) (1 prop)
-
CMakeModules/FindFFmpeg.cmake (modified) (3 diffs)
-
applications/osgarchive/osgarchive.cpp (modified) (1 prop)
-
examples (modified) (1 prop)
-
examples/osgcluster/broadcaster.cpp (modified) (1 prop)
-
examples/osgmovie/osgmovie.cpp (modified) (5 diffs)
-
include/osg (modified) (1 prop)
-
include/osg/AudioStream (modified) (3 diffs)
-
include/osg/Image (modified) (2 diffs)
-
include/osg/ImageStream (modified) (2 diffs)
-
include/osg/PrimitiveSet (modified) (4 diffs)
-
include/osgAnimation (modified) (1 prop)
-
src/OpenThreads/pthreads (modified) (1 prop)
-
src/OpenThreads/win32 (modified) (1 prop)
-
src/osg (modified) (1 prop)
-
src/osg/Drawable.cpp (modified) (1 prop)
-
src/osg/Geometry.cpp (modified) (1 prop)
-
src/osg/GraphicsContext.cpp (modified) (1 prop)
-
src/osg/Image.cpp (modified) (2 diffs, 1 prop)
-
src/osg/Node.cpp (modified) (1 prop)
-
src/osg/PolygonOffset.cpp (modified) (1 prop)
-
src/osg/State.cpp (modified) (1 prop)
-
src/osgAnimation (modified) (1 prop)
-
src/osgDB (modified) (1 prop)
-
src/osgDB/CMakeLists.txt (modified) (1 prop)
-
src/osgDB/DatabasePager.cpp (modified) (1 prop)
-
src/osgManipulator (modified) (1 prop)
-
src/osgPlugins (modified) (1 prop)
-
src/osgPlugins/3ds/ReaderWriter3DS.cpp (modified) (1 prop)
-
src/osgPlugins/OpenFlight (modified) (1 prop)
-
src/osgPlugins/bsp (modified) (1 prop)
-
src/osgPlugins/bsp/VBSPReader.cpp (modified) (1 prop)
-
src/osgPlugins/bvh (modified) (1 prop)
-
src/osgPlugins/curl (modified) (1 prop)
-
src/osgPlugins/dxf (modified) (1 prop)
-
src/osgPlugins/dxf/dxfEntity.cpp (modified) (1 prop)
-
src/osgPlugins/ffmpeg/CMakeLists.txt (modified) (2 diffs)
-
src/osgPlugins/ffmpeg/FFmpegAudioStream.cpp (modified) (1 diff)
-
src/osgPlugins/ffmpeg/FFmpegAudioStream.hpp (modified) (1 diff)
-
src/osgPlugins/ffmpeg/FFmpegClocks.cpp (modified) (6 diffs)
-
src/osgPlugins/ffmpeg/FFmpegClocks.hpp (modified) (5 diffs)
-
src/osgPlugins/ffmpeg/FFmpegDecoder.cpp (modified) (9 diffs)
-
src/osgPlugins/ffmpeg/FFmpegDecoder.hpp (modified) (5 diffs)
-
src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp (modified) (11 diffs)
-
src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp (modified) (3 diffs)
-
src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp (modified) (15 diffs)
-
src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp (modified) (6 diffs)
-
src/osgPlugins/ffmpeg/FFmpegHeaders.hpp (modified) (1 diff)
-
src/osgPlugins/ffmpeg/FFmpegImageStream.cpp (modified) (11 diffs)
-
src/osgPlugins/ffmpeg/FFmpegImageStream.hpp (modified) (4 diffs)
-
src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp (modified) (4 diffs)
-
src/osgPlugins/hdr/hdrloader.cpp (modified) (1 prop)
-
src/osgPlugins/jpeg (modified) (1 prop)
-
src/osgPlugins/mdl (modified) (1 prop)
-
src/osgPlugins/mdl/MDLReader.cpp (modified) (1 prop)
-
src/osgPlugins/osgAnimation (modified) (1 prop)
-
src/osgPlugins/osgVolume (modified) (1 prop)
-
src/osgPlugins/pdf (modified) (1 prop)
-
src/osgPlugins/txp (modified) (1 prop)
-
src/osgSim (modified) (1 prop)
-
src/osgTerrain (modified) (1 prop)
-
src/osgTerrain/GeometryTechnique.cpp (modified) (11 diffs)
-
src/osgText/TextBase.cpp (modified) (1 prop)
-
src/osgUtil/Optimizer.cpp (modified) (1 prop)
-
src/osgUtil/RenderStage.cpp (modified) (1 prop)
-
src/osgViewer (modified) (1 prop)
-
src/osgViewer/GraphicsWindowWin32.cpp (modified) (1 prop)
-
src/osgVolume (modified) (1 prop)
-
src/osgWidget (modified) (1 prop)
-
src/osgWrappers/osg/PrimitiveSet.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/branches/OpenSceneGraph-2.8
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2:10664 2 /OpenSceneGraph/trunk:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/CMakeModules/FindFFmpeg.cmake
r11242 r11254 2 2 # This module defines 3 3 # FFMPEG_LIBRARIES 4 # FFMPEG_FOUND, if false, do not try to link to ffmpeg 4 # FFMPEG_FOUND, if false, do not try to link to ffmpeg 5 5 # FFMPEG_INCLUDE_DIR, where to find the headers 6 6 # … … 8 8 # correspond to the ./configure --prefix=$FFMPEG_DIR 9 9 # 10 # Created by Robert Osfield. 10 # Created by Robert Osfield. 11 11 12 #use pkg-config to find various modes13 INCLUDE(FindPkgConfig OPTIONAL)14 12 15 IF(PKG_CONFIG_FOUND) 13 #In ffmpeg code, old version use "#include <header.h>" and newer use "#include <libname/header.h>" 14 #In OSG ffmpeg plugin, we use "#include <header.h>" for compatibility with old version of ffmpeg 16 15 17 INCLUDE(FindPkgConfig) 16 #We have to search the path which contain the header.h (usefull for old version) 17 #and search the path which contain the libname/header.h (usefull for new version) 18 18 19 pkg_check_modules(FFMPEG_LIBAVFORMAT libavformat) 20 pkg_check_modules(FFMPEG_LIBAVDEVICE libavdevice) 21 pkg_check_modules(FFMPEG_LIBAVCODEC libavcodec) 22 pkg_check_modules(FFMPEG_LIBAVUTIL libavutil) 23 pkg_check_modules(FFMPEG_LIBSWSCALE libswscale) 19 #Then we need to include ${FFMPEG_libname_INCLUDE_DIRS} (in old version case, use by ffmpeg header and osg plugin code) 20 # (in new version case, use by ffmpeg header) 21 #and ${FFMPEG_libname_INCLUDE_DIRS/libname} (in new version case, use by osg plugin code) 24 22 25 ENDIF(PKG_CONFIG_FOUND) 23 24 # Macro to find header and lib directories 25 # example: FFMPEG_FIND(AVFORMAT avformat avformat.h) 26 MACRO(FFMPEG_FIND varname shortname headername) 27 # old version of ffmpeg put header in $prefix/include/[ffmpeg] 28 # so try to find header in include directory 29 30 FIND_PATH(FFMPEG_${varname}_INCLUDE_DIRS lib${shortname}/${headername} 31 PATHS 32 ${FFMPEG_ROOT}/include 33 $ENV{FFMPEG_DIR}/include 34 ~/Library/Frameworks 35 /Library/Frameworks 36 /usr/local/include 37 /usr/include 38 /sw/include # Fink 39 /opt/local/include # DarwinPorts 40 /opt/csw/include # Blastwave 41 /opt/include 42 /usr/freeware/include 43 PATH_SUFFIXES ffmpeg 44 DOC "Location of FFMPEG Headers" 45 ) 46 47 FIND_PATH(FFMPEG_${varname}_INCLUDE_DIRS ${headername} 48 PATHS 49 ${FFMPEG_ROOT}/include 50 $ENV{FFMPEG_DIR}/include 51 ~/Library/Frameworks 52 /Library/Frameworks 53 /usr/local/include 54 /usr/include 55 /sw/include # Fink 56 /opt/local/include # DarwinPorts 57 /opt/csw/include # Blastwave 58 /opt/include 59 /usr/freeware/include 60 PATH_SUFFIXES ffmpeg 61 DOC "Location of FFMPEG Headers" 62 ) 63 64 FIND_LIBRARY(FFMPEG_${varname}_LIBRARIES 65 NAMES ${shortname} 66 PATHS 67 ${FFMPEG_ROOT}/lib 68 $ENV{FFMPEG_DIR}/lib 69 ~/Library/Frameworks 70 /Library/Frameworks 71 /usr/local/lib 72 /usr/local/lib64 73 /usr/lib 74 /usr/lib64 75 /sw/lib 76 /opt/local/lib 77 /opt/csw/lib 78 /opt/lib 79 /usr/freeware/lib64 80 DOC "Location of FFMPEG Libraries" 81 ) 82 83 IF (FFMPEG_${varname}_LIBRARIES AND FFMPEG_${varname}_INCLUDE_DIRS) 84 SET(FFMPEG_${varname}_FOUND 1) 85 ENDIF(FFMPEG_${varname}_LIBRARIES AND FFMPEG_${varname}_INCLUDE_DIRS) 86 87 ENDMACRO(FFMPEG_FIND) 88 89 SET(FFMPEG_ROOT "$ENV{FFMPEG_DIR}" CACHE PATH "Location of FFMPEG") 90 91 # find stdint.h 92 IF(WIN32) 93 94 FIND_PATH(FFMPEG_STDINT_INCLUDE_DIR stdint.h 95 PATHS 96 ${FFMPEG_ROOT}/include 97 $ENV{FFMPEG_DIR}/include 98 ~/Library/Frameworks 99 /Library/Frameworks 100 /usr/local/include 101 /usr/include 102 /sw/include # Fink 103 /opt/local/include # DarwinPorts 104 /opt/csw/include # Blastwave 105 /opt/include 106 /usr/freeware/include 107 PATH_SUFFIXES ffmpeg 108 DOC "Location of FFMPEG stdint.h Header" 109 ) 110 111 IF (FFMPEG_STDINT_INCLUDE_DIR) 112 SET(STDINT_OK TRUE) 113 ENDIF() 114 115 ELSE() 116 117 SET(STDINT_OK TRUE) 118 119 ENDIF() 120 121 FFMPEG_FIND(LIBAVFORMAT avformat avformat.h) 122 FFMPEG_FIND(LIBAVDEVICE avdevice avdevice.h) 123 FFMPEG_FIND(LIBAVCODEC avcodec avcodec.h) 124 FFMPEG_FIND(LIBAVUTIL avutil avutil.h) 125 FFMPEG_FIND(LIBSWSCALE swscale swscale.h) # not sure about the header to look for here. 26 126 27 127 SET(FFMPEG_FOUND "NO") 28 IF (FFMPEG_LIBAVFORMAT_FOUND AND FFMPEG_LIBAVDEVICE_FOUND AND FFMPEG_LIBAVCODEC_FOUND AND FFMPEG_LIBAVUTIL_FOUND) 29 128 # Note we don't check FFMPEG_LIBSWSCALE_FOUND here, it's optional. 129 IF (FFMPEG_LIBAVFORMAT_FOUND AND FFMPEG_LIBAVDEVICE_FOUND AND FFMPEG_LIBAVCODEC_FOUND AND FFMPEG_LIBAVUTIL_FOUND AND STDINT_OK) 130 30 131 SET(FFMPEG_FOUND "YES") 31 132 32 SET(FFMPEG_INCLUDE_DIRS ${FFMPEG_LIBAVFORMAT_INCLUDE_DIRS}) 133 SET(FFMPEG_INCLUDE_DIRS 134 ${FFMPEG_LIBAVFORMAT_INCLUDE_DIRS} ${FFMPEG_LIBAVFORMAT_INCLUDE_DIRS}/libavformat 135 ${FFMPEG_LIBAVDEVICE_INCLUDE_DIRS} ${FFMPEG_LIBAVDEVICE_INCLUDE_DIRS}/libavdevice 136 ${FFMPEG_LIBAVCODEC_INCLUDE_DIRS} ${FFMPEG_LIBAVCODEC_INCLUDE_DIRS}/libavcodec 137 ${FFMPEG_LIBAVUTIL_INCLUDE_DIRS} ${FFMPEG_LIBAVUTIL_INCLUDE_DIRS}/libavutil 138 ) 139 140 IF (${FFMPEG_STDINT_INCLUDE_DIR}) 141 SET(FFMPEG_INCLUDE_DIRS 142 ${FFMPEG_INCLUDE_DIRS} 143 ${FFMPEG_STDINT_INCLUDE_DIR} 144 ${FFMPEG_STDINT_INCLUDE_DIR}/libavformat 145 ${FFMPEG_STDINT_INCLUDE_DIR}/libavdevice 146 ${FFMPEG_STDINT_INCLUDE_DIR}/libavcodec 147 ${FFMPEG_STDINT_INCLUDE_DIR}/libavutil 148 ) 149 ENDIF() 150 33 151 34 152 SET(FFMPEG_LIBRARY_DIRS ${FFMPEG_LIBAVFORMAT_LIBRARY_DIRS}) 35 153 154 # Note we don't add FFMPEG_LIBSWSCALE_LIBRARIES here, it will be added if found later. 36 155 SET(FFMPEG_LIBRARIES 37 156 ${FFMPEG_LIBAVFORMAT_LIBRARIES} … … 39 158 ${FFMPEG_LIBAVCODEC_LIBRARIES} 40 159 ${FFMPEG_LIBAVUTIL_LIBRARIES}) 41 42 ENDIF(FFMPEG_LIBAVFORMAT_FOUND AND FFMPEG_LIBAVDEVICE_FOUND AND FFMPEG_LIBAVCODEC_FOUND AND FFMPEG_LIBAVUTIL_FOUND)43 160 161 ELSE () 44 162 163 # MESSAGE(STATUS "Could not find FFMPEG") 164 165 ENDIF() -
OpenSceneGraph/branches/OpenSceneGraph-2.8/applications/osgarchive/osgarchive.cpp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/applications/osgarchive/osgarchive.cpp:10664 2 /OpenSceneGraph/trunk/applications/osgarchive/osgarchive.cpp:9769,9810,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/applications/osgarchive/osgarchive.cpp:9769,9810,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/examples
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/examples:10664 2 /OpenSceneGraph/trunk/examples:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10064,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11009,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/examples:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10064,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11009,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/examples/osgcluster/broadcaster.cpp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/examples/osgcluster/broadcaster.cpp:10664 2 /OpenSceneGraph/trunk/examples/osgcluster/broadcaster.cpp:9769,9816-9818,9826-9828,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10064,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11009,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/examples/osgcluster/broadcaster.cpp:9769,9816-9818,9826-9828,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10064,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11009,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/examples/osgmovie/osgmovie.cpp
r11242 r11254 120 120 bool _trackMouse; 121 121 ImageStreamList _imageStreamList; 122 unsigned int _seekIncr; 122 123 123 124 }; … … 240 241 return true; 241 242 } 243 else if (ea.getKey()=='>') 244 { 245 for(ImageStreamList::iterator itr=_imageStreamList.begin(); 246 itr!=_imageStreamList.end(); 247 ++itr) 248 { 249 std::cout<<"Seeking"<<std::endl; 250 if(_seekIncr > 3) _seekIncr = 0; 251 double length = (*itr)->getLength(); 252 double t_pos = (length/4.0f)*_seekIncr; 253 //(*itr)->rewind(); 254 (*itr)->seek(t_pos); 255 (*itr)->play(); 256 _seekIncr++; 257 } 258 return true; 259 } 242 260 else if (ea.getKey()=='L') 243 261 { … … 273 291 usage.addKeyboardMouseBinding("r","Restart movie"); 274 292 usage.addKeyboardMouseBinding("l","Toggle looping of movie"); 293 usage.addKeyboardMouseBinding(">","Advance the movie using seek"); 275 294 } 276 295 … … 326 345 327 346 CustomAudioSink(osg::AudioStream* audioStream): 328 _playing(false), 347 _started(false), 348 _paused(false), 329 349 _audioStream(audioStream) {} 330 350 … … 341 361 virtual bool playing() const { return _playing; } 342 362 343 bool _playing; 363 364 bool _started; 365 bool _paused; 344 366 osg::observer_ptr<osg::AudioStream> _audioStream; 345 367 }; -
OpenSceneGraph/branches/OpenSceneGraph-2.8/include/osg
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/include/osg:10664 2 /OpenSceneGraph/trunk/include/osg:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10228,10264,10283,10340,10410,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/include/osg:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10228,10264,10283,10340,10391-10392,10408,10410,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/include/osg/AudioStream
r11242 r11254 26 26 AudioSink(); 27 27 28 virtual void startPlaying() = 0; 28 virtual const char * libraryName() const { return "osg"; } 29 virtual const char * className() const { return "AudioSinkInterface"; } 30 31 virtual void play() = 0; 32 virtual void pause() = 0; 33 virtual void stop() = 0; 34 29 35 virtual bool playing() const = 0; 30 36 … … 32 38 virtual void setDelay(const double delay) { _delay = delay; } 33 39 34 virtual const char * libraryName() const { return "osgFFmpeg";}35 virtual const char * className() const { return "AudioSinkInterface"; }40 virtual void setVolume(float) {} 41 virtual float getVolume() const { return 0.0f; } 36 42 37 43 private: … … 60 66 virtual void consumeAudioBuffer(void * const buffer, const size_t size) = 0; 61 67 62 virtual bool audioStream() const = 0;63 68 virtual int audioFrequency() const = 0; 64 69 virtual int audioNbChannels() const = 0; -
OpenSceneGraph/branches/OpenSceneGraph-2.8/include/osg/Image
r9643 r11254 186 186 void setPacking(unsigned int packing) { _packing = packing; } 187 187 inline unsigned int getPacking() const { return _packing; } 188 189 inline void setPixelAspectRatio(float pixelAspectRatio) { _pixelAspectRatio = pixelAspectRatio; } 190 inline float getPixelAspectRatio() const { return _pixelAspectRatio; } 188 191 189 192 /** Return the number of bits required for each pixel. */ … … 347 350 GLenum _dataType; 348 351 unsigned int _packing; 352 float _pixelAspectRatio; 349 353 350 354 AllocationMode _allocationMode; -
OpenSceneGraph/branches/OpenSceneGraph-2.8/include/osg/ImageStream
r11242 r11254 79 79 80 80 virtual double getLength() const { return 0.0; } 81 81 virtual double getFrameRate() const { return 0.0; } 82 82 83 virtual void setReferenceTime(double) {} 83 84 virtual double getReferenceTime() const { return 0.0; } … … 88 89 virtual void setVolume(float) {} 89 90 virtual float getVolume() const { return 0.0f; } 90 91 91 92 92 typedef std::vector< osg::ref_ptr<osg::AudioStream> > AudioStreams; -
OpenSceneGraph/branches/OpenSceneGraph-2.8/include/osg/PrimitiveSet
r9599 r11254 450 450 if (_ebo.valid()) _ebo->releaseGLObjects(state); 451 451 } 452 453 454 virtual void reserveElements(unsigned int numIndices) = 0; 455 virtual void setElement(unsigned int, unsigned int) = 0; 456 virtual unsigned int getElement(unsigned int) = 0; 457 virtual void addElement(unsigned int) = 0; 452 458 453 459 protected: … … 527 533 } 528 534 535 virtual void reserveElements(unsigned int numIndices) { reserve(numIndices); } 536 virtual void setElement(unsigned int i, unsigned int v) { (*this)[i] = v; } 537 virtual unsigned int getElement(unsigned int i) { return (*this)[i]; } 538 virtual void addElement(unsigned int v) { push_back(GLubyte(v)); } 539 529 540 protected: 530 541 … … 602 613 } 603 614 615 virtual void reserveElements(unsigned int numIndices) { reserve(numIndices); } 616 virtual void setElement(unsigned int i, unsigned int v) { (*this)[i] = v; } 617 virtual unsigned int getElement(unsigned int i) { return (*this)[i]; } 618 virtual void addElement(unsigned int v) { push_back(GLushort(v)); } 619 604 620 protected: 605 621 … … 677 693 } 678 694 695 virtual void reserveElements(unsigned int numIndices) { reserve(numIndices); } 696 virtual void setElement(unsigned int i, unsigned int v) { (*this)[i] = v; } 697 virtual unsigned int getElement(unsigned int i) { return (*this)[i]; } 698 virtual void addElement(unsigned int v) { push_back(GLuint(v)); } 699 679 700 protected: 680 701 -
OpenSceneGraph/branches/OpenSceneGraph-2.8/include/osgAnimation
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/trunk:9646-11206 2 /OpenSceneGraph/trunk/include/osgAnimation:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/include/osgAnimation:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/OpenThreads/pthreads
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/OpenThreads/pthreads:10664 2 /OpenSceneGraph/trunk/src/OpenThreads/pthreads:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10219,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/OpenThreads/pthreads:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10219,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/OpenThreads/win32
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/OpenThreads/win32:10664 2 /OpenSceneGraph/trunk/src/OpenThreads/win32:9769,9816-9818,9826-9827,9832,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10191,10208,10264,10283,10340,10417,10440,10456-10457,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/OpenThreads/win32:9769,9816-9818,9826-9827,9832,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10191,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456-10457,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osg
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osg:10664 2 2 /OpenSceneGraph/trunk:10327 3 /OpenSceneGraph/trunk/src/osg:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112373 /OpenSceneGraph/trunk/src/osg:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osg/Drawable.cpp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osg/Drawable.cpp:10664 2 2 /OpenSceneGraph/trunk/include/osg/src/osg/Drawable.cpp:9882 3 /OpenSceneGraph/trunk/src/osg/Drawable.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9897,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112373 /OpenSceneGraph/trunk/src/osg/Drawable.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9897,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osg/Geometry.cpp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osg/Geometry.cpp:10664 2 2 /OpenSceneGraph/trunk/include/osg/src/osg/Geometry.cpp:9882 3 /OpenSceneGraph/trunk/src/osg/Geometry.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9900,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112373 /OpenSceneGraph/trunk/src/osg/Geometry.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9900,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osg/GraphicsContext.cpp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osg/GraphicsContext.cpp:10664 2 /OpenSceneGraph/trunk/src/osg/GraphicsContext.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10154,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osg/GraphicsContext.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10154,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osg/Image.cpp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osg/Image.cpp:10664 2 /OpenSceneGraph/trunk/src/osg/Image.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10062,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osg/Image.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10062,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
r11249 r11254 34 34 35 35 Image::Image() 36 :Object(true) 36 :Object(true), 37 _fileName(""), 38 _writeHint(NO_PREFERENCE), 39 _origin(BOTTOM_LEFT), 40 _s(0), _t(0), _r(0), 41 _internalTextureFormat(0), 42 _pixelFormat(0), 43 _dataType(0), 44 _packing(4), 45 _pixelAspectRatio(1.0), 46 _allocationMode(USE_NEW_DELETE), 47 _data(0L), 48 _modifiedCount(0) 37 49 { 38 50 setDataVariance(STATIC); 39 40 _fileName = "";41 _writeHint = NO_PREFERENCE;42 _origin = BOTTOM_LEFT;43 _s = _t = _r = 0;44 _internalTextureFormat = 0;45 _pixelFormat = (unsigned int)0;46 _dataType = (unsigned int)0;47 _packing = 4;48 49 _allocationMode = USE_NEW_DELETE;50 _data = (unsigned char *)0L;51 52 _modifiedCount = 0;53 51 } 54 52 … … 63 61 _dataType(image._dataType), 64 62 _packing(image._packing), 63 _pixelAspectRatio(image._pixelAspectRatio), 65 64 _data(0L), 66 65 _modifiedCount(image._modifiedCount), - Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osg/Node.cpp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osg/Node.cpp:10664 2 2 /OpenSceneGraph/trunk/include/osg/src/osg/Node.cpp:9882 3 /OpenSceneGraph/trunk/src/osg/Node.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9897,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112373 /OpenSceneGraph/trunk/src/osg/Node.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9897,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osg/PolygonOffset.cpp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osg/PolygonOffset.cpp:10664 2 /OpenSceneGraph/trunk/src/osg/PolygonOffset.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10083-10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osg/PolygonOffset.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082-10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osg/State.cpp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osg/State.cpp:10664 2 /OpenSceneGraph/trunk/src/osg/State.cpp:9769,9798,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osg/State.cpp:9769,9798,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgAnimation
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/trunk:9646-11206 2 /OpenSceneGraph/trunk/src/osgAnimation:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgAnimation:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgDB
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgDB:10664 2 /OpenSceneGraph/trunk/src/osgDB:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149-10150,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgDB:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149-10150,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgDB/CMakeLists.txt
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgDB/CMakeLists.txt:10664 2 2 /OpenSceneGraph/trunk/include/osg/src/osgDB/CMakeLists.txt:9882 3 /OpenSceneGraph/trunk/src/osgDB/CMakeLists.txt:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 22,9932,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149-10150,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112373 /OpenSceneGraph/trunk/src/osgDB/CMakeLists.txt:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9922,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149-10150,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgDB/DatabasePager.cpp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgDB/DatabasePager.cpp:10664 2 /OpenSceneGraph/trunk/src/osgDB/DatabasePager.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10054,10057,10076,10079-10080,10084,10088,10128,10149-10150,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgDB/DatabasePager.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053-10054,10057,10076,10079-10080,10082,10084,10088,10128,10149-10150,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgManipulator
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgManipulator:10664 2 /OpenSceneGraph/trunk/src/osgManipulator:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10358,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgManipulator:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10358,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgPlugins:10664 2 2 /OpenSceneGraph/trunk:10539 3 /OpenSceneGraph/trunk/src/osgPlugins:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112373 /OpenSceneGraph/trunk/src/osgPlugins:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/3ds/ReaderWriter3DS.cpp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgPlugins/3ds/ReaderWriter3DS.cpp:10664 2 2 /OpenSceneGraph/trunk/include/osg/src/osgPlugins/3ds/ReaderWriter3DS.cpp:9882 3 /OpenSceneGraph/trunk/src/osgPlugins/3ds/ReaderWriter3DS.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112373 /OpenSceneGraph/trunk/src/osgPlugins/3ds/ReaderWriter3DS.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/OpenFlight
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgPlugins/OpenFlight:10664 2 /OpenSceneGraph/trunk/src/osgPlugins/OpenFlight:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgPlugins/OpenFlight:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/bsp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgPlugins/bsp:10664 2 /OpenSceneGraph/trunk/src/osgPlugins/bsp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10482-10484,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgPlugins/bsp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10482-10484,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/bsp/VBSPReader.cpp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgPlugins/bsp/VBSPReader.cpp:10664 2 /OpenSceneGraph/trunk/src/osgPlugins/bsp/VBSPReader.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10482-10484,10487,10491,10520,10539,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgPlugins/bsp/VBSPReader.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10482-10484,10487,10491,10520,10538-10539,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/bvh
- Property svn:mergeinfo
-
old new 2 2 /OpenSceneGraph/trunk:11009 3 3 /OpenSceneGraph/trunk/bvh:10539 4 /OpenSceneGraph/trunk/src/osgPlugins/bvh:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112374 /OpenSceneGraph/trunk/src/osgPlugins/bvh:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/curl
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgPlugins/curl:10664 2 /OpenSceneGraph/trunk/src/osgPlugins/curl:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10222,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgPlugins/curl:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10222,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/dxf
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgPlugins/dxf:10664 2 2 /OpenSceneGraph/trunk:9804 3 /OpenSceneGraph/trunk/src/osgPlugins/dxf:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112373 /OpenSceneGraph/trunk/src/osgPlugins/dxf:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/dxf/dxfEntity.cpp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgPlugins/dxf/dxfEntity.cpp:10664 2 2 /OpenSceneGraph/trunk/dxfEntity.cpp:9804 3 /OpenSceneGraph/trunk/src/osgPlugins/dxf/dxfEntity.cpp:9769,9804,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112373 /OpenSceneGraph/trunk/src/osgPlugins/dxf/dxfEntity.cpp:9769,9804,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/ffmpeg/CMakeLists.txt
r11242 r11254 1 # INCLUDE_DIRECTORIES( ${FFMPEG_INCLUDE_DIRS} ) 1 INCLUDE_DIRECTORIES( ${FFMPEG_INCLUDE_DIRS} ) 2 LINK_DIRECTORIES(${FFMPEG_LIBRARY_DIRS}) 3 SET(TARGET_EXTERNAL_LIBRARIES ${FFMPEG_LIBRARIES} ) 2 4 3 IF (FFMPEG_LIBSWSCALE_FOUND)4 5 5 INCLUDE_DIRECTORIES( 6 ${FFMPEG_LIBAVFORMAT_INCLUDE_DIRS} ${FFMPEG_LIBAVFORMAT_INCLUDE_DIRS}/libavformat ${FFMPEG_LIBAVFORMAT_INCLUDE_DIRS}/ffmpeg 7 ${FFMPEG_LIBAVDEVICE_INCLUDE_DIRS} ${FFMPEG_LIBAVDEVICE_INCLUDE_DIRS}/libavdevice ${FFMPEG_LIBAVDEVICE_INCLUDE_DIRS}/ffmpeg 8 ${FFMPEG_LIBAVCODEC_INCLUDE_DIRS} ${FFMPEG_LIBAVCODEC_INCLUDE_DIRS}/libavcodec ${FFMPEG_LIBAVCODEC_INCLUDE_DIRS}/ffmpeg 9 ${FFMPEG_LIBAVUTIL_INCLUDE_DIRS} ${FFMPEG_LIBAVUTIL_INCLUDE_DIRS}/libavcodec ${FFMPEG_LIBAVUTIL_INCLUDE_DIRS}/ffmpeg 10 ${FFMPEG_LIBSWSCALE_INCLUDE_DIRS} ${FFMPEG_LIBSWSCALE_INCLUDE_DIRS}/libswscale ${FFMPEG_LIBSWSCALE_INCLUDE_DIRS}/ffmpeg 11 ) 6 IF(FFMPEG_LIBSWSCALE_FOUND) 7 8 INCLUDE_DIRECTORIES( ${FFMPEG_LIBSWSCALE_INCLUDE_DIRS} ${FFMPEG_LIBSWSCALE_INCLUDE_DIRS}/libswscale ) 12 9 13 10 ADD_DEFINITIONS(-DUSE_SWSCALE) 14 11 15 LINK_DIRECTORIES(${FFMPEG_LIBRARY_DIRS})16 17 12 SET(TARGET_EXTERNAL_LIBRARIES ${FFMPEG_LIBRARIES} ${FFMPEG_LIBSWSCALE_LIBRARIES}) 18 19 ELSE(FFMPEG_LIBSWSCALE_FOUND)20 21 INCLUDE_DIRECTORIES(22 ${FFMPEG_LIBAVFORMAT_INCLUDE_DIRS} ${FFMPEG_LIBAVFORMAT_INCLUDE_DIRS}/libavformat ${FFMPEG_LIBAVFORMAT_INCLUDE_DIRS}/ffmpeg23 ${FFMPEG_LIBAVDEVICE_INCLUDE_DIRS} ${FFMPEG_LIBAVDEVICE_INCLUDE_DIRS}/libavdevice ${FFMPEG_LIBAVDEVICE_INCLUDE_DIRS}/ffmpeg24 ${FFMPEG_LIBAVCODEC_INCLUDE_DIRS} ${FFMPEG_LIBAVCODEC_INCLUDE_DIRS}/libavcodec ${FFMPEG_LIBAVCODEC_INCLUDE_DIRS}/ffmpeg25 ${FFMPEG_LIBAVUTIL_INCLUDE_DIRS} ${FFMPEG_LIBAVUTIL_INCLUDE_DIRS}/libavcodec ${FFMPEG_LIBAVUTIL_INCLUDE_DIRS}/ffmpeg26 )27 28 LINK_DIRECTORIES(${FFMPEG_LIBRARY_DIRS})29 30 SET(TARGET_EXTERNAL_LIBRARIES ${FFMPEG_LIBRARIES} )31 13 32 14 ENDIF() … … 61 43 ) 62 44 45 IF(CMAKE_COMPILER_IS_GNUCXX) 46 # Remove -pedantic flag as it barfs on ffmoeg headers 47 STRING(REGEX REPLACE "-pedantic" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") 48 ENDIF() 63 49 64 50 -
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/ffmpeg/FFmpegAudioStream.cpp
r11242 r11254 52 52 53 53 54 bool FFmpegAudioStream::audioStream() const55 {56 return m_decoder->audio_decoder().validContext();57 }58 59 60 54 61 55 int FFmpegAudioStream::audioFrequency() const -
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/ffmpeg/FFmpegAudioStream.hpp
r11242 r11254 22 22 void consumeAudioBuffer(void * const buffer, const size_t size); 23 23 24 bool audioStream() const;25 24 int audioFrequency() const; 26 25 int audioNbChannels() const; -
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/ffmpeg/FFmpegClocks.cpp
r11242 r11254 31 31 m_video_clock(0), 32 32 m_start_time(0), 33 m_pause_time(0), 34 m_seek_time(0), 33 35 m_last_frame_delay(0.040), 34 36 m_last_frame_pts(0), … … 38 40 m_audio_delay(0.0), 39 41 m_audio_disabled(false), 40 m_rewind(false) 42 m_paused(false), 43 m_last_current_time(0.0) 41 44 { 42 45 … … 56 59 m_frame_time = start_time; 57 60 61 m_pause_time = 0; 62 m_seek_time = 0; 63 58 64 m_audio_buffer_end_pts = start_time; 59 65 m_audio_timer.setStartTick(); 60 66 } 61 67 62 63 64 void FFmpegClocks::rewindAudio() 65 { 66 ScopedLock lock(m_mutex); 67 68 void FFmpegClocks::pause(bool pause) 69 { 70 if(pause) 71 m_paused = true; 72 else 73 { 74 m_paused = false; 75 if(!m_audio_disabled) m_audio_timer.setStartTick(); 76 } 77 } 78 79 80 81 void FFmpegClocks::rewind() 82 { 83 ScopedLock lock(m_mutex); 84 85 m_pause_time = 0; 86 m_seek_time = 0; 87 68 88 m_audio_buffer_end_pts = m_start_time; 69 89 m_audio_timer.setStartTick(); 70 90 71 m_rewind = ! m_rewind; 72 } 73 74 75 76 void FFmpegClocks::rewindVideo() 77 { 78 ScopedLock lock(m_mutex); 91 m_last_frame_delay = 0.040; 92 m_frame_time = m_start_time; 79 93 80 94 if (m_audio_disabled) 81 95 return; 82 96 83 m_video_clock = m_start_time; 84 97 m_video_clock = m_start_time; 98 } 99 100 void FFmpegClocks::seek(double seek_time) 101 { 102 ScopedLock lock(m_mutex); 103 104 m_video_clock = seek_time; 85 105 m_last_frame_delay = 0.040; 86 m_last_frame_pts = m_start_time - m_last_frame_delay; 87 m_frame_time = m_start_time; 88 89 m_rewind = ! m_rewind; 90 } 91 106 m_frame_time = seek_time; 107 } 92 108 93 109 … … 168 184 169 185 // If incorrect delay, use previous one 186 170 187 if (delay <= 0.0 || delay >= 1.0) 188 { 171 189 delay = m_last_frame_delay; 190 if(!m_audio_disabled) m_frame_time = pts - delay; 191 } 192 172 193 173 194 // Save for next time … … 182 203 183 204 const double audio_time = getAudioTime(); 184 const double actual_delay = (! m_rewind) ? 185 clamp(m_frame_time - audio_time, -0.5*delay, 2.5*delay) : 186 m_last_actual_delay; // when rewinding audio or video (but the other has yet to be), get the last used delay 205 const double actual_delay = clamp(m_frame_time - audio_time, -0.5*delay, 2.5*delay); 187 206 188 207 //m_frame_time += delay; … … 206 225 } 207 226 227 void FFmpegClocks::setPauseTime(double pause_time) 228 { 229 m_pause_time += pause_time; 230 } 231 232 void FFmpegClocks::setSeekTime(double seek_time) 233 { 234 m_seek_time += getAudioTime() - seek_time; 235 } 236 208 237 209 238 210 239 double FFmpegClocks::getAudioTime() const 211 240 { 212 return m_audio_buffer_end_pts + m_audio_timer.time_s() - m_audio_delay; 213 } 214 215 241 if(m_audio_disabled) 242 return m_audio_buffer_end_pts + m_audio_timer.time_s() - m_pause_time - m_audio_delay - m_seek_time; 243 else 244 return m_audio_buffer_end_pts + m_audio_timer.time_s() - m_audio_delay; 245 } 246 247 248 double FFmpegClocks::getCurrentTime() 249 { 250 if(!m_paused) 251 m_last_current_time = getAudioTime(); 252 253 return m_last_current_time; 254 } 216 255 217 256 } // namespace osgFFmpeg -
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/ffmpeg/FFmpegClocks.hpp
r11242 r11254 23 23 24 24 void reset(double start_time); 25 void rewindAudio(); 26 void rewindVideo(); 25 void pause(bool pause); 26 void seek(double seek_time); 27 void rewind(); 27 28 28 29 void audioSetBufferEndPts(double pts); … … 30 31 void audioSetDelay(double delay); 31 32 void audioDisable(); 33 bool audioDisabled() const { return m_audio_disabled; } 32 34 33 35 double videoSynchClock(const AVFrame * frame, double time_base, double pts); … … 35 37 36 38 double getStartTime() const; 39 double getCurrentTime(); 40 void setPauseTime(double pause_time); 41 void setSeekTime(double seek_time); 37 42 38 43 private: … … 49 54 50 55 double m_start_time; 56 double m_pause_time; 57 double m_seek_time; 51 58 double m_last_frame_delay; 52 59 double m_last_frame_pts; … … 55 62 double m_audio_buffer_end_pts; 56 63 double m_audio_delay; 57 Timer m_audio_timer; 58 bool m_audio_disabled; 59 bool m_rewind; 64 Timer m_audio_timer; 65 bool m_audio_disabled; 66 bool m_paused; 67 double m_last_current_time; 68 60 69 61 70 }; -
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp
r11242 r11254 3 3 4 4 #include <osg/Notify> 5 #include <osgDB/FileNameUtils> 5 6 6 7 #include <cassert> … … 8 9 #include <stdexcept> 9 10 #include <string.h> 10 11 #include <iostream> 11 12 12 13 … … 55 56 formatParams.channel = 0; 56 57 formatParams.standard = 0; 58 #if 1 59 formatParams.width = 320; 60 formatParams.height = 240; 61 #else 57 62 formatParams.width = 640; 58 63 formatParams.height = 480; 64 #endif 59 65 formatParams.time_base.num = 1; 60 formatParams.time_base.den = 50; 61 62 iformat = av_find_input_format("video4linux2"); 66 formatParams.time_base.den = 30; 67 68 std::string format = "video4linux2"; 69 iformat = av_find_input_format(format.c_str()); 63 70 64 71 if (iformat) 65 72 { 66 osg::notify(osg::NOTICE)<<"Found input format "<<std::endl;73 osg::notify(osg::NOTICE)<<"Found input format: "<<format<<std::endl; 67 74 } 68 75 else 69 76 { 70 osg::notify(osg::NOTICE)<<"Failed to find input_format"<<std::endl; 71 } 72 73 if (av_open_input_file(&p_format_context, filename.c_str(), iformat, 0, &formatParams) != 0) 74 throw std::runtime_error("av_open_input_file() failed"); 77 osg::notify(osg::NOTICE)<<"Failed to find input format: "<<format<<std::endl; 78 } 79 80 int error = av_open_input_file(&p_format_context, filename.c_str(), iformat, 0, &formatParams); 81 if (error != 0) 82 { 83 std::string error_str; 84 switch (error) 85 { 86 //case AVERROR_UNKNOWN: error_str = "AVERROR_UNKNOWN"; break; // same value as AVERROR_INVALIDDATA 87 case AVERROR_IO: error_str = "AVERROR_IO"; break; 88 case AVERROR_NUMEXPECTED: error_str = "AVERROR_NUMEXPECTED"; break; 89 case AVERROR_INVALIDDATA: error_str = "AVERROR_INVALIDDATA"; break; 90 case AVERROR_NOMEM: error_str = "AVERROR_NOMEM"; break; 91 case AVERROR_NOFMT: error_str = "AVERROR_NOFMT"; break; 92 case AVERROR_NOTSUPP: error_str = "AVERROR_NOTSUPP"; break; 93 case AVERROR_NOENT: error_str = "AVERROR_NOENT"; break; 94 case AVERROR_PATCHWELCOME: error_str = "AVERROR_PATCHWELCOME"; break; 95 default: error_str = "Unknown error"; break; 96 } 97 98 throw std::runtime_error("av_open_input_file() failed : " + error_str); 99 } 75 100 } 76 101 else … … 142 167 return readNextPacketNormal(); 143 168 169 case PAUSE: 170 return false; 171 144 172 case END_OF_STREAM: 145 173 return readNextPacketEndOfStream(); … … 147 175 case REWINDING: 148 176 return readNextPacketRewinding(); 177 178 case SEEKING: 179 return readNextPacketSeeking(); 149 180 150 181 default: … … 165 196 } 166 197 167 168 198 void FFmpegDecoder::seek(double time) 199 { 200 m_pending_packet.clear(); 201 202 flushAudioQueue(); 203 flushVideoQueue(); 204 seekButDontFlushQueues(time); 205 } 206 207 void FFmpegDecoder::pause() 208 { 209 m_pending_packet.clear(); 210 211 flushAudioQueue(); 212 flushVideoQueue(); 213 m_state = PAUSE; 214 } 169 215 170 216 void FFmpegDecoder::findAudioStream() … … 240 286 // If we reach the end of the stream, change the decoder state 241 287 if (loop()) 288 { 289 m_clocks.reset(m_start); 242 290 rewindButDontFlushQueues(); 291 } 243 292 else 244 293 m_state = END_OF_STREAM; … … 313 362 const AVRational AvTimeBaseQ = { 1, AV_TIME_BASE }; // = AV_TIME_BASE_Q 314 363 315 const int64_t pos = m_clocks.getStartTime() * AV_TIME_BASE;364 const int64_t pos = int64_t(m_clocks.getStartTime() * double(AV_TIME_BASE)); 316 365 const int64_t seek_target = av_rescale_q(pos, AvTimeBaseQ, m_video_stream->time_base); 317 366 … … 319 368 throw std::runtime_error("av_seek_frame failed()"); 320 369 370 m_clocks.rewind(); 321 371 m_state = REWINDING; 322 372 } 323 373 374 bool FFmpegDecoder::readNextPacketSeeking() 375 { 376 const FFmpegPacket packet(FFmpegPacket::PACKET_FLUSH); 377 378 if (m_audio_queue.timedPush(packet, 10) && m_video_queue.timedPush(packet, 10)) 379 m_state = NORMAL; 380 381 return false; 382 } 383 384 void FFmpegDecoder::seekButDontFlushQueues(double time) 385 { 386 const AVRational AvTimeBaseQ = { 1, AV_TIME_BASE }; // = AV_TIME_BASE_Q 387 388 const int64_t pos = int64_t(m_clocks.getStartTime()+time * double(AV_TIME_BASE)); 389 const int64_t seek_target = av_rescale_q(pos, AvTimeBaseQ, m_video_stream->time_base); 390 391 m_clocks.setSeekTime(time); 392 393 if (av_seek_frame(m_format_context.get(), m_video_index, seek_target, 0/*AVSEEK_FLAG_BYTE |*/ /*AVSEEK_FLAG_BACKWARD*/) < 0) 394 throw std::runtime_error("av_seek_frame failed()"); 395 396 m_clocks.seek(time); 397 m_state = SEEKING; 398 } 399 324 400 325 401 -
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/ffmpeg/FFmpegDecoder.hpp
r11242 r11254 69 69 bool readNextPacket(); 70 70 void rewind(); 71 void seek(double time); 72 void pause(); 71 73 72 74 void loop(bool loop); … … 74 76 75 77 double duration() const; 78 double reference(); 76 79 77 80 FFmpegDecoderAudio & audio_decoder(); … … 85 88 { 86 89 NORMAL, 90 PAUSE, 87 91 END_OF_STREAM, 88 REWINDING 92 REWINDING, 93 SEEKING 89 94 }; 90 95 … … 98 103 bool readNextPacketEndOfStream(); 99 104 bool readNextPacketRewinding(); 105 bool readNextPacketSeeking(); 106 bool readNextPacketPause(); 100 107 void rewindButDontFlushQueues(); 108 void seekButDontFlushQueues(double time); 101 109 102 110 FormatContextPtr m_format_context; 103 AVStream * m_audio_stream;104 AVStream * m_video_stream;111 AVStream * m_audio_stream; 112 AVStream * m_video_stream; 105 113 106 unsigned intm_audio_index;107 unsigned intm_video_index;114 int m_audio_index; 115 int m_video_index; 108 116 109 117 FFmpegClocks m_clocks; 110 118 FFmpegPacket m_pending_packet; 111 PacketQueue m_audio_queue;112 PacketQueue m_video_queue;119 PacketQueue m_audio_queue; 120 PacketQueue m_video_queue; 113 121 114 FFmpegDecoderAudio m_audio_decoder;115 FFmpegDecoderVideo m_video_decoder;122 FFmpegDecoderAudio m_audio_decoder; 123 FFmpegDecoderVideo m_video_decoder; 116 124 117 double m_duration;118 double m_start;125 double m_duration; 126 double m_start; 119 127 120 State m_state;128 State m_state; 121 129 bool m_loop; 122 130 }; … … 141 149 { 142 150 return double(m_format_context->duration) / AV_TIME_BASE; 151 } 152 153 inline double FFmpegDecoder::reference() 154 { 155 return m_clocks.getCurrentTime(); 143 156 } 144 157 -
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp
r11242 r11254 13 13 namespace osgFFmpeg { 14 14 15 static int decode_audio(AVCodecContext *avctx, int16_t *samples, 16 int *frame_size_ptr, 17 const uint8_t *buf, int buf_size) 18 { 19 #if LIBAVCODEC_VERSION_MAJOR >= 53 || (LIBAVCODEC_VERSION_MAJOR==52 && LIBAVCODEC_VERSION_MINOR>=32) 20 21 // following code segment copied from ffmpeg's avcodec_decode_audio2() 22 // implementation to avoid warnings about deprecated function usage. 23 AVPacket avpkt; 24 av_init_packet(&avpkt); 25 avpkt.data = const_cast<uint8_t *>(buf); 26 avpkt.size = buf_size; 27 28 return avcodec_decode_audio3(avctx, samples, frame_size_ptr, &avpkt); 29 #else 30 // fallback for older versions of ffmpeg that don't have avcodec_decode_audio3. 31 return avcodec_decode_audio2(avctx, samples, frame_size_ptr, buf, buf_size); 32 #endif 33 } 15 34 16 35 … … 26 45 m_audio_buf_index(0), 27 46 m_end_of_stream(false), 47 m_paused(true), 28 48 m_exit(false) 29 49 { … … 89 109 } 90 110 111 void FFmpegDecoderAudio::pause(bool pause) 112 { 113 if (pause != m_paused) 114 { 115 m_paused = pause; 116 if (m_audio_sink.valid()) 117 { 118 if (m_paused) m_audio_sink->pause(); 119 else m_audio_sink->play(); 120 } 121 } 122 } 91 123 92 124 void FFmpegDecoderAudio::close(bool waitForThreadToExit) … … 100 132 } 101 133 134 void FFmpegDecoderAudio::setVolume(float volume) 135 { 136 if (m_audio_sink.valid()) 137 { 138 m_audio_sink->setVolume(volume); 139 } 140 } 141 142 float FFmpegDecoderAudio::getVolume() const 143 { 144 if (m_audio_sink.valid()) 145 { 146 return m_audio_sink->getVolume(); 147 } 148 return 0.0f; 149 } 102 150 103 151 void FFmpegDecoderAudio::run() … … 131 179 void FFmpegDecoderAudio::fillBuffer(void * const buffer, size_t size) 132 180 { 133 size_t filled = 0;134 181 uint8_t * dst_buffer = reinterpret_cast<uint8_t*>(buffer); 135 182 … … 177 224 { 178 225 m_clocks.audioSetDelay(m_audio_sink->getDelay()); 179 m_audio_sink-> startPlaying();226 m_audio_sink->play(); 180 227 } 181 228 else … … 186 233 while (! m_exit) 187 234 { 235 236 if(m_paused) 237 { 238 m_clocks.pause(true); 239 m_pause_timer.setStartTick(); 240 241 while(m_paused) 242 { 243 microSleep(10000); 244 } 245 246 m_clocks.setPauseTime(m_pause_timer.time_s()); 247 m_clocks.pause(false); 248 } 249 188 250 // If skipping audio, make sure the audio stream is still consumed. 189 251 if (skip_audio) … … 195 257 packet.clear(); 196 258 } 197 198 259 // Else, just idle in this thread. 199 260 // Note: If m_audio_sink has an audio callback, this thread will still be awaken … … 253 314 int data_size = size; 254 315 255 const int bytes_decoded = avcodec_decode_audio2(m_context, reinterpret_cast<int16_t*>(buffer), &data_size, m_packet_data, m_bytes_remaining);316 const int bytes_decoded = decode_audio(m_context, reinterpret_cast<int16_t*>(buffer), &data_size, m_packet_data, m_bytes_remaining); 256 317 257 318 if (bytes_decoded < 0) … … 286 347 if (m_packet.type == FFmpegPacket::PACKET_DATA) 287 348 { 288 if (m_packet.packet.pts != AV_NOPTS_VALUE)349 if (m_packet.packet.pts != int64_t(AV_NOPTS_VALUE)) 289 350 { 290 351 const double pts = av_q2d(m_stream->time_base) * m_packet.packet.pts; … … 302 363 { 303 364 avcodec_flush_buffers(m_context); 304 m_clocks.rewindAudio();305 365 } 306 366 -
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp
r11242 r11254 4 4 5 5 #include <OpenThreads/Thread> 6 7 #include <osg/Timer> 6 8 7 9 #include "FFmpegClocks.hpp" … … 30 32 31 33 void open(AVStream * stream); 34 void pause(bool pause); 32 35 void close(bool waitForThreadToExit); 33 36 37 void setVolume(float volume); 38 float getVolume() const; 39 34 40 virtual void run(); 35 41 … … 52 58 53 59 54 PacketQueue & m_packets;55 FFmpegClocks & m_clocks;56 AVStream * m_stream;57 AVCodecContext * m_context;58 FFmpegPacket m_packet;59 const uint8_t * m_packet_data;60 int m_bytes_remaining;60 PacketQueue & m_packets; 61 FFmpegClocks & m_clocks; 62 AVStream * m_stream; 63 AVCodecContext * m_context; 64 FFmpegPacket m_packet; 65 const uint8_t * m_packet_data; 66 int m_bytes_remaining; 61 67 62 Buffer m_audio_buffer;63 size_t m_audio_buf_size;64 size_t m_audio_buf_index;68 Buffer m_audio_buffer; 69 size_t m_audio_buf_size; 70 size_t m_audio_buf_index; 65 71 66 int m_frequency;67 int m_nb_channels;68 osg::AudioStream::SampleFormat m_sample_format;72 int m_frequency; 73 int m_nb_channels; 74 osg::AudioStream::SampleFormat m_sample_format; 69 75 70 SinkPtr m_audio_sink;76 SinkPtr m_audio_sink; 71 77 72 bool m_end_of_stream; 73 volatile bool m_exit; 78 osg::Timer m_pause_timer; 79 80 bool m_end_of_stream; 81 bool m_paused; 82 volatile bool m_exit; 74 83 }; 75 84 -
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp
r11243 r11254 8 8 9 9 namespace osgFFmpeg { 10 11 static int decode_video(AVCodecContext *avctx, AVFrame *picture, 12 int *got_picture_ptr, 13 const uint8_t *buf, int buf_size) 14 { 15 #if LIBAVCODEC_VERSION_MAJOR >= 53 || (LIBAVCODEC_VERSION_MAJOR==52 && LIBAVCODEC_VERSION_MINOR>=32) 16 // following code segment copied from ffmpeg avcodec_decode_video() implementation 17 // to avoid warnings about deprecated function usage. 18 AVPacket avpkt; 19 av_init_packet(&avpkt); 20 avpkt.data = const_cast<uint8_t *>(buf); 21 avpkt.size = buf_size; 22 // HACK for CorePNG to decode as normal PNG by default 23 avpkt.flags = AV_PKT_FLAG_KEY; 24 25 return avcodec_decode_video2(avctx, picture, got_picture_ptr, &avpkt); 26 #else 27 // fallback for older versions of ffmpeg that don't have avcodec_decode_video2. 28 return avcodec_decode_video(avctx, picture, got_picture_ptr, buf, buf_size); 29 #endif 30 } 31 10 32 11 33 FFmpegDecoderVideo::FFmpegDecoderVideo(PacketQueue & packets, FFmpegClocks & clocks) : … … 21 43 m_user_data(0), 22 44 m_publish_func(0), 45 m_paused(true), 23 46 m_exit(false) 24 47 #ifdef USE_SWSCALE … … 33 56 FFmpegDecoderVideo::~FFmpegDecoderVideo() 34 57 { 35 osg::notify(osg:: NOTICE)<<"Destructing FFmpegDecoderVideo..."<<std::endl;58 osg::notify(osg::INFO)<<"Destructing FFmpegDecoderVideo..."<<std::endl; 36 59 37 60 … … 54 77 #endif 55 78 56 osg::notify(osg:: NOTICE)<<"Destructed FFmpegDecoderVideo"<<std::endl;79 osg::notify(osg::INFO)<<"Destructed FFmpegDecoderVideo"<<std::endl; 57 80 } 58 81 … … 118 141 } 119 142 143 void FFmpegDecoderVideo::pause(bool pause) 144 { 145 if(pause) 146 m_paused = true; 147 else 148 m_paused = false; 149 } 120 150 121 151 void FFmpegDecoderVideo::run() … … 158 188 int frame_finished = 0; 159 189 160 const int bytes_decoded = avcodec_decode_video(m_context, m_frame.get(), &frame_finished, m_packet_data, m_bytes_remaining);190 const int bytes_decoded = decode_video(m_context, m_frame.get(), &frame_finished, m_packet_data, m_bytes_remaining); 161 191 162 192 if (bytes_decoded < 0) … … 168 198 // Find out the frame pts 169 199 170 if (packet.packet.dts == AV_NOPTS_VALUE&&200 if (packet.packet.dts == int64_t(AV_NOPTS_VALUE) && 171 201 m_frame->opaque != 0 && 172 *reinterpret_cast<const int64_t*>(m_frame->opaque) != AV_NOPTS_VALUE)202 *reinterpret_cast<const int64_t*>(m_frame->opaque) != int64_t(AV_NOPTS_VALUE)) 173 203 { 174 204 pts = *reinterpret_cast<const int64_t*>(m_frame->opaque); 175 205 } 176 else if (packet.packet.dts != AV_NOPTS_VALUE)206 else if (packet.packet.dts != int64_t(AV_NOPTS_VALUE)) 177 207 { 178 208 pts = packet.packet.dts; … … 191 221 const double frame_delay = m_clocks.videoRefreshSchedule(synched_pts); 192 222 193 publishFrame(frame_delay); 194 } 223 publishFrame(frame_delay, m_clocks.audioDisabled()); 224 } 225 } 226 227 while(m_paused && !m_exit) 228 { 229 microSleep(10000); 195 230 } 196 231 … … 215 250 { 216 251 avcodec_flush_buffers(m_context); 217 m_clocks.rewindVideo();218 252 } 219 253 } … … 225 259 void FFmpegDecoderVideo::findAspectRatio() 226 260 { 227 double ratio = 0.0;261 float ratio = 0.0f; 228 262 229 263 if (m_context->sample_aspect_ratio.num != 0) 230 ratio = (av_q2d(m_context->sample_aspect_ratio) * m_width) / m_height;231 232 if (ratio <= 0.0 )233 ratio = double(m_width) / double(m_height);234 235 m_ aspect_ratio = ratio;236 } 237 238 int FFmpegDecoderVideo::convert(AVPicture *dst, int dst_pix_fmt, constAVPicture *src,264 ratio = float(av_q2d(m_context->sample_aspect_ratio)); 265 266 if (ratio <= 0.0f) 267 ratio = 1.0f; 268 269 m_pixel_aspect_ratio = ratio; 270 } 271 272 int FFmpegDecoderVideo::convert(AVPicture *dst, int dst_pix_fmt, AVPicture *src, 239 273 int src_pix_fmt, int src_width, int src_height) 240 274 { … … 243 277 if (m_swscale_ctx==0) 244 278 { 245 m_swscale_ctx = sws_getContext(src_width, src_height, src_pix_fmt,246 src_width, src_height, dst_pix_fmt,279 m_swscale_ctx = sws_getContext(src_width, src_height, (PixelFormat) src_pix_fmt, 280 src_width, src_height, (PixelFormat) dst_pix_fmt, 247 281 /*SWS_BILINEAR*/ SWS_BICUBIC, NULL, NULL, NULL); 248 282 } 249 283 250 284 251 osg::notify(osg:: NOTICE)<<"Using sws_scale ";252 285 osg::notify(osg::INFO)<<"Using sws_scale "; 286 253 287 int result = sws_scale(m_swscale_ctx, 254 src->data, src->linesize, 0, src_height,255 dst->data, dst->linesize);288 (src->data), (src->linesize), 0, src_height, 289 (dst->data), (dst->linesize)); 256 290 #else 257 291 258 osg::notify(osg:: NOTICE)<<"Using img_convert ";292 osg::notify(osg::INFO)<<"Using img_convert "; 259 293 260 294 int result = img_convert(dst, dst_pix_fmt, src, … … 263 297 #endif 264 298 osg::Timer_t endTick = osg::Timer::instance()->tick(); 265 osg::notify(osg:: NOTICE)<<" time = "<<osg::Timer::instance()->delta_m(startTick,endTick)<<"ms"<<std::endl;299 osg::notify(osg::INFO)<<" time = "<<osg::Timer::instance()->delta_m(startTick,endTick)<<"ms"<<std::endl; 266 300 267 301 return result; … … 269 303 270 304 271 void FFmpegDecoderVideo::publishFrame(const double delay )305 void FFmpegDecoderVideo::publishFrame(const double delay, bool audio_disabled) 272 306 { 273 307 // If no publishing function, just ignore the frame … … 275 309 return; 276 310 311 #if 1 312 // new code from Jean-Sebasiten Guay - needs testing as we're unclear on the best solution 313 // If the display delay is too small, we better skip the frame. 314 if (!audio_disabled && delay < -0.010) 315 return; 316 #else 317 // original solution that hung on video stream over web. 277 318 // If the display delay is too small, we better skip the frame. 278 319 if (delay < -0.010) 279 320 return; 280 281 const AVPicture * const src = (const AVPicture *) m_frame.get(); 321 #endif 322 323 AVPicture * const src = (AVPicture *) m_frame.get(); 282 324 AVPicture * const dst = (AVPicture *) m_frame_rgba.get(); 283 325 … … 315 357 316 358 317 void FFmpegDecoderVideo::yuva420pToRgba(AVPicture * const dst, constAVPicture * const src, int width, int height)359 void FFmpegDecoderVideo::yuva420pToRgba(AVPicture * const dst, AVPicture * const src, int width, int height) 318 360 { 319 361 convert(dst, PIX_FMT_RGB32, src, m_context->pix_fmt, width, height); -
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp
r11242 r11254 66 66 67 67 void open(AVStream * stream); 68 void pause(bool pause); 68 69 void close(bool waitForThreadToExit); 69 70 … … 75 76 int width() const; 76 77 int height() const; 77 double aspectRatio() const;78 float pixelAspectRatio() const; 78 79 bool alphaChannel() const; 79 80 double frameRate() const; … … 86 87 void decodeLoop(); 87 88 void findAspectRatio(); 88 void publishFrame(double delay );89 void publishFrame(double delay, bool audio_disabled); 89 90 double synchronizeVideo(double pts); 90 void yuva420pToRgba(AVPicture *dst, constAVPicture *src, int width, int height);91 void yuva420pToRgba(AVPicture *dst, AVPicture *src, int width, int height); 91 92 92 int convert(AVPicture *dst, int dst_pix_fmt, constAVPicture *src,93 int convert(AVPicture *dst, int dst_pix_fmt, AVPicture *src, 93 94 int src_pix_fmt, int src_width, int src_height); 94 95 … … 115 116 116 117 double m_frame_rate; 117 double m_aspect_ratio;118 float m_pixel_aspect_ratio; 118 119 int m_width; 119 120 int m_height; … … 121 122 bool m_alpha_channel; 122 123 124 bool m_paused; 123 125 volatile bool m_exit; 124 126 … … 156 158 157 159 158 inline double FFmpegDecoderVideo::aspectRatio() const160 inline float FFmpegDecoderVideo::pixelAspectRatio() const 159 161 { 160 return m_ aspect_ratio;162 return m_pixel_aspect_ratio; 161 163 } 162 164 -
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp
r11242 r11254 7 7 { 8 8 #define __STDC_CONSTANT_MACROS 9 #include <errno.h> // for error codes defined in avformat.h 9 10 #include <stdint.h> 10 11 #include <avcodec.h> -
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/ffmpeg/FFmpegImageStream.cpp
r11242 r11254 19 19 m_frame_published_flag(false) 20 20 { 21 setOrigin(osg::Image:: BOTTOM_LEFT);21 setOrigin(osg::Image::TOP_LEFT); 22 22 23 23 std::auto_ptr<FFmpegDecoder> decoder(new FFmpegDecoder); … … 40 40 FFmpegImageStream::~FFmpegImageStream() 41 41 { 42 osg::notify(osg:: NOTICE)<<"Destructing FFMpegImageStream..."<<std::endl;42 osg::notify(osg::INFO)<<"Destructing FFmpegImageStream..."<<std::endl; 43 43 44 44 quit(true); 45 45 46 osg::notify(osg:: NOTICE)<<"Have done quit"<<std::endl;46 osg::notify(osg::INFO)<<"Have done quit"<<std::endl; 47 47 48 48 // release athe audio streams to make sure that the decoder doesn't retain any external … … 56 56 delete m_commands; 57 57 58 osg::notify(osg:: NOTICE)<<"Destructed FFMpegImageStream."<<std::endl;58 osg::notify(osg::INFO)<<"Destructed FFMpegImageStream."<<std::endl; 59 59 } 60 60 … … 72 72 const_cast<unsigned char *>(m_decoder->video_decoder().image()), NO_DELETE 73 73 ); 74 75 setOrigin(osg::Image::TOP_LEFT); 74 75 76 setPixelAspectRatio(m_decoder->video_decoder().pixelAspectRatio()); 77 78 osg::notify(osg::NOTICE)<<"ffmpeg::open("<<filename<<") size("<<s()<<", "<<t()<<") aspect ratio "<<m_decoder->video_decoder().pixelAspectRatio()<<std::endl; 79 80 #if 1 81 // swscale is reported errors and then crashing when rescaling video of size less than 10 by 10. 82 if (s()<=10 || t()<=10) return false; 83 #endif 76 84 77 85 m_decoder->video_decoder().setUserData(this); 78 86 m_decoder->video_decoder().setPublishCallback(publishNewFrame); 79 87 80 88 if (m_decoder->audio_decoder().validContext()) 81 89 { 82 90 osg::notify(osg::NOTICE)<<"Attaching FFmpegAudioStream"<<std::endl; 83 91 84 92 getAudioStreams().push_back(new FFmpegAudioStream(m_decoder.get())); 85 93 } … … 123 131 } 124 132 133 void FFmpegImageStream::seek(double time) { 134 m_seek_time = time; 135 m_commands->push(CMD_SEEK); 136 } 137 125 138 126 139 … … 140 153 } 141 154 142 143 double FFmpegImageStream::duration() const 155 void FFmpegImageStream::setVolume(float volume) 156 { 157 m_decoder->audio_decoder().setVolume(volume); 158 } 159 160 float FFmpegImageStream::getVolume() const 161 { 162 return m_decoder->audio_decoder().getVolume(); 163 } 164 165 double FFmpegImageStream::getLength() const 144 166 { 145 167 return m_decoder->duration(); … … 147 169 148 170 149 150 bool FFmpegImageStream::videoAlphaChannel() const 171 double FFmpegImageStream::getReferenceTime () const 172 { 173 return m_decoder->reference(); 174 } 175 176 177 178 double FFmpegImageStream::getFrameRate() const 179 { 180 return m_decoder->video_decoder().frameRate(); 181 } 182 183 184 185 bool FFmpegImageStream::isImageTranslucent() const 151 186 { 152 187 return m_decoder->video_decoder().alphaChannel(); 153 188 } 154 189 155 156 157 double FFmpegImageStream::videoAspectRatio() const158 {159 return m_decoder->video_decoder().aspectRatio();160 }161 162 163 164 double FFmpegImageStream::videoFrameRate() const165 {166 return m_decoder->video_decoder().frameRate();167 }168 190 169 191 … … 233 255 return true; 234 256 257 case CMD_SEEK: 258 cmdSeek(m_seek_time); 259 return true; 260 235 261 case CMD_STOP: 236 262 return false; … … 253 279 if (! m_decoder->video_decoder().isRunning()) 254 280 m_decoder->video_decoder().start(); 281 282 m_decoder->video_decoder().pause(false); 283 m_decoder->audio_decoder().pause(false); 255 284 } 256 285 … … 264 293 if (_status == PLAYING) 265 294 { 266 295 m_decoder->video_decoder().pause(true); 296 m_decoder->audio_decoder().pause(true); 267 297 } 268 298 … … 277 307 } 278 308 309 void FFmpegImageStream::cmdSeek(double time) 310 { 311 m_decoder->seek(time); 312 } 279 313 280 314 -
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/ffmpeg/FFmpegImageStream.hpp
r11242 r11254 31 31 virtual void pause(); 32 32 virtual void rewind(); 33 virtual void seek(double time); 33 34 virtual void quit(bool waitForThreadToExit = true); 34 35 35 double duration() const; 36 virtual void setVolume(float volume); 37 virtual float getVolume() const; 36 38 37 bool videoAlphaChannel() const;38 double videoAspectRatio() const;39 double videoFrameRate() const;39 virtual double getLength() const; 40 virtual double getReferenceTime () const; 41 virtual double getFrameRate() const; 40 42 43 virtual bool isImageTranslucent() const; 41 44 42 45 private: … … 47 50 CMD_PAUSE, 48 51 CMD_STOP, 49 CMD_REWIND 52 CMD_REWIND, 53 CMD_SEEK 50 54 }; 51 55 … … 63 67 void cmdPause(); 64 68 void cmdRewind(); 69 void cmdSeek(double time); 65 70 66 71 static void publishNewFrame(const FFmpegDecoderVideo &, void * user_data); … … 71 76 Mutex m_mutex; 72 77 Condition m_frame_published_cond; 73 bool m_frame_published_flag; 78 bool m_frame_published_flag; 79 double m_seek_time; 74 80 }; 75 81 -
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp
r11242 r11254 30 30 { 31 31 supportsProtocol("http","Read video/audio from http using ffmpeg."); 32 supportsProtocol("rtsp","Read video/audio from rtsp using ffmpeg."); 32 33 33 supportsExtension("avi", ""); 34 supportsExtension("flv", ""); 35 supportsExtension("mov", ""); 36 supportsExtension("ogg", "Theora movie format"); 37 supportsExtension("mpg", "Mpeg movie format"); 38 supportsExtension("mpv", "Mpeg movie format"); 39 supportsExtension("wmv", ""); 34 supportsExtension("ffmpeg", ""); 35 supportsExtension("avi", ""); 36 supportsExtension("flv", "Flash video"); 37 supportsExtension("mov", "Quicktime"); 38 supportsExtension("ogg", "Theora movie format"); 39 supportsExtension("mpg", "Mpeg movie format"); 40 supportsExtension("mpv", "Mpeg movie format"); 41 supportsExtension("wmv", "Windows Media Video format"); 42 supportsExtension("mkv", "Matroska"); 43 supportsExtension("mjpeg", "Motion JPEG"); 44 supportsExtension("mp4", "MPEG-4"); 45 supportsExtension("sav", "MPEG-4"); 46 supportsExtension("3gp", "MPEG-4"); 47 supportsExtension("sdp", "MPEG-4"); 40 48 41 49 // Register all FFmpeg formats/codecs … … 55 63 virtual ReadResult readImage(const std::string & filename, const osgDB::ReaderWriter::Options * options) const 56 64 { 65 const std::string ext = osgDB::getLowerCaseFileExtension(filename); 66 if (ext=="ffmpeg") return readImage(osgDB::getNameLessExtension(filename),options); 67 57 68 if (filename.compare(0, 5, "/dev/")==0) 58 69 { … … 60 71 } 61 72 62 const std::string ext = osgDB::getLowerCaseFileExtension(filename);63 73 if (! acceptsExtension(ext)) 64 74 return ReadResult::FILE_NOT_HANDLED; … … 71 81 return ReadResult::FILE_NOT_FOUND; 72 82 73 return readImageStream( filename, options);83 return readImageStream(path, options); 74 84 } 75 85 -
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/hdr/hdrloader.cpp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgPlugins/hdr/hdrloader.cpp:10664 2 /OpenSceneGraph/trunk/src/osgPlugins/hdr/hdrloader.cpp:9769,9801,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgPlugins/hdr/hdrloader.cpp:9769,9801,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/jpeg
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgPlugins/jpeg:10664 2 /OpenSceneGraph/trunk/src/osgPlugins/jpeg:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10496,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgPlugins/jpeg:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10496,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/mdl
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgPlugins/mdl:10664 2 /OpenSceneGraph/trunk/src/osgPlugins/mdl:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10093,10128,10149,10208,10264,10283,10340,10417,10440,10456,10482-10483,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgPlugins/mdl:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10093,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10482-10483,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/mdl/MDLReader.cpp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgPlugins/mdl/MDLReader.cpp:10664 2 /OpenSceneGraph/trunk/src/osgPlugins/mdl/MDLReader.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10093,10128,10149,10208,10264,10283,10340,10417,10440,10456,10482-10483,10487,10491,10520,10539,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgPlugins/mdl/MDLReader.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10093,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10482-10483,10487,10491,10520,10538-10539,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/osgAnimation
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/trunk:9646-10557 2 2 /OpenSceneGraph/trunk/osgAnimation:10539 3 /OpenSceneGraph/trunk/src/osgPlugins/osgAnimation:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112373 /OpenSceneGraph/trunk/src/osgPlugins/osgAnimation:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/osgVolume
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgPlugins/osgVolume:10664 2 /OpenSceneGraph/trunk/src/osgPlugins/osgVolume:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10101-10137,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgPlugins/osgVolume:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10101-10137,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/pdf
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgPlugins/pdf:10664 2 /OpenSceneGraph/trunk/src/osgPlugins/pdf:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10144,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgPlugins/pdf:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10144,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/txp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgPlugins/txp:10664 2 /OpenSceneGraph/trunk/src/osgPlugins/txp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10387,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgPlugins/txp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10387,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgSim
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgSim:10664 2 /OpenSceneGraph/trunk/src/osgSim:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10321,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgSim:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10321,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgTerrain
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgTerrain:10664 2 /OpenSceneGraph/trunk/src/osgTerrain:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10230,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgTerrain:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10230,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgTerrain/GeometryTechnique.cpp
r9980 r11254 417 417 // bool optimizeOrientations = elevations!=0; 418 418 bool swapOrientation = !(masterLocator->orientationOpenGL()); 419 420 osg::ref_ptr<osg::DrawElementsUInt> elements = new osg::DrawElementsUInt(GL_TRIANGLES); 421 elements->reserve((numRows-1) * (numColumns-1) * 6); 419 420 bool smallTile = numVertices <= 16384; 421 422 // osg::notify(osg::NOTICE)<<"smallTile = "<<smallTile<<std::endl; 423 424 osg::ref_ptr<osg::DrawElements> elements = smallTile ? 425 static_cast<osg::DrawElements*>(new osg::DrawElementsUShort(GL_TRIANGLES)) : 426 static_cast<osg::DrawElements*>(new osg::DrawElementsUInt(GL_TRIANGLES)); 427 428 elements->reserveElements((numRows-1) * (numColumns-1) * 6); 422 429 423 430 geometry->addPrimitiveSet(elements.get()); … … 464 471 if (fabsf(e00-e11)<fabsf(e01-e10)) 465 472 { 466 elements-> push_back(i01);467 elements-> push_back(i00);468 elements-> push_back(i11);469 470 elements-> push_back(i00);471 elements-> push_back(i10);472 elements-> push_back(i11);473 elements->addElement(i01); 474 elements->addElement(i00); 475 elements->addElement(i11); 476 477 elements->addElement(i00); 478 elements->addElement(i10); 479 elements->addElement(i11); 473 480 } 474 481 else 475 482 { 476 elements-> push_back(i01);477 elements-> push_back(i00);478 elements-> push_back(i10);479 480 elements-> push_back(i01);481 elements-> push_back(i10);482 elements-> push_back(i11);483 elements->addElement(i01); 484 elements->addElement(i00); 485 elements->addElement(i10); 486 487 elements->addElement(i01); 488 elements->addElement(i10); 489 elements->addElement(i11); 483 490 } 484 491 } 485 492 else if (numValid==3) 486 493 { 487 if (i00>=0) elements-> push_back(i00);488 if (i01>=0) elements-> push_back(i01);489 if (i11>=0) elements-> push_back(i11);490 if (i10>=0) elements-> push_back(i10);494 if (i00>=0) elements->addElement(i00); 495 if (i01>=0) elements->addElement(i01); 496 if (i11>=0) elements->addElement(i11); 497 if (i10>=0) elements->addElement(i10); 491 498 } 492 499 … … 507 514 if (createSkirt) 508 515 { 509 osg::ref_ptr<osg::DrawElementsUShort> skirtDrawElements = new osg::DrawElementsUShort(GL_QUAD_STRIP); 516 osg::ref_ptr<osg::DrawElements> skirtDrawElements = smallTile ? 517 static_cast<osg::DrawElements*>(new osg::DrawElementsUShort(GL_QUAD_STRIP)) : 518 static_cast<osg::DrawElements*>(new osg::DrawElementsUInt(GL_QUAD_STRIP)); 510 519 511 520 // create bottom skirt vertices … … 529 538 } 530 539 531 skirtDrawElements-> push_back(orig_i);532 skirtDrawElements-> push_back(new_i);540 skirtDrawElements->addElement(orig_i); 541 skirtDrawElements->addElement(new_i); 533 542 } 534 543 else 535 544 { 536 if ( !skirtDrawElements->empty())545 if (skirtDrawElements->getNumIndices()!=0) 537 546 { 538 547 geometry->addPrimitiveSet(skirtDrawElements.get()); 539 skirtDrawElements = new osg::DrawElementsUShort(GL_QUAD_STRIP); 548 skirtDrawElements = smallTile ? 549 static_cast<osg::DrawElements*>(new osg::DrawElementsUShort(GL_QUAD_STRIP)) : 550 static_cast<osg::DrawElements*>(new osg::DrawElementsUInt(GL_QUAD_STRIP)); 540 551 } 541 552 … … 543 554 } 544 555 545 if ( !skirtDrawElements->empty())556 if (skirtDrawElements->getNumIndices()!=0) 546 557 { 547 558 geometry->addPrimitiveSet(skirtDrawElements.get()); 548 skirtDrawElements = new osg::DrawElementsUShort(GL_QUAD_STRIP); 559 skirtDrawElements = smallTile ? 560 static_cast<osg::DrawElements*>(new osg::DrawElementsUShort(GL_QUAD_STRIP)) : 561 static_cast<osg::DrawElements*>(new osg::DrawElementsUInt(GL_QUAD_STRIP)); 549 562 } 550 563 … … 567 580 } 568 581 569 skirtDrawElements-> push_back(orig_i);570 skirtDrawElements-> push_back(new_i);582 skirtDrawElements->addElement(orig_i); 583 skirtDrawElements->addElement(new_i); 571 584 } 572 585 else 573 586 { 574 if ( !skirtDrawElements->empty())587 if (skirtDrawElements->getNumIndices()!=0) 575 588 { 576 589 geometry->addPrimitiveSet(skirtDrawElements.get()); 577 skirtDrawElements = new osg::DrawElementsUShort(GL_QUAD_STRIP); 590 skirtDrawElements = smallTile ? 591 static_cast<osg::DrawElements*>(new osg::DrawElementsUShort(GL_QUAD_STRIP)) : 592 static_cast<osg::DrawElements*>(new osg::DrawElementsUInt(GL_QUAD_STRIP)); 578 593 } 579 594 … … 581 596 } 582 597 583 if ( !skirtDrawElements->empty())598 if (skirtDrawElements->getNumIndices()!=0) 584 599 { 585 600 geometry->addPrimitiveSet(skirtDrawElements.get()); 586 skirtDrawElements = new osg::DrawElementsUShort(GL_QUAD_STRIP); 601 skirtDrawElements = smallTile ? 602 static_cast<osg::DrawElements*>(new osg::DrawElementsUShort(GL_QUAD_STRIP)) : 603 static_cast<osg::DrawElements*>(new osg::DrawElementsUInt(GL_QUAD_STRIP)); 587 604 } 588 605 … … 605 622 } 606 623 607 skirtDrawElements-> push_back(orig_i);608 skirtDrawElements-> push_back(new_i);624 skirtDrawElements->addElement(orig_i); 625 skirtDrawElements->addElement(new_i); 609 626 } 610 627 else 611 628 { 612 if ( !skirtDrawElements->empty())629 if (skirtDrawElements->getNumIndices()!=0) 613 630 { 614 631 geometry->addPrimitiveSet(skirtDrawElements.get()); 615 skirtDrawElements = new osg::DrawElementsUShort(GL_QUAD_STRIP); 632 skirtDrawElements = smallTile ? 633 static_cast<osg::DrawElements*>(new osg::DrawElementsUShort(GL_QUAD_STRIP)) : 634 static_cast<osg::DrawElements*>(new osg::DrawElementsUInt(GL_QUAD_STRIP)); 616 635 } 617 636 … … 619 638 } 620 639 621 if ( !skirtDrawElements->empty())640 if (skirtDrawElements->getNumIndices()!=0) 622 641 { 623 642 geometry->addPrimitiveSet(skirtDrawElements.get()); 624 skirtDrawElements = new osg::DrawElementsUShort(GL_QUAD_STRIP); 643 skirtDrawElements = smallTile ? 644 static_cast<osg::DrawElements*>(new osg::DrawElementsUShort(GL_QUAD_STRIP)) : 645 static_cast<osg::DrawElements*>(new osg::DrawElementsUInt(GL_QUAD_STRIP)); 625 646 } 626 647 … … 643 664 } 644 665 645 skirtDrawElements-> push_back(orig_i);646 skirtDrawElements-> push_back(new_i);666 skirtDrawElements->addElement(orig_i); 667 skirtDrawElements->addElement(new_i); 647 668 } 648 669 else 649 670 { 650 if ( !skirtDrawElements->empty())671 if (skirtDrawElements->getNumIndices()!=0) 651 672 { 652 673 geometry->addPrimitiveSet(skirtDrawElements.get()); … … 657 678 } 658 679 659 if ( !skirtDrawElements->empty())680 if (skirtDrawElements->getNumIndices()!=0) 660 681 { 661 682 geometry->addPrimitiveSet(skirtDrawElements.get()); 662 skirtDrawElements = new osg::DrawElementsUShort(GL_QUAD_STRIP); 683 smallTile ? 684 static_cast<osg::DrawElements*>(new osg::DrawElementsUShort(GL_QUAD_STRIP)) : 685 static_cast<osg::DrawElements*>(new osg::DrawElementsUInt(GL_QUAD_STRIP)); 663 686 } 664 687 } -
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgText/TextBase.cpp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgText/TextBase.cpp:10664 2 /OpenSceneGraph/trunk/src/osgText/TextBase.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10376,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgText/TextBase.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10376,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgUtil/Optimizer.cpp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgUtil/Optimizer.cpp:10664 2 2 /OpenSceneGraph/trunk/include/osg/src/osgUtil/Optimizer.cpp:9882 3 /OpenSceneGraph/trunk/src/osgUtil/Optimizer.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9902,9906,99 20,9932,9959,9987,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10480,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112373 /OpenSceneGraph/trunk/src/osgUtil/Optimizer.cpp:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9902,9906,9910,9912,9920,9932-9933,9948,9959-9960,9965,9968-9969,9987,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10480,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgUtil/RenderStage.cpp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgUtil/RenderStage.cpp:10664 2 /OpenSceneGraph/trunk/src/osgUtil/RenderStage.cpp:9769,9816-9818,9822,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgUtil/RenderStage.cpp:9769,9816-9818,9822,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgViewer
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgViewer:10664 2 /OpenSceneGraph/trunk/src/osgViewer:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10147,10149,10208,10264,10283,10340,10364-10365,10417,10440,10456,10460,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgViewer:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10147,10149,10161,10208,10264,10283,10340,10364-10365,10391-10392,10408,10414,10417,10422,10440,10456,10460,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgViewer/GraphicsWindowWin32.cpp
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgViewer/GraphicsWindowWin32.cpp:10664 2 /OpenSceneGraph/trunk/src/osgViewer/GraphicsWindowWin32.cpp:9769,9816-9818,9824,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10147,10149,10208,10264,10283,10340,10364-10365,10417,10440,10456,10460,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgViewer/GraphicsWindowWin32.cpp:9769,9816-9818,9824,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10147,10149,10161,10208,10264,10283,10340,10364-10365,10391-10392,10408,10414,10417,10422,10440,10456,10460,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgVolume
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgVolume:10664 2 /OpenSceneGraph/trunk/src/osgVolume:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10101-10137,10149,10208,10264,10283,10340,10417,10440,10456,10487,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgVolume:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10101-10137,10149,10161,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgWidget
- Property svn:mergeinfo
-
old new 1 1 /OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgWidget:10664 2 /OpenSceneGraph/trunk/src/osgWidget:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,99 32,9959,10010,10012-10014,10040-10041,10057,10076,10079-10080,10084,10088,10128,10149,10182,10208,10264,10283,10340,10417,10440,10456,10487,10489,10491,10520,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10818,10853-10855,10858,10887,10891,10914,10923,10932-10933,10938,10941-10942,10945,11019,11032-11035,11056,11111,11123,11127,11131,11159,11173,11175,11180,11194,11203,112372 /OpenSceneGraph/trunk/src/osgWidget:9769,9816-9818,9826-9827,9837-9843,9847,9850,9854-9857,9860-9861,9865,9869,9879-9880,9885,9895,9906,9910,9912,9932-9933,9948,9959-9960,9965,9968-9969,9990,10010,10012-10014,10030,10040-10041,10053,10057,10076,10079-10080,10082,10084,10088,10128,10149,10161,10182,10208,10264,10283,10340,10391-10392,10408,10414,10417,10422,10440,10456,10487,10489,10491,10520,10538,10622-10623,10625,10671-10672,10697,10722,10753,10758,10761,10788,10805,10809,10818,10851,10853-10855,10858,10887,10891-10892,10914,10923,10925,10932-10933,10938,10941-10942,10945,10961,11019,11032-11035,11056,11111,11123,11127,11131,11159,11165,11173,11175,11177,11180,11194,11203,11237
-
- Property svn:mergeinfo
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgWrappers/osg/PrimitiveSet.cpp
r9777 r11254 198 198 "If State is non-zero, this function releases OpenGL objects for the specified graphics context. ", 199 199 "Otherwise, releases OpenGL objects for all graphics contexts. "); 200 I_Method1(void, reserveElements, IN, unsigned int, numIndices, 201 Properties::PURE_VIRTUAL, 202 __void__reserveElements__unsigned_int, 203 "", 204 ""); 205 I_Method2(void, setElement, IN, unsigned, int, IN, unsigned, int, 206 Properties::PURE_VIRTUAL, 207 __void__setElement__unsigned__unsigned, 208 "", 209 ""); 210 I_Method1(unsigned int, getElement, IN, unsigned, int, 211 Properties::PURE_VIRTUAL, 212 __unsigned_int__getElement__unsigned, 213 "", 214 ""); 215 I_Method1(void, addElement, IN, unsigned, int, 216 Properties::PURE_VIRTUAL, 217 __void__addElement__unsigned, 218 "", 219 ""); 200 220 I_SimpleProperty(osg::DrawElements *, DrawElements, 201 221 __DrawElements_P1__getDrawElements,
