diff --git a/src/osgWrappers/osg/BlendColor.cpp b/src/osgWrappers/osg/BlendColor.cpp index dcd29fa51..9708484ea 100644 --- a/src/osgWrappers/osg/BlendColor.cpp +++ b/src/osgWrappers/osg/BlendColor.cpp @@ -37,15 +37,16 @@ END_REFLECTOR BEGIN_OBJECT_REFLECTOR(osg::BlendColor::Extensions) BaseType(osg::Referenced); - Constructor0(); + Constructor1(IN, unsigned int, contextID); Constructor1(IN, const osg::BlendColor::Extensions &, rhs); Method1(void, lowestCommonDenominator, IN, const osg::BlendColor::Extensions &, rhs); - Method0(void, setupGLExtenions); + Method1(void, setupGLExtenions, IN, unsigned int, contextID); Method1(void, setBlendColorSupported, IN, bool, flag); Method0(bool, isBlendColorSupported); Method1(void, setBlendColorProc, IN, void *, ptr); Method4(void, glBlendColor, IN, GLclampf, red, IN, GLclampf, green, IN, GLclampf, blue, IN, GLclampf, alpha); WriteOnlyProperty(void *, BlendColorProc); WriteOnlyProperty(bool, BlendColorSupported); + WriteOnlyProperty(unsigned int, upGLExtenions); END_REFLECTOR diff --git a/src/osgWrappers/osg/BlendEquation.cpp b/src/osgWrappers/osg/BlendEquation.cpp index 511f7f860..6d651495e 100644 --- a/src/osgWrappers/osg/BlendEquation.cpp +++ b/src/osgWrappers/osg/BlendEquation.cpp @@ -48,15 +48,16 @@ END_REFLECTOR BEGIN_OBJECT_REFLECTOR(osg::BlendEquation::Extensions) BaseType(osg::Referenced); - Constructor0(); + Constructor1(IN, unsigned int, contextID); Constructor1(IN, const osg::BlendEquation::Extensions &, rhs); Method1(void, lowestCommonDenominator, IN, const osg::BlendEquation::Extensions &, rhs); - Method0(void, setupGLExtenions); + Method1(void, setupGLExtenions, IN, unsigned int, contextID); Method1(void, setBlendEquationSupported, IN, bool, flag); Method0(bool, isBlendEquationSupported); Method1(void, setBlendEquationProc, IN, void *, ptr); Method1(void, glBlendEquation, IN, GLenum, mode); WriteOnlyProperty(void *, BlendEquationProc); WriteOnlyProperty(bool, BlendEquationSupported); + WriteOnlyProperty(unsigned int, upGLExtenions); END_REFLECTOR diff --git a/src/osgWrappers/osg/BufferObject.cpp b/src/osgWrappers/osg/BufferObject.cpp index f980e4e54..cc79a301d 100644 --- a/src/osgWrappers/osg/BufferObject.cpp +++ b/src/osgWrappers/osg/BufferObject.cpp @@ -39,10 +39,10 @@ END_REFLECTOR BEGIN_VALUE_REFLECTOR(osg::BufferObject::Extensions) BaseType(osg::Referenced); - Constructor0(); + Constructor1(IN, unsigned int, contextID); Constructor1(IN, const osg::BufferObject::Extensions &, rhs); Method1(void, lowestCommonDenominator, IN, const osg::BufferObject::Extensions &, rhs); - Method0(void, setupGLExtenions); + Method1(void, setupGLExtenions, IN, unsigned int, contextID); Method0(bool, isBufferObjectSupported); Method2(void, glGenBuffers, IN, GLsizei, n, IN, GLuint *, buffers); Method2(void, glBindBuffer, IN, GLenum, target, IN, GLuint, buffer); @@ -55,6 +55,7 @@ BEGIN_VALUE_REFLECTOR(osg::BufferObject::Extensions) Method1(GLboolean, glUnmapBuffer, IN, GLenum, target); Method3(void, glGetBufferParameteriv, IN, GLenum, target, IN, GLenum, pname, IN, GLint *, params); Method3(void, glGetBufferPointerv, IN, GLenum, target, IN, GLenum, pname, IN, GLvoid **, params); + WriteOnlyProperty(unsigned int, upGLExtenions); END_REFLECTOR TYPE_NAME_ALIAS(std::pair< osg::BufferObject::BufferEntry COMMA osg::Image * >, osg::PixelBufferObject::BufferEntryImagePair); diff --git a/src/osgWrappers/osg/Drawable.cpp b/src/osgWrappers/osg/Drawable.cpp index 0bf0bff25..a136c8d47 100644 --- a/src/osgWrappers/osg/Drawable.cpp +++ b/src/osgWrappers/osg/Drawable.cpp @@ -187,10 +187,10 @@ END_REFLECTOR BEGIN_OBJECT_REFLECTOR(osg::Drawable::Extensions) BaseType(osg::Referenced); - Constructor0(); + Constructor1(IN, unsigned int, contextID); Constructor1(IN, const osg::Drawable::Extensions &, rhs); Method1(void, lowestCommonDenominator, IN, const osg::Drawable::Extensions &, rhs); - Method0(void, setupGLExtenions); + Method1(void, setupGLExtenions, IN, unsigned int, contextID); Method1(void, setVertexProgramSupported, IN, bool, flag); Method0(bool, isVertexProgramSupported); Method1(void, setSecondaryColorSupported, IN, bool, flag); @@ -248,6 +248,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Drawable::Extensions) WriteOnlyProperty(bool, OcclusionQuerySupported); WriteOnlyProperty(bool, SecondaryColorSupported); WriteOnlyProperty(bool, VertexProgramSupported); + WriteOnlyProperty(unsigned int, upGLExtenions); END_REFLECTOR BEGIN_VALUE_REFLECTOR(osg::Drawable::UpdateCallback) diff --git a/src/osgWrappers/osg/FragmentProgram.cpp b/src/osgWrappers/osg/FragmentProgram.cpp index ca913ad1c..b46e0caae 100644 --- a/src/osgWrappers/osg/FragmentProgram.cpp +++ b/src/osgWrappers/osg/FragmentProgram.cpp @@ -57,10 +57,10 @@ END_REFLECTOR BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram::Extensions) BaseType(osg::Referenced); - Constructor0(); + Constructor1(IN, unsigned int, contextID); Constructor1(IN, const osg::FragmentProgram::Extensions &, rhs); Method1(void, lowestCommonDenominator, IN, const osg::FragmentProgram::Extensions &, rhs); - Method0(void, setupGLExtenions); + Method1(void, setupGLExtenions, IN, unsigned int, contextID); Method1(void, setFragmentProgramSupported, IN, bool, flag); Method0(bool, isFragmentProgramSupported); Method2(void, glBindProgram, IN, GLenum, target, IN, GLuint, id); @@ -69,6 +69,7 @@ BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram::Extensions) Method4(void, glProgramString, IN, GLenum, target, IN, GLenum, format, IN, GLsizei, len, IN, const void *, string); Method3(void, glProgramLocalParameter4fv, IN, GLenum, target, IN, GLuint, index, IN, const GLfloat *, params); WriteOnlyProperty(bool, FragmentProgramSupported); + WriteOnlyProperty(unsigned int, upGLExtenions); END_REFLECTOR STD_MAP_REFLECTOR(std::map< GLenum COMMA osg::Matrix >); diff --git a/src/osgWrappers/osg/Multisample.cpp b/src/osgWrappers/osg/Multisample.cpp index 609a23823..6faa6b50d 100644 --- a/src/osgWrappers/osg/Multisample.cpp +++ b/src/osgWrappers/osg/Multisample.cpp @@ -48,10 +48,10 @@ END_REFLECTOR BEGIN_OBJECT_REFLECTOR(osg::Multisample::Extensions) BaseType(osg::Referenced); - Constructor0(); + Constructor1(IN, unsigned int, contextID); Constructor1(IN, const osg::Multisample::Extensions &, rhs); Method1(void, lowestCommonDenominator, IN, const osg::Multisample::Extensions &, rhs); - Method0(void, setupGLExtenions); + Method1(void, setupGLExtenions, IN, unsigned int, contextID); Method1(void, setMultisampleSupported, IN, bool, flag); Method1(void, setMultisampleFilterHintSupported, IN, bool, flag); Method0(bool, isMultisampleSupported); @@ -61,5 +61,6 @@ BEGIN_OBJECT_REFLECTOR(osg::Multisample::Extensions) WriteOnlyProperty(bool, MultisampleFilterHintSupported); WriteOnlyProperty(bool, MultisampleSupported); WriteOnlyProperty(void *, SampleCoverageProc); + WriteOnlyProperty(unsigned int, upGLExtenions); END_REFLECTOR diff --git a/src/osgWrappers/osg/Point.cpp b/src/osgWrappers/osg/Point.cpp index 4b38ffffa..2914015c6 100644 --- a/src/osgWrappers/osg/Point.cpp +++ b/src/osgWrappers/osg/Point.cpp @@ -49,14 +49,15 @@ END_REFLECTOR BEGIN_OBJECT_REFLECTOR(osg::Point::Extensions) BaseType(osg::Referenced); - Constructor0(); + Constructor1(IN, unsigned int, contextID); Constructor1(IN, const osg::Point::Extensions &, rhs); Method1(void, lowestCommonDenominator, IN, const osg::Point::Extensions &, rhs); - Method0(void, setupGLExtenions); + Method1(void, setupGLExtenions, IN, unsigned int, contextID); Method1(void, setPointParametersSupported, IN, bool, flag); Method0(bool, isPointParametersSupported); Method2(void, glPointParameterf, IN, GLenum, pname, IN, GLfloat, param); Method2(void, glPointParameterfv, IN, GLenum, pname, IN, const GLfloat *, params); WriteOnlyProperty(bool, PointParametersSupported); + WriteOnlyProperty(unsigned int, upGLExtenions); END_REFLECTOR diff --git a/src/osgWrappers/osg/Program.cpp b/src/osgWrappers/osg/Program.cpp index 91222c5d3..8a9e58eab 100644 --- a/src/osgWrappers/osg/Program.cpp +++ b/src/osgWrappers/osg/Program.cpp @@ -19,10 +19,10 @@ BEGIN_OBJECT_REFLECTOR(osg::GL2Extensions) BaseType(osg::Referenced); - Constructor0(); + Constructor1(IN, unsigned int, contextID); Constructor1(IN, const osg::GL2Extensions &, rhs); Method1(void, lowestCommonDenominator, IN, const osg::GL2Extensions &, rhs); - Method0(void, setupGL2Extensions); + Method1(void, setupGL2Extensions, IN, unsigned int, contextID); Method0(bool, isGlslSupported); Method0(float, getGlVersion); Method0(float, getLanguageVersion); @@ -138,6 +138,7 @@ BEGIN_OBJECT_REFLECTOR(osg::GL2Extensions) ReadOnlyProperty(float, LanguageVersion); WriteOnlyProperty(bool, ShaderObjectsSupported); WriteOnlyProperty(bool, VertexShaderSupported); + WriteOnlyProperty(unsigned int, upGL2Extensions); END_REFLECTOR TYPE_NAME_ALIAS(std::map< std::string COMMA GLuint >, osg::Program::AttribBindingList); diff --git a/src/osgWrappers/osg/Texture.cpp b/src/osgWrappers/osg/Texture.cpp index 262b9f004..de247d5bd 100644 --- a/src/osgWrappers/osg/Texture.cpp +++ b/src/osgWrappers/osg/Texture.cpp @@ -143,10 +143,10 @@ END_REFLECTOR BEGIN_OBJECT_REFLECTOR(osg::Texture::Extensions) BaseType(osg::Referenced); - Constructor0(); + Constructor1(IN, unsigned int, contextID); Constructor1(IN, const osg::Texture::Extensions &, rhs); Method1(void, lowestCommonDenominator, IN, const osg::Texture::Extensions &, rhs); - Method0(void, setupGLExtensions); + Method1(void, setupGLExtensions, IN, unsigned int, contextID); Method1(void, setMultiTexturingSupported, IN, bool, flag); Method0(bool, isMultiTexturingSupported); Method1(void, setTextureFilterAnisotropicSupported, IN, bool, flag); @@ -194,6 +194,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture::Extensions) WriteOnlyProperty(bool, TextureEdgeClampSupported); WriteOnlyProperty(bool, TextureFilterAnisotropicSupported); WriteOnlyProperty(bool, TextureMirroredRepeatSupported); + WriteOnlyProperty(unsigned int, upGLExtensions); END_REFLECTOR BEGIN_VALUE_REFLECTOR(osg::Texture::TextureObject) diff --git a/src/osgWrappers/osg/Texture3D.cpp b/src/osgWrappers/osg/Texture3D.cpp index e5ccd2182..d309402b9 100644 --- a/src/osgWrappers/osg/Texture3D.cpp +++ b/src/osgWrappers/osg/Texture3D.cpp @@ -53,10 +53,10 @@ END_REFLECTOR BEGIN_OBJECT_REFLECTOR(osg::Texture3D::Extensions) BaseType(osg::Referenced); - Constructor0(); + Constructor1(IN, unsigned int, contextID); Constructor1(IN, const osg::Texture3D::Extensions &, rhs); Method1(void, lowestCommonDenominator, IN, const osg::Texture3D::Extensions &, rhs); - Method0(void, setupGLExtenions); + Method1(void, setupGLExtenions, IN, unsigned int, contextID); Method1(void, setTexture3DSupported, IN, bool, flag); Method0(bool, isTexture3DSupported); Method1(void, setTexture3DFast, IN, bool, flag); @@ -86,6 +86,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture3D::Extensions) WriteOnlyProperty(void *, TexSubImage3DProc); WriteOnlyProperty(bool, Texture3DFast); WriteOnlyProperty(bool, Texture3DSupported); + WriteOnlyProperty(unsigned int, upGLExtenions); END_REFLECTOR BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture3D::SubloadCallback) diff --git a/src/osgWrappers/osg/TextureCubeMap.cpp b/src/osgWrappers/osg/TextureCubeMap.cpp index ff79e65cf..ceab0395f 100644 --- a/src/osgWrappers/osg/TextureCubeMap.cpp +++ b/src/osgWrappers/osg/TextureCubeMap.cpp @@ -58,13 +58,14 @@ END_REFLECTOR BEGIN_OBJECT_REFLECTOR(osg::TextureCubeMap::Extensions) BaseType(osg::Referenced); - Constructor0(); + Constructor1(IN, unsigned int, contextID); Constructor1(IN, const osg::TextureCubeMap::Extensions &, rhs); Method1(void, lowestCommonDenominator, IN, const osg::TextureCubeMap::Extensions &, rhs); - Method0(void, setupGLExtenions); + Method1(void, setupGLExtenions, IN, unsigned int, contextID); Method1(void, setCubeMapSupported, IN, bool, flag); Method0(bool, isCubeMapSupported); WriteOnlyProperty(bool, CubeMapSupported); + WriteOnlyProperty(unsigned int, upGLExtenions); END_REFLECTOR BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::TextureCubeMap::SubloadCallback) diff --git a/src/osgWrappers/osg/VertexProgram.cpp b/src/osgWrappers/osg/VertexProgram.cpp index e141a4bd4..c41157c67 100644 --- a/src/osgWrappers/osg/VertexProgram.cpp +++ b/src/osgWrappers/osg/VertexProgram.cpp @@ -57,10 +57,10 @@ END_REFLECTOR BEGIN_OBJECT_REFLECTOR(osg::VertexProgram::Extensions) BaseType(osg::Referenced); - Constructor0(); + Constructor1(IN, unsigned int, contextID); Constructor1(IN, const osg::VertexProgram::Extensions &, rhs); Method1(void, lowestCommonDenominator, IN, const osg::VertexProgram::Extensions &, rhs); - Method0(void, setupGLExtenions); + Method1(void, setupGLExtenions, IN, unsigned int, contextID); Method1(void, setVertexProgramSupported, IN, bool, flag); Method0(bool, isVertexProgramSupported); Method2(void, glBindProgram, IN, GLenum, target, IN, GLuint, id); @@ -69,5 +69,6 @@ BEGIN_OBJECT_REFLECTOR(osg::VertexProgram::Extensions) Method4(void, glProgramString, IN, GLenum, target, IN, GLenum, format, IN, GLsizei, len, IN, const void *, string); Method3(void, glProgramLocalParameter4fv, IN, GLenum, target, IN, GLuint, index, IN, const GLfloat *, params); WriteOnlyProperty(bool, VertexProgramSupported); + WriteOnlyProperty(unsigned int, upGLExtenions); END_REFLECTOR