Robert Osfield
e19f23021f
Introduced the use of a ReentrantMutex to avoid problems with findFontFile.
2007-09-15 17:40:08 +00:00
Robert Osfield
e433762105
From David Spilling, "Given no replies to my recent "does anybody use the DDS writer" query, I was emboldened to submit this very small patch. The bitmasks for RGBA and RGB have been modified in the writer portion of the code (line 765 onwards). This is now consistent with what the DDS plugin reads. In terms of testing, note that many 3rd party applications erroneously ignore the bitmasks in the file, and assume a BGRA order."
2007-09-15 17:36:03 +00:00
Robert Osfield
8051c48e56
Updated wrappers
2007-09-14 11:26:23 +00:00
Robert Osfield
f6eaa58c56
From Andy Skinner, added support for ot-soversion-OpenThreads.dll dll naming under Windows
2007-09-14 11:06:12 +00:00
Robert Osfield
97b66b877d
Updated wrappers
2007-09-14 11:02:06 +00:00
Robert Osfield
69de74aedf
Added TemplateRegisterDotOsgWrapperProxy.
2007-09-14 11:01:48 +00:00
Robert Osfield
cb1c916e25
Ran conversion of tabs to four spaces
2007-09-14 11:00:32 +00:00
Robert Osfield
d5cc0e966f
Introduce GUIEventHandler::handleWithCheckAgainstIgnoreHandledEventsMask() methods
...
to help make it easier to get event handles to ingore events that have already been handled.
2007-09-14 10:44:46 +00:00
Robert Osfield
290adbe7ab
From Ole-Morten Duesund, added IgnoreUsedEventsMask.
2007-09-14 10:26:14 +00:00
Robert Osfield
89428f743a
Added _hudText->setDataVariance(osg::Object::DYNAMIC); to prevent from the
...
text being updated at the same time as being rendered.
2007-09-14 10:00:28 +00:00
Robert Osfield
d6e24c0dc2
Fix for build error during aggressive warning build
2007-09-13 11:00:12 +00:00
Robert Osfield
86ab5a2392
Fixed warning in wrappers
2007-09-13 10:42:26 +00:00
Robert Osfield
0b39152321
Fixed warnigns
2007-09-13 10:38:38 +00:00
Robert Osfield
c88bcc4506
Updated wrappers and READEME
2007-09-13 10:33:10 +00:00
Robert Osfield
5caf64e5c7
From Paul Martsz, changed the Texture clamping mode to CLAMP_TO_EDGE
2007-09-13 10:32:05 +00:00
Robert Osfield
2aff52be23
From Blake Williams, warning fixes
2007-09-13 10:21:47 +00:00
Robert Osfield
eac9831723
Add static_cast to fix warning.
2007-09-13 10:21:18 +00:00
Robert Osfield
34af300957
Removed unncessary typedefs
2007-09-13 10:16:19 +00:00
Robert Osfield
0c5d6da793
Fixed warnings of casting void* by refactoring the type and extensiosn setup.
2007-09-13 10:15:48 +00:00
Robert Osfield
b2fe3d475b
Fixed uint/int comparison warning.
2007-09-13 10:10:35 +00:00
Robert Osfield
0f135d6d35
Created two PixelBufferX11::closeImplementation() one the real implementation and
...
a second non op one for GLX <1.3.
2007-09-13 09:30:30 +00:00
Robert Osfield
45e98d5f18
Added preliminary handling of cases where GLX version < 1.3
2007-09-12 17:01:47 +00:00
Robert Osfield
23945bb506
Removed debug messages
2007-09-12 17:01:09 +00:00
Robert Osfield
4d0e86f1e2
Moved the linking of OpenThreads from osgversion/CMakeLists.txt into applications/CMakeLists.txt
2007-09-12 16:28:50 +00:00
Robert Osfield
a933587753
Rejigged the casting to avoid warnings under Windows
2007-09-12 16:20:40 +00:00
Robert Osfield
c15ec121f4
Updated version, ChangeLog and AUTHORS file for 2.1.10 release
2007-09-12 10:43:49 +00:00
Robert Osfield
0137047429
From Jan Peciva, build fix
2007-09-12 10:04:36 +00:00
Robert Osfield
d8f875ec9e
Added log2(int) and log2(uint) methods
2007-09-11 20:54:39 +00:00
Robert Osfield
b89a1480fc
Removed int version of log2 to avoid possible errors in assuming log2(10) should ~= log2(10.0)
2007-09-11 20:24:48 +00:00
Robert Osfield
be33fbc66b
Added OpenThreads to target libraries
2007-09-11 17:10:24 +00:00
Robert Osfield
b63ce0dee9
From Art Tevs, Added log2 function.
2007-09-11 17:08:06 +00:00
Robert Osfield
0bd4d303e3
From Art Tevs, build fix.
2007-09-11 16:59:19 +00:00
Robert Osfield
041afdc303
Replaced allocateMipmap code with warning message as mipmaps aren't support for TextureRectangle.
2007-09-11 16:56:21 +00:00
Robert Osfield
66cc306f18
Removed the output num_children from Group .osg output and
...
removed the output of "DataVaraince UNSPECIFIED" as this is redundent
considering the default value is UNSPECIFIED.
2007-09-11 13:47:06 +00:00
Robert Osfield
9819217136
Updated wrappers
2007-09-11 13:42:23 +00:00
Robert Osfield
291d253161
From Mathias Froenlich, "have a problem with the SunOS CC.
...
It does not like that the prototype of ClipNode::setStateSetModes() differs
from implementation of that function in the constness of the second
parameter.
On SunOS it compiles fine, but I get link errors when the variant that is
declared in the header is referenced.
The attached src/osg/ClipNode.cpp file removes the const qualifier from the
implementation to match exactly the prototype in the header file.
The file is based on revision 7386 as of today.
"
2007-09-11 13:39:55 +00:00
Robert Osfield
175c3ce806
From Art Trevs, "File Changes:
...
- GL2Extensions, Program and Program.cpp
Features:
- Support for fragment output binding. (e.g. You can now specify in the fragment shader varying out vec3 fragOut; fragOut = vec3(1,0,1); to write to the fragOut variable. In your program you call glBindFragDataLocation(program, 1, "fragOut") to bind the fragOut variable with the MRT 1 - GL_COLOR_ATTACHMENT1_EXT)
- new methods Program::add/removeBindFragDataLocation Program::getFragDataBindingList
"
2007-09-11 13:34:41 +00:00
Robert Osfield
884b3b7aa2
Seperated out GeometryTechnique .osg support.
2007-09-11 13:32:46 +00:00
Robert Osfield
c51e893ba4
Changed the isTextureIntegerSupported method so that it no longer has the EXT entry in it
...
for forward compatability reasons.
2007-09-11 12:28:03 +00:00
Robert Osfield
5e83ae4821
From Art Trevs, "Features of the patch are:
...
- Implementation of integer textures as in EXT_texture_integer
- setBorderColor(Vec4) changed to setBorderColor(Vec4d) to pass double values
as border color. (Probably we have to provide an overloading function to
still support Vec4f ?)
- new method Texture::getInternalFormatType() added. Gives information if the
internal format normalized, float, signed integer or unsigned integer. Can
help people to write better code ;-)
"
Futher changes to this submission by Robert Osfield, changed the dirty mipmap
flag into a buffer_value<> vector to ensure safe handling of multiple contexts.
2007-09-11 12:04:58 +00:00
Robert Osfield
98763cc4c5
From Rafa Giatan, "Changed int to GLsizei in the input parameter of the method
...
osg::Texture2DArray::applyTexImage2DArray_subload inside
Texture2DArray (lines 214 and 257), Otherwise it gives a compile
error on MacOSX."
2007-09-11 10:16:21 +00:00
Robert Osfield
bea07b5f72
From Mike Wittman and Robert Osfield, added support for SO_VERSION number in
...
runtime version info. Added checks for OpenThreads version.
2007-09-11 10:10:43 +00:00
Robert Osfield
269a3956e3
Maded versioning under Windows the default.
2007-09-10 16:06:23 +00:00
Robert Osfield
409cdd0b28
Intoduced a new setGLExtensions template method to do a copy of void* pointer to
...
local function pointer to avoid compiler warnings related to case void*.
Moved various OSG classes across to using setGLExtensions instead of getGLExtensions,
and changed them to use typedef declarations in the headers rather than casts in
the .cpp.
Updated wrappers
2007-09-10 15:19:23 +00:00
Robert Osfield
b9a4752694
Flesh out a bit more of the view IO support
2007-09-08 07:21:12 +00:00
Robert Osfield
91983cbe71
Fixed typo
2007-09-08 07:04:27 +00:00
Robert Osfield
8e7e6529be
From David Callu, warning fixes
2007-09-07 15:03:56 +00:00
Robert Osfield
18e688ea5f
Removed warning type not support by gcc 4.1.x
2007-09-07 13:54:32 +00:00
Robert Osfield
7409f1fb99
Updated wrappers for new Texture2DArray class
2007-09-07 13:37:28 +00:00
Robert Osfield
c747c7dbd6
Moved defined from Texture2DArray into Texture
2007-09-07 13:25:28 +00:00