From Julien Valentin and Alberto Luaces, added support for transform feedback extensions
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14728 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
parent
63acee9ee3
commit
77f662f9f7
@ -315,6 +315,8 @@ class OSG_EXPORT GLExtensions : public osg::Referenced
|
||||
bool isBufferObjectSupported;
|
||||
bool isPBOSupported;
|
||||
bool isTBOSupported;
|
||||
bool isVAOSupported;
|
||||
bool isTransformFeedbackSupported;
|
||||
|
||||
void (GL_APIENTRY * glGenBuffers) (GLsizei n, GLuint *buffers);
|
||||
void (GL_APIENTRY * glBindBuffer) (GLenum target, GLuint buffer);
|
||||
|
@ -680,7 +680,8 @@ GLExtensions::GLExtensions(unsigned int contextID)
|
||||
isPBOSupported = OSG_GL3_FEATURES || osg::isGLExtensionSupported(contextID,"GL_ARB_pixel_buffer_object");
|
||||
isUniformBufferObjectSupported = osg::isGLExtensionSupported(contextID, "GL_ARB_uniform_buffer_object");
|
||||
isTBOSupported = osg::isGLExtensionSupported(contextID,"GL_ARB_texture_buffer_object");
|
||||
|
||||
isVAOSupported = osg::isGLExtensionSupported(contextID, "GL_ARB_vertex_array_object");
|
||||
isTransformFeedbackSupported = osg::isGLExtensionSupported(contextID, "GL_ARB_transform_feedback2");
|
||||
|
||||
// BlendFunc extensions
|
||||
isBlendFuncSeparateSupported = OSG_GLES2_FEATURES || OSG_GL3_FEATURES ||
|
||||
|
Loading…
Reference in New Issue
Block a user