Removed obsolete Wgl, Glx and Glu generators.

This commit is contained in:
the_fiddler 2010-10-13 23:30:21 +00:00
parent 794a146df8
commit 20dbff2b88
5 changed files with 0 additions and 230 deletions

View file

@ -199,15 +199,6 @@
<Compile Include="ES\ESGenerator.cs"> <Compile Include="ES\ESGenerator.cs">
<SubType>Code</SubType> <SubType>Code</SubType>
</Compile> </Compile>
<Compile Include="Glx\Generator.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Glu\Generator.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Wgl\Generator.cs">
<SubType>Code</SubType>
</Compile>
<None Include="..\..\OpenTK.snk"> <None Include="..\..\OpenTK.snk">
<Link>OpenTK.snk</Link> <Link>OpenTK.snk</Link>
</None> </None>

View file

@ -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);
}
}
}

View file

@ -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);
}
}
}

View file

@ -25,9 +25,6 @@ namespace Bind
ES11, ES11,
ES20, ES20,
CL10, CL10,
[Obsolete] Wgl,
[Obsolete] Glx,
[Obsolete] Glu,
} }
static class MainClass static class MainClass
@ -157,18 +154,6 @@ namespace Bind
Generator = new CLGenerator("CL10", dirName); Generator = new CLGenerator("CL10", dirName);
break; 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: case GeneratorMode.GL3:
throw new NotImplementedException(String.Format("Mode {0} not implemented.", mode)); throw new NotImplementedException(String.Format("Mode {0} not implemented.", mode));

View file

@ -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);
}
}
}