0023428: Extend OpenGl_Context to use Geometry Shaders extension
authorosa <osa@opencascade.com>
Fri, 5 Oct 2012 09:28:57 +0000 (13:28 +0400)
committerosa <osa@opencascade.com>
Fri, 5 Oct 2012 09:34:02 +0000 (13:34 +0400)
src/OpenGl/FILES
src/OpenGl/OpenGl_ExtGS.hxx [new file with mode: 0644]

index 1c197cc..57cc492 100755 (executable)
@@ -107,6 +107,7 @@ OpenGl_ArbIns.hxx
 OpenGl_ArbTBO.hxx
 OpenGl_ArbVBO.hxx
 OpenGl_ExtFBO.hxx
+OpenGl_ExtGS.hxx
 glext.h
 OpenGl_GlCore11.hxx
 OpenGl_GlCore12.hxx
diff --git a/src/OpenGl/OpenGl_ExtGS.hxx b/src/OpenGl/OpenGl_ExtGS.hxx
new file mode 100644 (file)
index 0000000..da6be34
--- /dev/null
@@ -0,0 +1,31 @@
+// Created on: 2012-09-26
+// Created by: Olga SURYANINOVA
+// Copyright (c) 2012 OPEN CASCADE SAS
+//
+// The content of this file is subject to the Open CASCADE Technology Public
+// License Version 6.5 (the "License"). You may not use the content of this file
+// except in compliance with the License. Please obtain a copy of the License
+// at http://www.opencascade.org and read it completely before using this file.
+//
+// The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
+// main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
+//
+// The Original Code and all software distributed under the License is
+// distributed on an "AS IS" basis, without warranty of any kind, and the
+// Initial Developer hereby disclaims all such warranties, including without
+// limitation, any warranties of merchantability, fitness for a particular
+// purpose or non-infringement. Please see the License for the specific terms
+// and conditions governing the rights and limitations under the License.
+
+#ifndef _OpenGl_ExtGS_H__
+#define _OpenGl_ExtGS_H__
+
+#include <OpenGl_GlCore12.hxx>
+
+//! Geometry shader as extension is available on OpenGL 2.0+
+struct OpenGl_ExtGS
+{
+  PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT;
+};
+
+#endif // _OpenGl_ExtGS_H__