Gleb Mazovetskiy
0968256923
Fix osgViewer USE_GRAPHICSWINDOW
without a windowing system
...
There is no way for the user to know whether OSG was compiled with a
windowing system.
This means calling USE_GRAPHICSWINDOW() in client libraries was unsafe
in the case of the "None" windowing system, as it would fail to link.
Turns the call into a no-op in that case.
2021-01-14 21:44:42 +00:00
Robert Osfield
40bddd8d95
Merge pull request #998 from jpabst0/fix_delimiter_compilation
...
fix variable name "delimiter"/compilation for win32
2020-11-17 08:35:51 +00:00
Hannes Pabst
6d4f808434
fix variable name "delimiter"/compilation for win32
2020-11-17 08:13:57 +01:00
Robert Osfield
ec79ef6f79
Merge pull request #979 from matthew-reid/supportSrgbTextureFormats
...
sRGB compressed texture formats are now supported
2020-11-10 16:03:35 +00:00
Robert Osfield
9c33a49f23
Merge pull request #977 from poelmanc/patch-3
...
Declare "result" as LONG for Mingw build
2020-11-10 15:51:03 +00:00
Robert Osfield
0c029c8840
Merge branch 'master' into patch-3
2020-11-10 15:49:52 +00:00
Robert Osfield
324750fded
Changed to using Node::accept() to handled children of Geode/Billboard to enable scene graphs with non drawables as children
2020-11-10 15:26:21 +00:00
Robert Osfield
21bb0e1a0c
Merge pull request #974 from MeyerFabian/build/windows_clang
...
Enabled windows clang builds.
2020-11-10 14:34:51 +00:00
Robert Osfield
75f77dec64
Merge branch 'master' into build/windows_clang
2020-11-10 14:34:40 +00:00
Robert Osfield
3572199cb8
Moved GLExtensions changes from 3.6 branch into master
2020-11-10 12:50:58 +00:00
Robert Osfield
cc835694e3
Merge pull request #955 from timoore/extension-observer-ptr
...
Fix GLExtensions static order of deletion bug
2020-11-10 11:14:47 +00:00
OpenSceneGraph git repository
9dad0b4148
Merge pull request #990 from aluaces/code-spell-3
...
Code comments, log strings and some variable spell fixes.
2020-10-29 15:08:30 +00:00
Alberto Luaces
d64ad2e654
Code comments, log strings and some variable spell fixes.
2020-10-28 17:05:06 +01:00
Matthew Reid
6d207e2d8d
Added support for sRGB texture formats
2020-10-12 15:13:38 +11:00
Robert Osfield
e0d5e4b0ff
Fixed warnings reported by gcc-9.3.0
2020-08-26 15:19:23 +01:00
Robert Osfield
50de0c25f7
Updated SO version number
2020-08-19 16:09:41 +01:00
Ralf Habacker
64cb9cfa15
Use new method supportsEnvironment() from class ReaderWriter in client code
2020-08-19 12:03:42 +01:00
Ralf Habacker
b0a25ce364
Add support for showing environment variables provided by osg plugins
2020-08-19 12:03:42 +01:00
Conrad Poelman
67468cce34
Declare "result" as LONG for Mingw build
...
Win32's ChangeDisplaySettingsEx() API function is documented as returning `LONG`, which evidently is not always the same as `unsigned int` (Mingw64.)
This cause a compile error on Mingw with clang10.
2020-08-03 18:26:24 -04:00
MeyerFabian
07836619b2
Enabled windows clang builds.
2020-07-17 18:01:05 +02:00
Robert Osfield
d5225ea534
Selected USE_NEW_DELETE allocation mode to fix memory leak
2020-07-09 10:15:37 +01:00
Graham Stewart
63bb537132
comment out cmake internal help markup
...
cmake 2.8.12 cannot parse it. From the looks of it this sort of markup only needs to be parsable when building cmake v3 itself.
2020-06-23 17:55:37 +01:00
OpenSceneGraph git repository
27f400bb94
Merge pull request #957 from dan-t/camera_callback_fixes
...
Fix camera callbacks of OcclusionQueryNode
2020-06-04 07:57:56 +01:00
OpenSceneGraph git repository
ba2a6f7339
Merge pull request #958 from calumr/text-prop-return-early
...
Return early in osgText::Text property setters
2020-05-29 11:11:10 +01:00
Calum Robinson
6985f45882
Return early in osgText::Text property setters
...
Matches what the rest of the properties are doing & avoids unnecessary
computation.
2020-05-29 11:03:56 +01:00
Daniel Trstenjak
3fc3dcbb56
OcclusionQueryNode: don't override existing callbacks in camera
2020-05-26 19:05:42 +02:00
Daniel Trstenjak
048ece358a
Camera: convenience methods to find nested callback by type
2020-05-26 19:05:34 +02:00
Tim Moore
97f955b2d4
Fix GLExtensions static order of deletion bug
...
The s_glExtensionSetList could be deleted while pointers to
GLExtension objects were still held e.g., by
VertexArrayStateManager, causing a segfault. This patch uses an
observer pointer to not access already-deleted data.
2020-05-20 18:21:49 +02:00
OpenSceneGraph git repository
3547b9853d
Merge pull request #953 from mnaehrig/master
...
Fixed creation of multisample textures
2020-05-18 09:31:51 +01:00
OpenSceneGraph git repository
f04a5103ef
Merge pull request #951 from poelmanc/patch-2
...
Remove register keyword (deprecated in C++17/20)
2020-05-18 09:31:25 +01:00
Mathias Nährig
94bc1a9b94
Update GLExtensions.cpp
...
GLExtensions::glTexStorage2DMultisample in fact called glTextureStorage2DMultisample which expects texture object instead of texture target
2020-05-18 10:01:16 +02:00
Conrad Poelman
e085a7d68a
Remove register keyword (deprecated in C++17/20)
...
The "register" keyword is deprecated as of C++17. (https://en.cppreference.com/w/cpp/keyword/register ) Removing it is necessary to build with clang10+.
2020-05-15 19:21:01 -04:00
Robert Osfield
8437550c25
Added ZLIB as a build depdency to PNG plugin build
2020-05-07 11:26:54 +01:00
Julien Valentin
b8416a7aa2
prevent immutability resetting when textureobject is taken from orphans
2020-05-03 10:14:11 +01:00
Robert Osfield
c29e2e4f40
Fixed handling of non Texture texture attributes.
2020-05-03 09:27:20 +01:00
Robert Osfield
d40ab36416
Updated shaders from OpenSceneGraph-Data.
2020-04-29 12:04:13 +01:00
Robert Osfield
695b836ac6
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2020-04-29 10:51:50 +01:00
OpenSceneGraph git repository
f089d2e3e0
Merge pull request #944 from remoe/patch-1
...
[macosx 10.15] Fix GC resize issue #926 from @PetrBo and @tkittel
2020-04-29 10:51:22 +01:00
Robert Osfield
4a27b7a0a8
Merged from 3.6 branch "Add option to treat all TGA files as TGA 1.0"
2020-04-29 10:50:22 +01:00
Robert Osfield
3590e4c057
Added missing initializer
2020-04-29 10:04:46 +01:00
OpenSceneGraph git repository
a752a16331
Merge pull request #941 from poelmanc/patch-1
...
Name unnamed typedef struct {...} to fix MSVC error
2020-04-29 09:35:00 +01:00
OpenSceneGraph git repository
7856b30003
Merge pull request #937 from jasonbeverage/closezip
...
Closing ZipArchive in destructor
2020-04-29 09:19:55 +01:00
OpenSceneGraph git repository
c5df31f44d
Merge pull request #931 from scttgs0/topic-example-typo
...
osgsimplegl3: fix minor typo
2020-04-29 09:18:21 +01:00
Robert Osfield
daf4237232
Fixed crash during compile traversal
2020-04-29 09:14:56 +01:00
Remo E
3994378a20
[macosx 10.15] Fix for https://github.com/openscenegraph/OpenSceneGraph/issues/926 from @PetrBo and @tikittel
2020-04-18 10:58:57 +02:00
Conrad Poelman
3e7bdc07ab
Name unnamed typedef struct {...} to fix MSVC error
...
Compile with latest MSVC 16.6.0 Preview Release, got error message:
> osgPlugins\x\types.h(41,20): error C7626: unnamed class used in typedef name cannot declare members other than non-static data members, member enumerations, or member classes (compiling source file ...3rdparty\OpenSceneGraph\src\osgPlugins\x\mesh.cpp)
The fix was just to give it a name, which will never be used. I picked Vector_struct, feel free to improve.
2020-04-09 03:19:28 -04:00
Jason Beverage
ea3e4d2b5b
Closing ZipArchive in destructor
2020-03-26 14:08:31 -04:00
Scott Giese
a149f08de8
osgsimplegl3: fix minor typo
2020-03-23 19:01:54 -05:00
OpenSceneGraph git repository
f2f22df811
Merge pull request #930 from scttgs0/topic-pkgconfig-findpackage
...
Improve PkgConfig usage
2020-03-23 17:28:55 +00:00
OpenSceneGraph git repository
69d382d439
Merge pull request #929 from scttgs0/topic-vscode-ignore
...
Ignore Visual Studio Code configuration
2020-03-23 16:39:16 +00:00