konstantin.matveyev
cf2b5d030c
tellg call removed from StreamOperator's checkStream function, because reading of files (readNodeFile etc.) with tellg on 'every iter' is approximately 100 times slower on Emscripten platform
2017-09-22 11:43:07 +03:00
Michael Kapelko
59d3b1ebac
Fix stat64 build issue with NDK 15 by definining at stat for Android
2017-08-22 22:49:56 +03:00
Robert Osfield
c18be2fc41
Replaced local FindZLIB.cmake usage with CMake's own FindZLIB.cmake, and ZLIB_LIBRARY to ZLIB_LIBRARIES
2017-08-09 14:18:35 +01:00
Robert Osfield
9f3533632a
Added ability for OSG serializers to get the file version number when writing out via the OutputStream object
2017-06-19 12:04:03 +01:00
Remo E
36eb0e945f
Avoid call of SetupThreads in DatabasePager
...
This solves a bug with some shared library configurations. Sometimes the DatabasePager Singleton is initialised before one can call other configuration options like "setNumOfDatabaseThreadsHint". But OSG initialise it here:
https://github.com/openscenegraph/OpenSceneGraph/blob/master/src/osgDB/DatabasePager.cpp#L1555
So this call is not needed?!
2017-04-28 16:51:34 +02:00
OpenSceneGraph git repository
a7548794c0
Merge pull request #244 from LaurensVoerman/submit_osgtMissingTextureCrash
...
fix a crash when reading an osgt file with multiple references to a missing texture.
2017-04-07 17:34:22 +01:00
Laurens Voerman
36fc30d8e7
avoid INFO message about duplicate enums with and without _EXT
2017-04-07 15:56:32 +02:00
Laurens Voerman
4bc855b610
fix a crash when reading an osgt file with multiple references to a missing texture.
2017-04-07 15:27:56 +02:00
Robert Osfield
717cb182ce
Removed hardwaring to online write inine when writing to binary files to allow inline images in asci and binary files
2017-03-23 09:52:21 +00:00
Thomas Hogarth
76fe572934
Added conditionals for GLES3, added correct gl headers for GLES3 on iOS and Android to GL.in
2017-03-20 18:33:08 +00:00
Robert Osfield
61782d8f29
Build fixes
2017-03-11 12:31:19 +00:00
d-a-heitbrink
7b3fc0925c
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2017-03-01 16:12:49 -06:00
scrawl
09ca132102
Remove redundant handling of Geode in SharedStateManager
2017-02-03 17:35:40 +01:00
d-a-heitbrink
3d2f4ea404
Added support for Bindless texture extension,
...
64 bit uniforms, 64 bit buffers
Added new bindless texture example
2017-01-13 09:56:42 -06:00
Riccardo Corsi
a526cab590
InputStream::readImage() : added info about which file failed to load when printing error message
2016-12-23 11:55:08 +01:00
Robert Osfield
3432f02d5f
Renamed the iges plugin to OpenCASCADE to make it clearer what the plugin is, and added file extension aliases for stp, step, igs and iges to the OpenCASCADE plugin to enable automatic loading.
2016-12-09 17:52:17 +00:00
Robert Osfield
87a3648e68
To avoid noise in documentation replaced nested namespaced enum with enum with FILE_COPY_ wording prefixed into enum values.
2016-11-15 08:57:24 +00:00
Robert Osfield
ee97db3488
Introduced OpenThreads::Affinity support into osg::Camera, osg::GraphicsContext::Traitse, osgDB::DatabasePager and osgViewer::ViewerBase/Viewer/CompositeViewer.
...
Added ViewerBase::configureAffinity() to help with the setting of the affinity of camera, graphics context and pager threads
2016-10-07 12:17:03 +01:00
Robert Osfield
77c5e96ccb
Added DatabasePager::setProcessorAffinity(const OpenThreads::Affinity&) support to allow the database threads to have affinity to user controls sets of CPU cores.
2016-10-07 12:17:03 +01:00
Alberto Luaces
01c712e851
Explicit signed char declarations for portability.
...
Some platforms (ARM, PowerPC, s390x) have "unsigned char" as the default
char type, and thus the build fails for certain parts of the code where
negative values are assigned to those kind of variables.
2016-09-24 12:33:37 +02:00
Robert Osfield
7e0c30b884
Refactored texture sharing code so that it modifies the RefAttributePair directly thus honouring the override flags and fixing a bug of loosing these override flags when sharing
2016-09-20 17:23:37 +01:00
Konstantin S. Matveyev
e6d4d99edb
Fixed filename encoding bug
2016-08-10 12:58:38 +01:00
Robert Osfield
16d497ef80
Simplified DatabasePager::requires*() methods
2016-07-05 11:42:03 +01:00
Philippe Renon
22d53357d3
split requiresUpdateSceneGraph() into requires update and requires redraw (wip)
2016-07-04 23:19:20 +02:00
Philippe Renon
e23a30652d
streamline DatabasePager::requiresUpdateSceneGraph()
...
would trigger unnecessary redraws when there were pending file requests or active database threads
tested ok with and without IncrementalCompileOperation
2016-07-04 21:42:19 +02:00
Robert Osfield
e3c48d9f45
Added handling of the possibility of null Options pointers
2016-06-29 17:06:48 +01:00
Robert Osfield
55d6113375
Removed debug message
2016-06-28 16:25:21 +01:00
Robert Osfield
6d7d58fa12
Added osgDB::stringcopy and stringcopyfixedsize
2016-06-25 16:08:15 +01:00
Cedric Pinson
0ecb52ff82
Submitted with fixes by Julian Valentin
2016-06-25 07:49:56 +01:00
Robert Osfield
818843a6b6
Restructed the handling of a null compressor
2016-06-23 09:05:51 +01:00
Robert Osfield
1e4ea646ce
Removed dead code
2016-06-23 08:55:52 +01:00
Robert Osfield
ff3570bfa5
Added handling of return value
2016-06-23 08:53:14 +01:00
Robert Osfield
2e65d37ddb
Added missing initializer
2016-06-22 12:24:23 +01:00
Robert Osfield
c6378de489
Fixed loop for the wrong counter increment
2016-06-22 12:22:19 +01:00
Robert Osfield
1d7f75c490
Added initializer
2016-06-22 12:03:10 +01:00
Robert Osfield
acaf9fd720
Added initializer
2016-06-22 11:48:30 +01:00
Ralf Habacker
7876c7915b
clang 6.0 compile fixes.
2016-06-20 10:32:42 +01:00
Ralf Habacker
69929f596f
Fix finding object cache entries.
2016-06-20 10:26:12 +01:00
Robert Osfield
8e26ebd23e
Fixed coverity detected defect:
...
Incorrect values read from a different memory region will cause incorrect computations. In osgDB::base64_decode_value(char): Out-of-bounds read from a buffer
2016-06-17 10:57:17 +01:00
Robert Osfield
9139e8acb8
Added {} brackets around OSG_DEBUG usage to avoid issues with marco's expanding if else.
2016-06-14 16:42:06 +01:00
Ralf Habacker
85cd1c456f
Identify files in object cache by filename and optional provided options.
...
Objects with the same filename may be different from others based on the provided
plugin options. Using filename *and* the provided options as object cache key
helps to avoid fetching the wrong object.
2016-06-14 12:27:33 +01:00
Julien Valentin
2ac8379cfc
osgDB Wrapper Associates Revision Tagging
2016-06-14 11:43:45 +01:00
OpenSceneGraph git repository
a236f18b17
Merge pull request #83 from filnet/warnings
...
Fixed various compilation warnings on msys2
2016-06-14 08:52:54 +01:00
Philippe Renon
3bf6fb1778
msys2: fixed redefined include warnings
2016-06-11 17:45:36 +02:00
Robert Osfield
62f97923e0
Fixed unused parameter warning.
2016-06-08 10:19:57 +01:00
Robert Osfield
203e5f7ef8
Removed redudent codepaths, standardizing on the most portable Texture2D path.
2016-06-02 14:22:25 +01:00
Ralf Habacker
c31baa96de
Fixed bug not detecting unc pathes in osgDB::isAbsolutePath()
2016-05-31 16:14:51 +01:00
Alberto Luaces
68baf15806
defines for building on Hurd and BSD kernels
2016-05-31 12:58:57 +01:00
Robert Osfield
559f138152
Fixed shadows warnings
2016-05-25 09:56:40 +01:00
Robert Osfield
c36c0033fd
Fixed shadows warnings
2016-05-23 20:02:36 +01:00