2009-09-03 21:01:11 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.IO;
|
|
|
|
|
using System.Xml.XPath;
|
|
|
|
|
using Bind.GL2;
|
|
|
|
|
using Bind.Structures;
|
|
|
|
|
using Delegate=Bind.Structures.Delegate;
|
|
|
|
|
using Enum=Bind.Structures.Enum;
|
|
|
|
|
|
|
|
|
|
namespace Bind.CL
|
|
|
|
|
{
|
2009-10-09 07:25:53 +02:00
|
|
|
|
class CLGenerator : ES.ESGenerator
|
2009-09-03 21:01:11 +02:00
|
|
|
|
{
|
2009-10-09 07:25:53 +02:00
|
|
|
|
public CLGenerator(string name, string dirname)
|
|
|
|
|
: base(name, dirname)
|
2009-09-03 21:01:11 +02:00
|
|
|
|
{
|
|
|
|
|
glTypemap = null;
|
|
|
|
|
|
2010-12-04 22:51:40 +01:00
|
|
|
|
Settings.WrappersFile = "CL.cs";
|
2009-09-03 21:01:11 +02:00
|
|
|
|
|
|
|
|
|
Settings.FunctionPrefix = "cl";
|
|
|
|
|
Settings.ConstantPrefix = "CL_";
|
|
|
|
|
Settings.EnumPrefix = "Cl";
|
|
|
|
|
|
|
|
|
|
Settings.OutputClass = "CL";
|
|
|
|
|
Settings.OutputNamespace = "OpenTK.Compute." + name;
|
|
|
|
|
|
|
|
|
|
//Settings.Compatibility &= ~Settings.Legacy.TurnVoidPointersToIntPtr;
|
|
|
|
|
Settings.Compatibility |= Settings.Legacy.NoDebugHelpers;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|