diff --git a/Source/Bind/Generator.Bind.csproj b/Source/Bind/Generator.Bind.csproj index b15be63f..6e3763c4 100644 --- a/Source/Bind/Generator.Bind.csproj +++ b/Source/Bind/Generator.Bind.csproj @@ -199,15 +199,6 @@ Code - - Code - - - Code - - - Code - OpenTK.snk diff --git a/Source/Bind/Glu/Generator.cs b/Source/Bind/Glu/Generator.cs deleted file mode 100644 index 2807ab4a..00000000 --- a/Source/Bind/Glu/Generator.cs +++ /dev/null @@ -1,71 +0,0 @@ -#region --- License --- -/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos - * See license.txt for license info - */ -#endregion - -using System; -using System.Diagnostics; -using Bind.Structures; - -namespace Bind.Glu -{ - class Generator : GL2.Generator - { - string enumSpecAux = null;// = "GL2\\enum.spec"; - - #region --- Constructors --- - - public Generator() - : base() - { - glTypemap = "Glu\\glu.tm"; - csTypemap = "csharp.tm"; - enumSpec = "Glu\\enumglu.spec"; - enumSpecExt = ""; - glSpec = "Glu\\glu.spec"; - glSpecExt = ""; - - importsFile = "GluCore.cs"; - delegatesFile = "GluDelegates.cs"; - enumsFile = "GluEnums.cs"; - wrappersFile = "Glu.cs"; - - Settings.OutputClass = "Glu"; - Settings.FunctionPrefix = "glu"; - Settings.ConstantPrefix = "GLU_"; - - if (Settings.Compatibility == Settings.Legacy.Tao) - { - Settings.OutputNamespace = "Tao.OpenGl"; - //Settings.WindowsGDI = "Tao.Platform.Windows.Gdi"; - } - else - { - //Settings.OutputNamespace = "OpenTK.Graphics.OpenGL"; - } - - Settings.CompleteEnumName = "AllGlu"; - } - - #endregion - - public override void Process() - { - throw new NotSupportedException(); - //Type.Initialize(glTypemap, csTypemap); - //Enum.Initialize(enumSpec, enumSpecExt, enumSpecAux); - //Function.Initialize(); - //Delegate.Initialize(glSpec, glSpecExt); - - //// Process enums and delegates - create wrappers. - //Trace.WriteLine("Processing specs, please wait..."); - ////this.Translate(); - - //WriteBindings( - // Delegate.Delegates, - // Function.Wrappers, - // Enum.GLEnums); - } - } -} diff --git a/Source/Bind/Glx/Generator.cs b/Source/Bind/Glx/Generator.cs deleted file mode 100644 index 08eb9f90..00000000 --- a/Source/Bind/Glx/Generator.cs +++ /dev/null @@ -1,68 +0,0 @@ -#region --- License --- -/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos - * See license.txt for license info - */ -#endregion - -using System; -using System.Diagnostics; -using Bind.Structures; - -namespace Bind.Glx -{ - class Generator : GL2.Generator - { - #region --- Constructors --- - - public Generator() - : base() - { - glTypemap = "Glx\\glx.tm"; - csTypemap = "csharp.tm"; - enumSpec = "Glx\\glxenum.spec"; - enumSpecExt = "Glx\\glxenumext.spec"; - glSpec = "Glx\\glx.spec"; - glSpecExt = "Glx\\glxext.spec"; - - importsFile = "GlxCore.cs"; - delegatesFile = "GlxDelegates.cs"; - enumsFile = "GlxEnums.cs"; - wrappersFile = "Glx.cs"; - - Settings.OutputClass = "Glx"; - Settings.FunctionPrefix = "glX"; - Settings.ConstantPrefix = "GLX_"; - - - if (Settings.Compatibility == Settings.Legacy.Tao) - { - Settings.OutputNamespace = "Tao.Platform.Glx"; - //Settings.WindowsGDI = "Tao.Platform.Windows.Gdi"; - } - else - { - Settings.OutputNamespace = "OpenTK.Platform.X11"; - } - } - - #endregion - - public override void Process() - { - throw new NotSupportedException(); - //Type.Initialize(glTypemap, csTypemap); - //Enum.Initialize(enumSpec, enumSpecExt); - //Function.Initialize(); - //Delegate.Initialize(glSpec, glSpecExt); - - //// Process enums and delegates - create wrappers. - //Trace.WriteLine("Processing specs, please wait..."); - ////this.Translate(); - - //WriteBindings( - // Delegate.Delegates, - // Function.Wrappers, - // Enum.GLEnums); - } - } -} diff --git a/Source/Bind/Main.cs b/Source/Bind/Main.cs index d8f5a178..46ffce15 100644 --- a/Source/Bind/Main.cs +++ b/Source/Bind/Main.cs @@ -25,9 +25,6 @@ namespace Bind ES11, ES20, CL10, - [Obsolete] Wgl, - [Obsolete] Glx, - [Obsolete] Glu, } static class MainClass @@ -157,18 +154,6 @@ namespace Bind Generator = new CLGenerator("CL10", dirName); break; - case GeneratorMode.Wgl: - Generator = new Wgl.Generator(); - break; - - case GeneratorMode.Glu: - Generator = new Glu.Generator(); - break; - - case GeneratorMode.Glx: - Generator = new Glx.Generator(); - break; - case GeneratorMode.GL3: throw new NotImplementedException(String.Format("Mode {0} not implemented.", mode)); diff --git a/Source/Bind/Wgl/Generator.cs b/Source/Bind/Wgl/Generator.cs deleted file mode 100644 index 56f5e7ea..00000000 --- a/Source/Bind/Wgl/Generator.cs +++ /dev/null @@ -1,67 +0,0 @@ -#region --- License --- -/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos - * See license.txt for license info - */ -#endregion - -using System; -using System.Diagnostics; -using Bind.Structures; - -namespace Bind.Wgl -{ - class Generator : GL2.Generator - { - #region --- Constructors --- - - public Generator() - : base() - { - glTypemap = "Wgl/wgl.tm"; - csTypemap = "csharp.tm"; - enumSpec = "Wgl/wglenum.spec"; - enumSpecExt = "Wgl/wglenumext.spec"; - glSpec = "Wgl/wgl.spec"; - glSpecExt = "Wgl/wglext.spec"; - - importsFile = "WglCore.cs"; - delegatesFile = "WglDelegates.cs"; - enumsFile = "WglEnums.cs"; - wrappersFile = "Wgl.cs"; - - Settings.OutputClass = "Wgl"; - Settings.FunctionPrefix = "wgl"; - Settings.ConstantPrefix = "WGL_"; - - if (Settings.Compatibility == Settings.Legacy.Tao) - { - Settings.OutputNamespace = "Tao.Platform.Windows"; - Settings.WindowsGDI = "Tao.Platform.Windows.Gdi"; - } - else - { - Settings.OutputNamespace = "OpenTK.Platform.Windows"; - } - } - - #endregion - - public override void Process() - { - throw new NotSupportedException(); - //Type.Initialize(glTypemap, csTypemap); - //Enum.Initialize(enumSpec, enumSpecExt); - //Function.Initialize(); - //Delegate.Initialize(glSpec, glSpecExt); - - //// Process enums and delegates - create wrappers. - //Trace.WriteLine("Processing specs, please wait..."); - ////this.Translate(); - - //WriteBindings( - // Delegate.Delegates, - // Function.Wrappers, - // Enum.GLEnums); - } - } -}