mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 02:05:29 +00:00
Added OpenGL ES generator.
This commit is contained in:
parent
ebfb2d99c3
commit
5a988ca832
|
@ -31,7 +31,7 @@ namespace Bind.GL2
|
|||
protected static string enumsFile = "GLEnums.cs";
|
||||
protected static string wrappersFile = "GL.cs";
|
||||
|
||||
protected static readonly string functionOverridesFile = "GL2/gloverrides.xml";
|
||||
protected static string functionOverridesFile = "GL2/gloverrides.xml";
|
||||
|
||||
protected static string loadAllFuncName = "LoadAll";
|
||||
|
||||
|
@ -39,10 +39,6 @@ namespace Bind.GL2
|
|||
|
||||
protected static readonly char[] numbers = "0123456789".ToCharArray();
|
||||
//protected static readonly Dictionary<string, string> doc_replacements;
|
||||
|
||||
DocProcessor doc_processor = new DocProcessor(Path.Combine(Settings.DocPath, Settings.DocFile));
|
||||
XPathDocument function_overrides = new XPathDocument(Path.Combine(Settings.InputPath, functionOverridesFile));
|
||||
|
||||
#endregion
|
||||
|
||||
#region --- Constructors ---
|
||||
|
@ -103,9 +99,10 @@ namespace Bind.GL2
|
|||
{
|
||||
Console.WriteLine("Reading function specs.");
|
||||
|
||||
//List<Bind.Structures.Delegate> delegates = new List<Bind.Structures.Delegate>();
|
||||
DelegateCollection delegates = new DelegateCollection();
|
||||
|
||||
XPathDocument function_overrides = new XPathDocument(Path.Combine(Settings.InputPath, functionOverridesFile));
|
||||
|
||||
do
|
||||
{
|
||||
string line = NextValidLine(specFile);
|
||||
|
@ -699,7 +696,10 @@ namespace Bind.GL2
|
|||
path = Path.Combine(Settings.DocPath, "gl" + f.TrimmedName.TrimEnd(numbers) + ".xml");
|
||||
|
||||
if (File.Exists(path))
|
||||
{
|
||||
DocProcessor doc_processor = new DocProcessor(Path.Combine(Settings.DocPath, Settings.DocFile));
|
||||
sw.WriteLine(doc_processor.ProcessFile(path));
|
||||
}
|
||||
}
|
||||
catch (FileNotFoundException)
|
||||
{ }
|
||||
|
|
|
@ -21,6 +21,9 @@ namespace Bind
|
|||
Unknown,
|
||||
GL2,
|
||||
GL3,
|
||||
GLES10,
|
||||
GLES11,
|
||||
GLES20,
|
||||
Wgl,
|
||||
Glx,
|
||||
Glu,
|
||||
|
@ -70,8 +73,14 @@ namespace Bind
|
|||
break;
|
||||
case "mode":
|
||||
string arg = b[1].ToLower();
|
||||
if (arg.StartsWith("gl"))
|
||||
if (arg == "gl" || arg == "gl2")
|
||||
mode = GeneratorMode.GL2;
|
||||
else if (arg == "gles10")
|
||||
mode = GeneratorMode.GLES10;
|
||||
else if (arg == "gles11")
|
||||
mode = GeneratorMode.GLES11;
|
||||
else if (arg == "gles20")
|
||||
mode = GeneratorMode.GLES20;
|
||||
else
|
||||
throw new NotImplementedException();
|
||||
break;
|
||||
|
@ -124,6 +133,18 @@ namespace Bind
|
|||
Generator = new Bind.GL2.Generator();
|
||||
break;
|
||||
|
||||
case GeneratorMode.GLES10:
|
||||
Generator = new Bind.GLES.GlesGenerator("GLES10");
|
||||
break;
|
||||
|
||||
case GeneratorMode.GLES11:
|
||||
Generator = new Bind.GLES.GlesGenerator("GLES11");
|
||||
break;
|
||||
|
||||
case GeneratorMode.GLES20:
|
||||
Generator = new Bind.GLES.GlesGenerator("GLES20");
|
||||
break;
|
||||
|
||||
case GeneratorMode.Wgl:
|
||||
Generator = new Bind.Wgl.Generator();
|
||||
break;
|
||||
|
|
|
@ -15,10 +15,10 @@ namespace Bind
|
|||
// Disable BeforeFieldInit.
|
||||
static Settings() { }
|
||||
|
||||
public const string DefaultInputPath = "../../../Source/Bind/Specifications";
|
||||
public const string DefaultOutputPath = "../../../Source/OpenTK/Graphics/GL";
|
||||
public const string DefaultInputPath = "../../Source/Bind/Specifications";
|
||||
public const string DefaultOutputPath = "../../Source/OpenTK/Graphics/GL";
|
||||
public const string DefaultOutputNamespace = "OpenTK.Graphics";
|
||||
public const string DefaultDocPath = "../../../Source/Bind/Specifications/Docs";
|
||||
public const string DefaultDocPath = "../../Source/Bind/Specifications/Docs";
|
||||
public const string DefaultDocFile = "ToInlineDocs.xslt";
|
||||
public const string DefaultLicenseFile = "License.txt";
|
||||
|
||||
|
|
|
@ -1,76 +1,76 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<functions>
|
||||
<function name="ActiveTexture" extension="Core" version="1.0" category="">
|
||||
<function name="ActiveTexture" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="texture" />
|
||||
</function><function name="AlphaFunc" extension="Core" version="1.0" category="">
|
||||
</function><function name="AlphaFunc" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="func" />
|
||||
<param type="GLclampf" name="ref" />
|
||||
</function><function name="AlphaFuncx" extension="Core" version="1.0" category="">
|
||||
</function><function name="AlphaFuncx" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="func" />
|
||||
<param type="GLclampx" name="ref" />
|
||||
</function><function name="BindTexture" extension="Core" version="1.0" category="">
|
||||
</function><function name="BindTexture" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLuint" name="texture" />
|
||||
</function><function name="BlendFunc" extension="Core" version="1.0" category="">
|
||||
</function><function name="BlendFunc" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="sfactor" />
|
||||
<param type="GLenum" name="dfactor" />
|
||||
</function><function name="Clear" extension="Core" version="1.0" category="">
|
||||
</function><function name="Clear" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLbitfield" name="mask" />
|
||||
</function><function name="ClearColor" extension="Core" version="1.0" category="">
|
||||
</function><function name="ClearColor" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLclampf" name="red" />
|
||||
<param type="GLclampf" name="green" />
|
||||
<param type="GLclampf" name="blue" />
|
||||
<param type="GLclampf" name="alpha" />
|
||||
</function><function name="ClearColorx" extension="Core" version="1.0" category="">
|
||||
</function><function name="ClearColorx" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLclampx" name="red" />
|
||||
<param type="GLclampx" name="green" />
|
||||
<param type="GLclampx" name="blue" />
|
||||
<param type="GLclampx" name="alpha" />
|
||||
</function><function name="ClearDepthf" extension="Core" version="1.0" category="">
|
||||
</function><function name="ClearDepthf" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLclampf" name="depth" />
|
||||
</function><function name="ClearDepthx" extension="Core" version="1.0" category="">
|
||||
</function><function name="ClearDepthx" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLclampx" name="depth" />
|
||||
</function><function name="ClearStencil" extension="Core" version="1.0" category="">
|
||||
</function><function name="ClearStencil" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="s" />
|
||||
</function><function name="ClientActiveTexture" extension="Core" version="1.0" category="">
|
||||
</function><function name="ClientActiveTexture" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="texture" />
|
||||
</function><function name="Color4f" extension="Core" version="1.0" category="">
|
||||
</function><function name="Color4f" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfloat" name="red" />
|
||||
<param type="GLfloat" name="green" />
|
||||
<param type="GLfloat" name="blue" />
|
||||
<param type="GLfloat" name="alpha" />
|
||||
</function><function name="Color4x" extension="Core" version="1.0" category="">
|
||||
</function><function name="Color4x" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfixed" name="red" />
|
||||
<param type="GLfixed" name="green" />
|
||||
<param type="GLfixed" name="blue" />
|
||||
<param type="GLfixed" name="alpha" />
|
||||
</function><function name="ColorMask" extension="Core" version="1.0" category="">
|
||||
</function><function name="ColorMask" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLboolean" name="red" />
|
||||
<param type="GLboolean" name="green" />
|
||||
<param type="GLboolean" name="blue" />
|
||||
<param type="GLboolean" name="alpha" />
|
||||
</function><function name="ColorPointer" extension="Core" version="1.0" category="">
|
||||
</function><function name="ColorPointer" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="size" />
|
||||
<param type="GLenum" name="type" />
|
||||
<param type="GLsizei" name="stride" />
|
||||
<param type="GLvoid" name="*pointer" />
|
||||
</function><function name="CompressedTexImage2D" extension="Core" version="1.0" category="">
|
||||
</function><function name="CompressedTexImage2D" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLint" name="level" />
|
||||
|
@ -80,7 +80,7 @@
|
|||
<param type="GLint" name="border" />
|
||||
<param type="GLsizei" name="imageSize" />
|
||||
<param type="GLvoid" name="*data" />
|
||||
</function><function name="CompressedTexSubImage2D" extension="Core" version="1.0" category="">
|
||||
</function><function name="CompressedTexSubImage2D" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLint" name="level" />
|
||||
|
@ -91,7 +91,7 @@
|
|||
<param type="GLenum" name="format" />
|
||||
<param type="GLsizei" name="imageSize" />
|
||||
<param type="GLvoid" name="*data" />
|
||||
</function><function name="CopyTexImage2D" extension="Core" version="1.0" category="">
|
||||
</function><function name="CopyTexImage2D" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLint" name="level" />
|
||||
|
@ -101,7 +101,7 @@
|
|||
<param type="GLsizei" name="width" />
|
||||
<param type="GLsizei" name="height" />
|
||||
<param type="GLint" name="border" />
|
||||
</function><function name="CopyTexSubImage2D" extension="Core" version="1.0" category="">
|
||||
</function><function name="CopyTexSubImage2D" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLint" name="level" />
|
||||
|
@ -111,74 +111,74 @@
|
|||
<param type="GLint" name="y" />
|
||||
<param type="GLsizei" name="width" />
|
||||
<param type="GLsizei" name="height" />
|
||||
</function><function name="CullFace" extension="Core" version="1.0" category="">
|
||||
</function><function name="CullFace" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="mode" />
|
||||
</function><function name="DeleteTextures" extension="Core" version="1.0" category="">
|
||||
</function><function name="DeleteTextures" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLsizei" name="n" />
|
||||
<param type="GLuint" name="*textures" />
|
||||
</function><function name="DepthFunc" extension="Core" version="1.0" category="">
|
||||
</function><function name="DepthFunc" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="func" />
|
||||
</function><function name="DepthMask" extension="Core" version="1.0" category="">
|
||||
</function><function name="DepthMask" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLboolean" name="flag" />
|
||||
</function><function name="DepthRangef" extension="Core" version="1.0" category="">
|
||||
</function><function name="DepthRangef" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLclampf" name="zNear" />
|
||||
<param type="GLclampf" name="zFar" />
|
||||
</function><function name="DepthRangex" extension="Core" version="1.0" category="">
|
||||
</function><function name="DepthRangex" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLclampx" name="zNear" />
|
||||
<param type="GLclampx" name="zFar" />
|
||||
</function><function name="Disable" extension="Core" version="1.0" category="">
|
||||
</function><function name="Disable" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="cap" />
|
||||
</function><function name="DisableClientState" extension="Core" version="1.0" category="">
|
||||
</function><function name="DisableClientState" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="array" />
|
||||
</function><function name="DrawArrays" extension="Core" version="1.0" category="">
|
||||
</function><function name="DrawArrays" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="mode" />
|
||||
<param type="GLint" name="first" />
|
||||
<param type="GLsizei" name="count" />
|
||||
</function><function name="DrawElements" extension="Core" version="1.0" category="">
|
||||
</function><function name="DrawElements" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="mode" />
|
||||
<param type="GLsizei" name="count" />
|
||||
<param type="GLenum" name="type" />
|
||||
<param type="GLvoid" name="*indices" />
|
||||
</function><function name="Enable" extension="Core" version="1.0" category="">
|
||||
</function><function name="Enable" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="cap" />
|
||||
</function><function name="EnableClientState" extension="Core" version="1.0" category="">
|
||||
</function><function name="EnableClientState" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="array" />
|
||||
</function><function name="Finish" extension="Core" version="1.0" category="">
|
||||
</function><function name="Finish" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
</function><function name="Flush" extension="Core" version="1.0" category="">
|
||||
</function><function name="Flush" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
</function><function name="Fogf" extension="Core" version="1.0" category="">
|
||||
</function><function name="Fogf" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfloat" name="param" />
|
||||
</function><function name="Fogfv" extension="Core" version="1.0" category="">
|
||||
</function><function name="Fogfv" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfloat" name="*params" />
|
||||
</function><function name="Fogx" extension="Core" version="1.0" category="">
|
||||
</function><function name="Fogx" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfixed" name="param" />
|
||||
</function><function name="Fogxv" extension="Core" version="1.0" category="">
|
||||
</function><function name="Fogxv" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfixed" name="*params" />
|
||||
</function><function name="FrontFace" extension="Core" version="1.0" category="">
|
||||
</function><function name="FrontFace" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="mode" />
|
||||
</function><function name="Frustumf" extension="Core" version="1.0" category="">
|
||||
</function><function name="Frustumf" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfloat" name="left" />
|
||||
<param type="GLfloat" name="right" />
|
||||
|
@ -186,7 +186,7 @@
|
|||
<param type="GLfloat" name="top" />
|
||||
<param type="GLfloat" name="zNear" />
|
||||
<param type="GLfloat" name="zFar" />
|
||||
</function><function name="Frustumx" extension="Core" version="1.0" category="">
|
||||
</function><function name="Frustumx" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfixed" name="left" />
|
||||
<param type="GLfixed" name="right" />
|
||||
|
@ -194,135 +194,135 @@
|
|||
<param type="GLfixed" name="top" />
|
||||
<param type="GLfixed" name="zNear" />
|
||||
<param type="GLfixed" name="zFar" />
|
||||
</function><function name="GenTextures" extension="Core" version="1.0" category="">
|
||||
</function><function name="GenTextures" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLsizei" name="n" />
|
||||
<param type="GLuint" name="*textures" />
|
||||
</function><function name="GetError" extension="Core" version="1.0" category="">
|
||||
</function><function name="GetError" extension="Core" version="1.0" category="Common">
|
||||
<returns type="GLenum" />
|
||||
</function><function name="GetIntegerv" extension="Core" version="1.0" category="">
|
||||
</function><function name="GetIntegerv" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLint" name="*params" />
|
||||
</function><function name="GetString" extension="Core" version="1.0" category="">
|
||||
</function><function name="GetString" extension="Core" version="1.0" category="Common">
|
||||
<returns type="GLubyte*" />
|
||||
<param type="GLenum" name="name" />
|
||||
</function><function name="Hint" extension="Core" version="1.0" category="">
|
||||
</function><function name="Hint" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLenum" name="mode" />
|
||||
</function><function name="LightModelf" extension="Core" version="1.0" category="">
|
||||
</function><function name="LightModelf" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfloat" name="param" />
|
||||
</function><function name="LightModelfv" extension="Core" version="1.0" category="">
|
||||
</function><function name="LightModelfv" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfloat" name="*params" />
|
||||
</function><function name="LightModelx" extension="Core" version="1.0" category="">
|
||||
</function><function name="LightModelx" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfixed" name="param" />
|
||||
</function><function name="LightModelxv" extension="Core" version="1.0" category="">
|
||||
</function><function name="LightModelxv" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfixed" name="*params" />
|
||||
</function><function name="Lightf" extension="Core" version="1.0" category="">
|
||||
</function><function name="Lightf" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="light" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfloat" name="param" />
|
||||
</function><function name="Lightfv" extension="Core" version="1.0" category="">
|
||||
</function><function name="Lightfv" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="light" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfloat" name="*params" />
|
||||
</function><function name="Lightx" extension="Core" version="1.0" category="">
|
||||
</function><function name="Lightx" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="light" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfixed" name="param" />
|
||||
</function><function name="Lightxv" extension="Core" version="1.0" category="">
|
||||
</function><function name="Lightxv" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="light" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfixed" name="*params" />
|
||||
</function><function name="LineWidth" extension="Core" version="1.0" category="">
|
||||
</function><function name="LineWidth" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfloat" name="width" />
|
||||
</function><function name="LineWidthx" extension="Core" version="1.0" category="">
|
||||
</function><function name="LineWidthx" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfixed" name="width" />
|
||||
</function><function name="LoadIdentity" extension="Core" version="1.0" category="">
|
||||
</function><function name="LoadIdentity" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
</function><function name="LoadMatrixf" extension="Core" version="1.0" category="">
|
||||
</function><function name="LoadMatrixf" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfloat" name="*m" />
|
||||
</function><function name="LoadMatrixx" extension="Core" version="1.0" category="">
|
||||
</function><function name="LoadMatrixx" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfixed" name="*m" />
|
||||
</function><function name="LogicOp" extension="Core" version="1.0" category="">
|
||||
</function><function name="LogicOp" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="opcode" />
|
||||
</function><function name="Materialf" extension="Core" version="1.0" category="">
|
||||
</function><function name="Materialf" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="face" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfloat" name="param" />
|
||||
</function><function name="Materialfv" extension="Core" version="1.0" category="">
|
||||
</function><function name="Materialfv" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="face" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfloat" name="*params" />
|
||||
</function><function name="Materialx" extension="Core" version="1.0" category="">
|
||||
</function><function name="Materialx" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="face" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfixed" name="param" />
|
||||
</function><function name="Materialxv" extension="Core" version="1.0" category="">
|
||||
</function><function name="Materialxv" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="face" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfixed" name="*params" />
|
||||
</function><function name="MatrixMode" extension="Core" version="1.0" category="">
|
||||
</function><function name="MatrixMode" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="mode" />
|
||||
</function><function name="MultMatrixf" extension="Core" version="1.0" category="">
|
||||
</function><function name="MultMatrixf" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfloat" name="*m" />
|
||||
</function><function name="MultMatrixx" extension="Core" version="1.0" category="">
|
||||
</function><function name="MultMatrixx" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfixed" name="*m" />
|
||||
</function><function name="MultiTexCoord4f" extension="Core" version="1.0" category="">
|
||||
</function><function name="MultiTexCoord4f" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLfloat" name="s" />
|
||||
<param type="GLfloat" name="t" />
|
||||
<param type="GLfloat" name="r" />
|
||||
<param type="GLfloat" name="q" />
|
||||
</function><function name="MultiTexCoord4x" extension="Core" version="1.0" category="">
|
||||
</function><function name="MultiTexCoord4x" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLfixed" name="s" />
|
||||
<param type="GLfixed" name="t" />
|
||||
<param type="GLfixed" name="r" />
|
||||
<param type="GLfixed" name="q" />
|
||||
</function><function name="Normal3f" extension="Core" version="1.0" category="">
|
||||
</function><function name="Normal3f" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfloat" name="nx" />
|
||||
<param type="GLfloat" name="ny" />
|
||||
<param type="GLfloat" name="nz" />
|
||||
</function><function name="Normal3x" extension="Core" version="1.0" category="">
|
||||
</function><function name="Normal3x" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfixed" name="nx" />
|
||||
<param type="GLfixed" name="ny" />
|
||||
<param type="GLfixed" name="nz" />
|
||||
</function><function name="NormalPointer" extension="Core" version="1.0" category="">
|
||||
</function><function name="NormalPointer" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="type" />
|
||||
<param type="GLsizei" name="stride" />
|
||||
<param type="GLvoid" name="*pointer" />
|
||||
</function><function name="Orthof" extension="Core" version="1.0" category="">
|
||||
</function><function name="Orthof" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfloat" name="left" />
|
||||
<param type="GLfloat" name="right" />
|
||||
|
@ -330,7 +330,7 @@
|
|||
<param type="GLfloat" name="top" />
|
||||
<param type="GLfloat" name="zNear" />
|
||||
<param type="GLfloat" name="zFar" />
|
||||
</function><function name="Orthox" extension="Core" version="1.0" category="">
|
||||
</function><function name="Orthox" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfixed" name="left" />
|
||||
<param type="GLfixed" name="right" />
|
||||
|
@ -338,29 +338,29 @@
|
|||
<param type="GLfixed" name="top" />
|
||||
<param type="GLfixed" name="zNear" />
|
||||
<param type="GLfixed" name="zFar" />
|
||||
</function><function name="PixelStorei" extension="Core" version="1.0" category="">
|
||||
</function><function name="PixelStorei" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLint" name="param" />
|
||||
</function><function name="PointSize" extension="Core" version="1.0" category="">
|
||||
</function><function name="PointSize" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfloat" name="size" />
|
||||
</function><function name="PointSizex" extension="Core" version="1.0" category="">
|
||||
</function><function name="PointSizex" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfixed" name="size" />
|
||||
</function><function name="PolygonOffset" extension="Core" version="1.0" category="">
|
||||
</function><function name="PolygonOffset" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfloat" name="factor" />
|
||||
<param type="GLfloat" name="units" />
|
||||
</function><function name="PolygonOffsetx" extension="Core" version="1.0" category="">
|
||||
</function><function name="PolygonOffsetx" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfixed" name="factor" />
|
||||
<param type="GLfixed" name="units" />
|
||||
</function><function name="PopMatrix" extension="Core" version="1.0" category="">
|
||||
</function><function name="PopMatrix" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
</function><function name="PushMatrix" extension="Core" version="1.0" category="">
|
||||
</function><function name="PushMatrix" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
</function><function name="ReadPixels" extension="Core" version="1.0" category="">
|
||||
</function><function name="ReadPixels" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="x" />
|
||||
<param type="GLint" name="y" />
|
||||
|
@ -369,85 +369,85 @@
|
|||
<param type="GLenum" name="format" />
|
||||
<param type="GLenum" name="type" />
|
||||
<param type="GLvoid" name="*pixels" />
|
||||
</function><function name="Rotatef" extension="Core" version="1.0" category="">
|
||||
</function><function name="Rotatef" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfloat" name="angle" />
|
||||
<param type="GLfloat" name="x" />
|
||||
<param type="GLfloat" name="y" />
|
||||
<param type="GLfloat" name="z" />
|
||||
</function><function name="Rotatex" extension="Core" version="1.0" category="">
|
||||
</function><function name="Rotatex" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfixed" name="angle" />
|
||||
<param type="GLfixed" name="x" />
|
||||
<param type="GLfixed" name="y" />
|
||||
<param type="GLfixed" name="z" />
|
||||
</function><function name="SampleCoverage" extension="Core" version="1.0" category="">
|
||||
</function><function name="SampleCoverage" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLclampf" name="value" />
|
||||
<param type="GLboolean" name="invert" />
|
||||
</function><function name="SampleCoveragex" extension="Core" version="1.0" category="">
|
||||
</function><function name="SampleCoveragex" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLclampx" name="value" />
|
||||
<param type="GLboolean" name="invert" />
|
||||
</function><function name="Scalef" extension="Core" version="1.0" category="">
|
||||
</function><function name="Scalef" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfloat" name="x" />
|
||||
<param type="GLfloat" name="y" />
|
||||
<param type="GLfloat" name="z" />
|
||||
</function><function name="Scalex" extension="Core" version="1.0" category="">
|
||||
</function><function name="Scalex" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfixed" name="x" />
|
||||
<param type="GLfixed" name="y" />
|
||||
<param type="GLfixed" name="z" />
|
||||
</function><function name="Scissor" extension="Core" version="1.0" category="">
|
||||
</function><function name="Scissor" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="x" />
|
||||
<param type="GLint" name="y" />
|
||||
<param type="GLsizei" name="width" />
|
||||
<param type="GLsizei" name="height" />
|
||||
</function><function name="ShadeModel" extension="Core" version="1.0" category="">
|
||||
</function><function name="ShadeModel" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="mode" />
|
||||
</function><function name="StencilFunc" extension="Core" version="1.0" category="">
|
||||
</function><function name="StencilFunc" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="func" />
|
||||
<param type="GLint" name="ref" />
|
||||
<param type="GLuint" name="mask" />
|
||||
</function><function name="StencilMask" extension="Core" version="1.0" category="">
|
||||
</function><function name="StencilMask" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="mask" />
|
||||
</function><function name="StencilOp" extension="Core" version="1.0" category="">
|
||||
</function><function name="StencilOp" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="fail" />
|
||||
<param type="GLenum" name="zfail" />
|
||||
<param type="GLenum" name="zpass" />
|
||||
</function><function name="TexCoordPointer" extension="Core" version="1.0" category="">
|
||||
</function><function name="TexCoordPointer" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="size" />
|
||||
<param type="GLenum" name="type" />
|
||||
<param type="GLsizei" name="stride" />
|
||||
<param type="GLvoid" name="*pointer" />
|
||||
</function><function name="TexEnvf" extension="Core" version="1.0" category="">
|
||||
</function><function name="TexEnvf" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfloat" name="param" />
|
||||
</function><function name="TexEnvfv" extension="Core" version="1.0" category="">
|
||||
</function><function name="TexEnvfv" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfloat" name="*params" />
|
||||
</function><function name="TexEnvx" extension="Core" version="1.0" category="">
|
||||
</function><function name="TexEnvx" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfixed" name="param" />
|
||||
</function><function name="TexEnvxv" extension="Core" version="1.0" category="">
|
||||
</function><function name="TexEnvxv" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfixed" name="*params" />
|
||||
</function><function name="TexImage2D" extension="Core" version="1.0" category="">
|
||||
</function><function name="TexImage2D" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLint" name="level" />
|
||||
|
@ -458,17 +458,17 @@
|
|||
<param type="GLenum" name="format" />
|
||||
<param type="GLenum" name="type" />
|
||||
<param type="GLvoid" name="*pixels" />
|
||||
</function><function name="TexParameterf" extension="Core" version="1.0" category="">
|
||||
</function><function name="TexParameterf" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfloat" name="param" />
|
||||
</function><function name="TexParameterx" extension="Core" version="1.0" category="">
|
||||
</function><function name="TexParameterx" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfixed" name="param" />
|
||||
</function><function name="TexSubImage2D" extension="Core" version="1.0" category="">
|
||||
</function><function name="TexSubImage2D" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLint" name="level" />
|
||||
|
@ -479,23 +479,23 @@
|
|||
<param type="GLenum" name="format" />
|
||||
<param type="GLenum" name="type" />
|
||||
<param type="GLvoid" name="*pixels" />
|
||||
</function><function name="Translatef" extension="Core" version="1.0" category="">
|
||||
</function><function name="Translatef" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfloat" name="x" />
|
||||
<param type="GLfloat" name="y" />
|
||||
<param type="GLfloat" name="z" />
|
||||
</function><function name="Translatex" extension="Core" version="1.0" category="">
|
||||
</function><function name="Translatex" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfixed" name="x" />
|
||||
<param type="GLfixed" name="y" />
|
||||
<param type="GLfixed" name="z" />
|
||||
</function><function name="VertexPointer" extension="Core" version="1.0" category="">
|
||||
</function><function name="VertexPointer" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="size" />
|
||||
<param type="GLenum" name="type" />
|
||||
<param type="GLsizei" name="stride" />
|
||||
<param type="GLvoid" name="*pointer" />
|
||||
</function><function name="Viewport" extension="Core" version="1.0" category="">
|
||||
</function><function name="Viewport" extension="Core" version="1.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="x" />
|
||||
<param type="GLint" name="y" />
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
<function name="GetClipPlanef" extension="Core" version="1.1" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfloat" name="eqn[4]" />
|
||||
<param type="GLfloat*" name="eqn" elementcount="4"/>
|
||||
</function>
|
||||
<function name="GetFloatv" extension="Core" version="1.1" category="Common">
|
||||
<returns type="void" />
|
||||
|
@ -456,7 +456,7 @@
|
|||
<function name="GetClipPlanex" extension="Core" version="1.1" category="Common, Lite">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfixed" name="eqn[4]" />
|
||||
<param type="GLfixed*" name="eqn" elementcount="4"/>
|
||||
</function>
|
||||
<function name="GenBuffers" extension="Core" version="1.1" category="Common, Lite">
|
||||
<returns type="void" />
|
||||
|
|
3
Source/Bind/Specifications/GLES11/overrides.xml
Normal file
3
Source/Bind/Specifications/GLES11/overrides.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<overrides>
|
||||
</overrides>
|
|
@ -1,117 +1,117 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<functions>
|
||||
<function name="ActiveTexture" extension="Core" version="2.0" category="">
|
||||
<function name="ActiveTexture" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="texture" />
|
||||
</function>
|
||||
<function name="AttachShader" extension="Core" version="2.0" category="">
|
||||
<function name="AttachShader" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="program" />
|
||||
<param type="GLuint" name="shader" />
|
||||
</function>
|
||||
<function name="BindAttribLocation" extension="Core" version="2.0" category="">
|
||||
<function name="BindAttribLocation" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="program" />
|
||||
<param type="GLuint" name="index" />
|
||||
<param type="char*" name="name" />
|
||||
</function>
|
||||
<function name="BindBuffer" extension="Core" version="2.0" category="">
|
||||
<function name="BindBuffer" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLuint" name="buffer" />
|
||||
</function>
|
||||
<function name="BindFramebuffer" extension="Core" version="2.0" category="">
|
||||
<function name="BindFramebuffer" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLuint" name="framebuffer" />
|
||||
</function>
|
||||
<function name="BindRenderbuffer" extension="Core" version="2.0" category="">
|
||||
<function name="BindRenderbuffer" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLuint" name="renderbuffer" />
|
||||
</function>
|
||||
<function name="BindTexture" extension="Core" version="2.0" category="">
|
||||
<function name="BindTexture" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLuint" name="texture" />
|
||||
</function>
|
||||
<function name="BlendColor" extension="Core" version="2.0" category="">
|
||||
<function name="BlendColor" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLclampf" name="red" />
|
||||
<param type="GLclampf" name="green" />
|
||||
<param type="GLclampf" name="blue" />
|
||||
<param type="GLclampf" name="alpha" />
|
||||
</function>
|
||||
<function name="BlendEquation" extension="Core" version="2.0" category="">
|
||||
<function name="BlendEquation" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="mode" />
|
||||
</function>
|
||||
<function name="BlendEquationSeparate" extension="Core" version="2.0" category="">
|
||||
<function name="BlendEquationSeparate" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="modeRGB" />
|
||||
<param type="GLenum" name="modeAlpha" />
|
||||
</function>
|
||||
<function name="BlendFunc" extension="Core" version="2.0" category="">
|
||||
<function name="BlendFunc" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="sfactor" />
|
||||
<param type="GLenum" name="dfactor" />
|
||||
</function>
|
||||
<function name="BlendFuncSeparate" extension="Core" version="2.0" category="">
|
||||
<function name="BlendFuncSeparate" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="srcRGB" />
|
||||
<param type="GLenum" name="dstRGB" />
|
||||
<param type="GLenum" name="srcAlpha" />
|
||||
<param type="GLenum" name="dstAlpha" />
|
||||
</function>
|
||||
<function name="BufferData" extension="Core" version="2.0" category="">
|
||||
<function name="BufferData" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLsizeiptr" name="size" />
|
||||
<param type="void*" name="data" />
|
||||
<param type="GLenum" name="usage" />
|
||||
</function>
|
||||
<function name="BufferSubData" extension="Core" version="2.0" category="">
|
||||
<function name="BufferSubData" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLintptr" name="offset" />
|
||||
<param type="GLsizeiptr" name="size" />
|
||||
<param type="void*" name="data" />
|
||||
</function>
|
||||
<function name="CheckFramebufferStatus" extension="Core" version="2.0" category="">
|
||||
<function name="CheckFramebufferStatus" extension="Core" version="2.0" category="Common">
|
||||
<returns type="GLenum" />
|
||||
<param type="GLenum" name="target" />
|
||||
</function>
|
||||
<function name="Clear" extension="Core" version="2.0" category="">
|
||||
<function name="Clear" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLbitfield" name="mask" />
|
||||
</function>
|
||||
<function name="ClearColor" extension="Core" version="2.0" category="">
|
||||
<function name="ClearColor" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLclampf" name="red" />
|
||||
<param type="GLclampf" name="green" />
|
||||
<param type="GLclampf" name="blue" />
|
||||
<param type="GLclampf" name="alpha" />
|
||||
</function>
|
||||
<function name="ClearDepthf" extension="Core" version="2.0" category="">
|
||||
<function name="ClearDepthf" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLclampf" name="depth" />
|
||||
</function>
|
||||
<function name="ClearStencil" extension="Core" version="2.0" category="">
|
||||
<function name="ClearStencil" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="s" />
|
||||
</function>
|
||||
<function name="ColorMask" extension="Core" version="2.0" category="">
|
||||
<function name="ColorMask" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLboolean" name="red" />
|
||||
<param type="GLboolean" name="green" />
|
||||
<param type="GLboolean" name="blue" />
|
||||
<param type="GLboolean" name="alpha" />
|
||||
</function>
|
||||
<function name="CompileShader" extension="Core" version="2.0" category="">
|
||||
<function name="CompileShader" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="shader" />
|
||||
</function>
|
||||
<function name="CompressedTexImage2D" extension="Core" version="2.0" category="">
|
||||
<function name="CompressedTexImage2D" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLint" name="level" />
|
||||
|
@ -122,7 +122,7 @@
|
|||
<param type="GLsizei" name="imageSize" />
|
||||
<param type="void*" name="data" />
|
||||
</function>
|
||||
<function name="CompressedTexSubImage2D" extension="Core" version="2.0" category="">
|
||||
<function name="CompressedTexSubImage2D" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLint" name="level" />
|
||||
|
@ -134,7 +134,7 @@
|
|||
<param type="GLsizei" name="imageSize" />
|
||||
<param type="void*" name="data" />
|
||||
</function>
|
||||
<function name="CopyTexImage2D" extension="Core" version="2.0" category="">
|
||||
<function name="CopyTexImage2D" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLint" name="level" />
|
||||
|
@ -145,7 +145,7 @@
|
|||
<param type="GLsizei" name="height" />
|
||||
<param type="GLint" name="border" />
|
||||
</function>
|
||||
<function name="CopyTexSubImage2D" extension="Core" version="2.0" category="">
|
||||
<function name="CopyTexSubImage2D" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLint" name="level" />
|
||||
|
@ -156,106 +156,106 @@
|
|||
<param type="GLsizei" name="width" />
|
||||
<param type="GLsizei" name="height" />
|
||||
</function>
|
||||
<function name="CreateProgram" extension="Core" version="2.0" category="">
|
||||
<function name="CreateProgram" extension="Core" version="2.0" category="Common">
|
||||
<returns type="GLuint" />
|
||||
</function>
|
||||
<function name="CreateShader" extension="Core" version="2.0" category="">
|
||||
<function name="CreateShader" extension="Core" version="2.0" category="Common">
|
||||
<returns type="GLuint" />
|
||||
<param type="GLenum" name="type" />
|
||||
</function>
|
||||
<function name="CullFace" extension="Core" version="2.0" category="">
|
||||
<function name="CullFace" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="mode" />
|
||||
</function>
|
||||
<function name="DeleteBuffers" extension="Core" version="2.0" category="">
|
||||
<function name="DeleteBuffers" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLsizei" name="n" />
|
||||
<param type="GLuint*" name="buffers" />
|
||||
</function>
|
||||
<function name="DeleteFramebuffers" extension="Core" version="2.0" category="">
|
||||
<function name="DeleteFramebuffers" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLsizei" name="n" />
|
||||
<param type="GLuint*" name="framebuffers" />
|
||||
</function>
|
||||
<function name="DeleteProgram" extension="Core" version="2.0" category="">
|
||||
<function name="DeleteProgram" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="program" />
|
||||
</function>
|
||||
<function name="DeleteRenderbuffers" extension="Core" version="2.0" category="">
|
||||
<function name="DeleteRenderbuffers" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLsizei" name="n" />
|
||||
<param type="GLuint*" name="renderbuffers" />
|
||||
</function>
|
||||
<function name="DeleteShader" extension="Core" version="2.0" category="">
|
||||
<function name="DeleteShader" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="shader" />
|
||||
</function>
|
||||
<function name="DeleteTextures" extension="Core" version="2.0" category="">
|
||||
<function name="DeleteTextures" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLsizei" name="n" />
|
||||
<param type="GLuint*" name="textures" />
|
||||
</function>
|
||||
<function name="DepthFunc" extension="Core" version="2.0" category="">
|
||||
<function name="DepthFunc" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="func" />
|
||||
</function>
|
||||
<function name="DepthMask" extension="Core" version="2.0" category="">
|
||||
<function name="DepthMask" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLboolean" name="flag" />
|
||||
</function>
|
||||
<function name="DepthRangef" extension="Core" version="2.0" category="">
|
||||
<function name="DepthRangef" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLclampf" name="zNear" />
|
||||
<param type="GLclampf" name="zFar" />
|
||||
</function>
|
||||
<function name="DetachShader" extension="Core" version="2.0" category="">
|
||||
<function name="DetachShader" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="program" />
|
||||
<param type="GLuint" name="shader" />
|
||||
</function>
|
||||
<function name="Disable" extension="Core" version="2.0" category="">
|
||||
<function name="Disable" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="cap" />
|
||||
</function>
|
||||
<function name="DisableVertexAttribArray" extension="Core" version="2.0" category="">
|
||||
<function name="DisableVertexAttribArray" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="index" />
|
||||
</function>
|
||||
<function name="DrawArrays" extension="Core" version="2.0" category="">
|
||||
<function name="DrawArrays" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="mode" />
|
||||
<param type="GLint" name="first" />
|
||||
<param type="GLsizei" name="count" />
|
||||
</function>
|
||||
<function name="DrawElements" extension="Core" version="2.0" category="">
|
||||
<function name="DrawElements" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="mode" />
|
||||
<param type="GLsizei" name="count" />
|
||||
<param type="GLenum" name="type" />
|
||||
<param type="void*" name="indices" />
|
||||
</function>
|
||||
<function name="Enable" extension="Core" version="2.0" category="">
|
||||
<function name="Enable" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="cap" />
|
||||
</function>
|
||||
<function name="EnableVertexAttribArray" extension="Core" version="2.0" category="">
|
||||
<function name="EnableVertexAttribArray" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="index" />
|
||||
</function>
|
||||
<function name="Finish" extension="Core" version="2.0" category="">
|
||||
<function name="Finish" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
</function>
|
||||
<function name="Flush" extension="Core" version="2.0" category="">
|
||||
<function name="Flush" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
</function>
|
||||
<function name="FramebufferRenderbuffer" extension="Core" version="2.0" category="">
|
||||
<function name="FramebufferRenderbuffer" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLenum" name="attachment" />
|
||||
<param type="GLenum" name="renderbuffertarget" />
|
||||
<param type="GLuint" name="renderbuffer" />
|
||||
</function>
|
||||
<function name="FramebufferTexture2D" extension="Core" version="2.0" category="">
|
||||
<function name="FramebufferTexture2D" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLenum" name="attachment" />
|
||||
|
@ -263,35 +263,35 @@
|
|||
<param type="GLuint" name="texture" />
|
||||
<param type="GLint" name="level" />
|
||||
</function>
|
||||
<function name="FrontFace" extension="Core" version="2.0" category="">
|
||||
<function name="FrontFace" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="mode" />
|
||||
</function>
|
||||
<function name="GenBuffers" extension="Core" version="2.0" category="">
|
||||
<function name="GenBuffers" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLsizei" name="n" />
|
||||
<param type="GLuint*" name="buffers" />
|
||||
</function>
|
||||
<function name="GenerateMipmap" extension="Core" version="2.0" category="">
|
||||
<function name="GenerateMipmap" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
</function>
|
||||
<function name="GenFramebuffers" extension="Core" version="2.0" category="">
|
||||
<function name="GenFramebuffers" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLsizei" name="n" />
|
||||
<param type="GLuint*" name="framebuffers" />
|
||||
</function>
|
||||
<function name="GenRenderbuffers" extension="Core" version="2.0" category="">
|
||||
<function name="GenRenderbuffers" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLsizei" name="n" />
|
||||
<param type="GLuint*" name="renderbuffers" />
|
||||
</function>
|
||||
<function name="GenTextures" extension="Core" version="2.0" category="">
|
||||
<function name="GenTextures" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLsizei" name="n" />
|
||||
<param type="GLuint*" name="textures" />
|
||||
</function>
|
||||
<function name="GetActiveAttrib" extension="Core" version="2.0" category="">
|
||||
<function name="GetActiveAttrib" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="program" />
|
||||
<param type="GLuint" name="index" />
|
||||
|
@ -301,7 +301,7 @@
|
|||
<param type="GLenum*" name="type" />
|
||||
<param type="char*" name="name" />
|
||||
</function>
|
||||
<function name="GetActiveUniform" extension="Core" version="2.0" category="">
|
||||
<function name="GetActiveUniform" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="program" />
|
||||
<param type="GLuint" name="index" />
|
||||
|
@ -311,198 +311,198 @@
|
|||
<param type="GLenum*" name="type" />
|
||||
<param type="char*" name="name" />
|
||||
</function>
|
||||
<function name="GetAttachedShaders" extension="Core" version="2.0" category="">
|
||||
<function name="GetAttachedShaders" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="program" />
|
||||
<param type="GLsizei" name="maxcount" />
|
||||
<param type="GLsizei*" name="count" />
|
||||
<param type="GLuint*" name="shaders" />
|
||||
</function>
|
||||
<function name="GetAttribLocation" extension="Core" version="2.0" category="">
|
||||
<function name="GetAttribLocation" extension="Core" version="2.0" category="Common">
|
||||
<returns type="int" />
|
||||
<param type="GLuint" name="program" />
|
||||
<param type="char*" name="name" />
|
||||
</function>
|
||||
<function name="GetBooleanv" extension="Core" version="2.0" category="">
|
||||
<function name="GetBooleanv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLboolean*" name="params" />
|
||||
</function>
|
||||
<function name="GetBufferParameteriv" extension="Core" version="2.0" category="">
|
||||
<function name="GetBufferParameteriv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLint*" name="params" />
|
||||
</function>
|
||||
<function name="GetError" extension="Core" version="2.0" category="">
|
||||
<function name="GetError" extension="Core" version="2.0" category="Common">
|
||||
<returns type="GLenum" />
|
||||
</function>
|
||||
<function name="GetFloatv" extension="Core" version="2.0" category="">
|
||||
<function name="GetFloatv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfloat*" name="params" />
|
||||
</function>
|
||||
<function name="GetFramebufferAttachmentParameteriv" extension="Core" version="2.0" category="">
|
||||
<function name="GetFramebufferAttachmentParameteriv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLenum" name="attachment" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLint*" name="params" />
|
||||
</function>
|
||||
<function name="GetIntegerv" extension="Core" version="2.0" category="">
|
||||
<function name="GetIntegerv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLint*" name="params" />
|
||||
</function>
|
||||
<function name="GetProgramiv" extension="Core" version="2.0" category="">
|
||||
<function name="GetProgramiv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="program" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLint*" name="params" />
|
||||
</function>
|
||||
<function name="GetProgramInfoLog" extension="Core" version="2.0" category="">
|
||||
<function name="GetProgramInfoLog" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="program" />
|
||||
<param type="GLsizei" name="bufsize" />
|
||||
<param type="GLsizei*" name="length" />
|
||||
<param type="char*" name="infolog" />
|
||||
</function>
|
||||
<function name="GetRenderbufferParameteriv" extension="Core" version="2.0" category="">
|
||||
<function name="GetRenderbufferParameteriv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLint*" name="params" />
|
||||
</function>
|
||||
<function name="GetShaderiv" extension="Core" version="2.0" category="">
|
||||
<function name="GetShaderiv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="shader" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLint*" name="params" />
|
||||
</function>
|
||||
<function name="GetShaderInfoLog" extension="Core" version="2.0" category="">
|
||||
<function name="GetShaderInfoLog" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="shader" />
|
||||
<param type="GLsizei" name="bufsize" />
|
||||
<param type="GLsizei*" name="length" />
|
||||
<param type="char*" name="infolog" />
|
||||
</function>
|
||||
<function name="GetShaderPrecisionFormat" extension="Core" version="2.0" category="">
|
||||
<function name="GetShaderPrecisionFormat" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="shadertype" />
|
||||
<param type="GLenum" name="precisiontype" />
|
||||
<param type="GLint*" name="range" />
|
||||
<param type="GLint*" name="precision" />
|
||||
</function>
|
||||
<function name="GetShaderSource" extension="Core" version="2.0" category="">
|
||||
<function name="GetShaderSource" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="shader" />
|
||||
<param type="GLsizei" name="bufsize" />
|
||||
<param type="GLsizei*" name="length" />
|
||||
<param type="char*" name="source" />
|
||||
</function>
|
||||
<function name="GetString" extension="Core" version="2.0" category="">
|
||||
<function name="GetString" extension="Core" version="2.0" category="Common">
|
||||
<returns type="GLubyte*" />
|
||||
<param type="GLenum" name="name" />
|
||||
</function>
|
||||
<function name="GetTexParameterfv" extension="Core" version="2.0" category="">
|
||||
<function name="GetTexParameterfv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfloat*" name="params" />
|
||||
</function>
|
||||
<function name="GetTexParameteriv" extension="Core" version="2.0" category="">
|
||||
<function name="GetTexParameteriv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLint*" name="params" />
|
||||
</function>
|
||||
<function name="GetUniformfv" extension="Core" version="2.0" category="">
|
||||
<function name="GetUniformfv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="program" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLfloat*" name="params" />
|
||||
</function>
|
||||
<function name="GetUniformiv" extension="Core" version="2.0" category="">
|
||||
<function name="GetUniformiv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="program" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLint*" name="params" />
|
||||
</function>
|
||||
<function name="GetUniformLocation" extension="Core" version="2.0" category="">
|
||||
<function name="GetUniformLocation" extension="Core" version="2.0" category="Common">
|
||||
<returns type="int" />
|
||||
<param type="GLuint" name="program" />
|
||||
<param type="char*" name="name" />
|
||||
</function>
|
||||
<function name="GetVertexAttribfv" extension="Core" version="2.0" category="">
|
||||
<function name="GetVertexAttribfv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="index" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfloat*" name="params" />
|
||||
</function>
|
||||
<function name="GetVertexAttribiv" extension="Core" version="2.0" category="">
|
||||
<function name="GetVertexAttribiv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="index" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLint*" name="params" />
|
||||
</function>
|
||||
<function name="GetVertexAttribPointerv" extension="Core" version="2.0" category="">
|
||||
<function name="GetVertexAttribPointerv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="index" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="void**" name="pointer" />
|
||||
</function>
|
||||
<function name="Hint" extension="Core" version="2.0" category="">
|
||||
<function name="Hint" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLenum" name="mode" />
|
||||
</function>
|
||||
<function name="IsBuffer" extension="Core" version="2.0" category="">
|
||||
<function name="IsBuffer" extension="Core" version="2.0" category="Common">
|
||||
<returns type="GLboolean" />
|
||||
<param type="GLuint" name="buffer" />
|
||||
</function>
|
||||
<function name="IsEnabled" extension="Core" version="2.0" category="">
|
||||
<function name="IsEnabled" extension="Core" version="2.0" category="Common">
|
||||
<returns type="GLboolean" />
|
||||
<param type="GLenum" name="cap" />
|
||||
</function>
|
||||
<function name="IsFramebuffer" extension="Core" version="2.0" category="">
|
||||
<function name="IsFramebuffer" extension="Core" version="2.0" category="Common">
|
||||
<returns type="GLboolean" />
|
||||
<param type="GLuint" name="framebuffer" />
|
||||
</function>
|
||||
<function name="IsProgram" extension="Core" version="2.0" category="">
|
||||
<function name="IsProgram" extension="Core" version="2.0" category="Common">
|
||||
<returns type="GLboolean" />
|
||||
<param type="GLuint" name="program" />
|
||||
</function>
|
||||
<function name="IsRenderbuffer" extension="Core" version="2.0" category="">
|
||||
<function name="IsRenderbuffer" extension="Core" version="2.0" category="Common">
|
||||
<returns type="GLboolean" />
|
||||
<param type="GLuint" name="renderbuffer" />
|
||||
</function>
|
||||
<function name="IsShader" extension="Core" version="2.0" category="">
|
||||
<function name="IsShader" extension="Core" version="2.0" category="Common">
|
||||
<returns type="GLboolean" />
|
||||
<param type="GLuint" name="shader" />
|
||||
</function>
|
||||
<function name="IsTexture" extension="Core" version="2.0" category="">
|
||||
<function name="IsTexture" extension="Core" version="2.0" category="Common">
|
||||
<returns type="GLboolean" />
|
||||
<param type="GLuint" name="texture" />
|
||||
</function>
|
||||
<function name="LineWidth" extension="Core" version="2.0" category="">
|
||||
<function name="LineWidth" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfloat" name="width" />
|
||||
</function>
|
||||
<function name="LinkProgram" extension="Core" version="2.0" category="">
|
||||
<function name="LinkProgram" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="program" />
|
||||
</function>
|
||||
<function name="PixelStorei" extension="Core" version="2.0" category="">
|
||||
<function name="PixelStorei" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLint" name="param" />
|
||||
</function>
|
||||
<function name="PolygonOffset" extension="Core" version="2.0" category="">
|
||||
<function name="PolygonOffset" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLfloat" name="factor" />
|
||||
<param type="GLfloat" name="units" />
|
||||
</function>
|
||||
<function name="ReadPixels" extension="Core" version="2.0" category="">
|
||||
<function name="ReadPixels" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="x" />
|
||||
<param type="GLint" name="y" />
|
||||
|
@ -512,29 +512,29 @@
|
|||
<param type="GLenum" name="type" />
|
||||
<param type="void*" name="pixels" />
|
||||
</function>
|
||||
<function name="ReleaseShaderCompiler" extension="Core" version="2.0" category="">
|
||||
<function name="ReleaseShaderCompiler" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
</function>
|
||||
<function name="RenderbufferStorage" extension="Core" version="2.0" category="">
|
||||
<function name="RenderbufferStorage" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLenum" name="internalformat" />
|
||||
<param type="GLsizei" name="width" />
|
||||
<param type="GLsizei" name="height" />
|
||||
</function>
|
||||
<function name="SampleCoverage" extension="Core" version="2.0" category="">
|
||||
<function name="SampleCoverage" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLclampf" name="value" />
|
||||
<param type="GLboolean" name="invert" />
|
||||
</function>
|
||||
<function name="Scissor" extension="Core" version="2.0" category="">
|
||||
<function name="Scissor" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="x" />
|
||||
<param type="GLint" name="y" />
|
||||
<param type="GLsizei" name="width" />
|
||||
<param type="GLsizei" name="height" />
|
||||
</function>
|
||||
<function name="ShaderBinary" extension="Core" version="2.0" category="">
|
||||
<function name="ShaderBinary" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLsizei" name="n" />
|
||||
<param type="GLuint*" name="shaders" />
|
||||
|
@ -542,49 +542,49 @@
|
|||
<param type="void*" name="binary" />
|
||||
<param type="GLsizei" name="length" />
|
||||
</function>
|
||||
<function name="ShaderSource" extension="Core" version="2.0" category="">
|
||||
<function name="ShaderSource" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="shader" />
|
||||
<param type="GLsizei" name="count" />
|
||||
<param type="char**" name="string" />
|
||||
<param type="GLint*" name="length" />
|
||||
</function>
|
||||
<function name="StencilFunc" extension="Core" version="2.0" category="">
|
||||
<function name="StencilFunc" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="func" />
|
||||
<param type="GLint" name="ref" />
|
||||
<param type="GLuint" name="mask" />
|
||||
</function>
|
||||
<function name="StencilFuncSeparate" extension="Core" version="2.0" category="">
|
||||
<function name="StencilFuncSeparate" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="face" />
|
||||
<param type="GLenum" name="func" />
|
||||
<param type="GLint" name="ref" />
|
||||
<param type="GLuint" name="mask" />
|
||||
</function>
|
||||
<function name="StencilMask" extension="Core" version="2.0" category="">
|
||||
<function name="StencilMask" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="mask" />
|
||||
</function>
|
||||
<function name="StencilMaskSeparate" extension="Core" version="2.0" category="">
|
||||
<function name="StencilMaskSeparate" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="face" />
|
||||
<param type="GLuint" name="mask" />
|
||||
</function>
|
||||
<function name="StencilOp" extension="Core" version="2.0" category="">
|
||||
<function name="StencilOp" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="fail" />
|
||||
<param type="GLenum" name="zfail" />
|
||||
<param type="GLenum" name="zpass" />
|
||||
</function>
|
||||
<function name="StencilOpSeparate" extension="Core" version="2.0" category="">
|
||||
<function name="StencilOpSeparate" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="face" />
|
||||
<param type="GLenum" name="fail" />
|
||||
<param type="GLenum" name="zfail" />
|
||||
<param type="GLenum" name="zpass" />
|
||||
</function>
|
||||
<function name="TexImage2D" extension="Core" version="2.0" category="">
|
||||
<function name="TexImage2D" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLint" name="level" />
|
||||
|
@ -596,31 +596,31 @@
|
|||
<param type="GLenum" name="type" />
|
||||
<param type="void*" name="pixels" />
|
||||
</function>
|
||||
<function name="TexParameterf" extension="Core" version="2.0" category="">
|
||||
<function name="TexParameterf" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfloat" name="param" />
|
||||
</function>
|
||||
<function name="TexParameterfv" extension="Core" version="2.0" category="">
|
||||
<function name="TexParameterfv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLfloat*" name="params" />
|
||||
</function>
|
||||
<function name="TexParameteri" extension="Core" version="2.0" category="">
|
||||
<function name="TexParameteri" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLint" name="param" />
|
||||
</function>
|
||||
<function name="TexParameteriv" extension="Core" version="2.0" category="">
|
||||
<function name="TexParameteriv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLenum" name="pname" />
|
||||
<param type="GLint*" name="params" />
|
||||
</function>
|
||||
<function name="TexSubImage2D" extension="Core" version="2.0" category="">
|
||||
<function name="TexSubImage2D" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLenum" name="target" />
|
||||
<param type="GLint" name="level" />
|
||||
|
@ -632,79 +632,79 @@
|
|||
<param type="GLenum" name="type" />
|
||||
<param type="void*" name="pixels" />
|
||||
</function>
|
||||
<function name="Uniform1f" extension="Core" version="2.0" category="">
|
||||
<function name="Uniform1f" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLfloat" name="x" />
|
||||
</function>
|
||||
<function name="Uniform1fv" extension="Core" version="2.0" category="">
|
||||
<function name="Uniform1fv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLsizei" name="count" />
|
||||
<param type="GLfloat*" name="v" />
|
||||
</function>
|
||||
<function name="Uniform1i" extension="Core" version="2.0" category="">
|
||||
<function name="Uniform1i" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLint" name="x" />
|
||||
</function>
|
||||
<function name="Uniform1iv" extension="Core" version="2.0" category="">
|
||||
<function name="Uniform1iv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLsizei" name="count" />
|
||||
<param type="GLint*" name="v" />
|
||||
</function>
|
||||
<function name="Uniform2f" extension="Core" version="2.0" category="">
|
||||
<function name="Uniform2f" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLfloat" name="x" />
|
||||
<param type="GLfloat" name="y" />
|
||||
</function>
|
||||
<function name="Uniform2fv" extension="Core" version="2.0" category="">
|
||||
<function name="Uniform2fv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLsizei" name="count" />
|
||||
<param type="GLfloat*" name="v" />
|
||||
</function>
|
||||
<function name="Uniform2i" extension="Core" version="2.0" category="">
|
||||
<function name="Uniform2i" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLint" name="x" />
|
||||
<param type="GLint" name="y" />
|
||||
</function>
|
||||
<function name="Uniform2iv" extension="Core" version="2.0" category="">
|
||||
<function name="Uniform2iv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLsizei" name="count" />
|
||||
<param type="GLint*" name="v" />
|
||||
</function>
|
||||
<function name="Uniform3f" extension="Core" version="2.0" category="">
|
||||
<function name="Uniform3f" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLfloat" name="x" />
|
||||
<param type="GLfloat" name="y" />
|
||||
<param type="GLfloat" name="z" />
|
||||
</function>
|
||||
<function name="Uniform3fv" extension="Core" version="2.0" category="">
|
||||
<function name="Uniform3fv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLsizei" name="count" />
|
||||
<param type="GLfloat*" name="v" />
|
||||
</function>
|
||||
<function name="Uniform3i" extension="Core" version="2.0" category="">
|
||||
<function name="Uniform3i" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLint" name="x" />
|
||||
<param type="GLint" name="y" />
|
||||
<param type="GLint" name="z" />
|
||||
</function>
|
||||
<function name="Uniform3iv" extension="Core" version="2.0" category="">
|
||||
<function name="Uniform3iv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLsizei" name="count" />
|
||||
<param type="GLint*" name="v" />
|
||||
</function>
|
||||
<function name="Uniform4f" extension="Core" version="2.0" category="">
|
||||
<function name="Uniform4f" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLfloat" name="x" />
|
||||
|
@ -712,13 +712,13 @@
|
|||
<param type="GLfloat" name="z" />
|
||||
<param type="GLfloat" name="w" />
|
||||
</function>
|
||||
<function name="Uniform4fv" extension="Core" version="2.0" category="">
|
||||
<function name="Uniform4fv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLsizei" name="count" />
|
||||
<param type="GLfloat*" name="v" />
|
||||
</function>
|
||||
<function name="Uniform4i" extension="Core" version="2.0" category="">
|
||||
<function name="Uniform4i" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLint" name="x" />
|
||||
|
@ -726,75 +726,75 @@
|
|||
<param type="GLint" name="z" />
|
||||
<param type="GLint" name="w" />
|
||||
</function>
|
||||
<function name="Uniform4iv" extension="Core" version="2.0" category="">
|
||||
<function name="Uniform4iv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLsizei" name="count" />
|
||||
<param type="GLint*" name="v" />
|
||||
</function>
|
||||
<function name="UniformMatrix2fv" extension="Core" version="2.0" category="">
|
||||
<function name="UniformMatrix2fv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLsizei" name="count" />
|
||||
<param type="GLboolean" name="transpose" />
|
||||
<param type="GLfloat*" name="value" />
|
||||
</function>
|
||||
<function name="UniformMatrix3fv" extension="Core" version="2.0" category="">
|
||||
<function name="UniformMatrix3fv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLsizei" name="count" />
|
||||
<param type="GLboolean" name="transpose" />
|
||||
<param type="GLfloat*" name="value" />
|
||||
</function>
|
||||
<function name="UniformMatrix4fv" extension="Core" version="2.0" category="">
|
||||
<function name="UniformMatrix4fv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="location" />
|
||||
<param type="GLsizei" name="count" />
|
||||
<param type="GLboolean" name="transpose" />
|
||||
<param type="GLfloat*" name="value" />
|
||||
</function>
|
||||
<function name="UseProgram" extension="Core" version="2.0" category="">
|
||||
<function name="UseProgram" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="program" />
|
||||
</function>
|
||||
<function name="ValidateProgram" extension="Core" version="2.0" category="">
|
||||
<function name="ValidateProgram" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="program" />
|
||||
</function>
|
||||
<function name="VertexAttrib1f" extension="Core" version="2.0" category="">
|
||||
<function name="VertexAttrib1f" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="indx" />
|
||||
<param type="GLfloat" name="x" />
|
||||
</function>
|
||||
<function name="VertexAttrib1fv" extension="Core" version="2.0" category="">
|
||||
<function name="VertexAttrib1fv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="indx" />
|
||||
<param type="GLfloat*" name="values" />
|
||||
</function>
|
||||
<function name="VertexAttrib2f" extension="Core" version="2.0" category="">
|
||||
<function name="VertexAttrib2f" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="indx" />
|
||||
<param type="GLfloat" name="x" />
|
||||
<param type="GLfloat" name="y" />
|
||||
</function>
|
||||
<function name="VertexAttrib2fv" extension="Core" version="2.0" category="">
|
||||
<function name="VertexAttrib2fv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="indx" />
|
||||
<param type="GLfloat*" name="values" />
|
||||
</function>
|
||||
<function name="VertexAttrib3f" extension="Core" version="2.0" category="">
|
||||
<function name="VertexAttrib3f" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="indx" />
|
||||
<param type="GLfloat" name="x" />
|
||||
<param type="GLfloat" name="y" />
|
||||
<param type="GLfloat" name="z" />
|
||||
</function>
|
||||
<function name="VertexAttrib3fv" extension="Core" version="2.0" category="">
|
||||
<function name="VertexAttrib3fv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="indx" />
|
||||
<param type="GLfloat*" name="values" />
|
||||
</function>
|
||||
<function name="VertexAttrib4f" extension="Core" version="2.0" category="">
|
||||
<function name="VertexAttrib4f" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="indx" />
|
||||
<param type="GLfloat" name="x" />
|
||||
|
@ -802,12 +802,12 @@
|
|||
<param type="GLfloat" name="z" />
|
||||
<param type="GLfloat" name="w" />
|
||||
</function>
|
||||
<function name="VertexAttrib4fv" extension="Core" version="2.0" category="">
|
||||
<function name="VertexAttrib4fv" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="indx" />
|
||||
<param type="GLfloat*" name="values" />
|
||||
</function>
|
||||
<function name="VertexAttribPointer" extension="Core" version="2.0" category="">
|
||||
<function name="VertexAttribPointer" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLuint" name="indx" />
|
||||
<param type="GLint" name="size" />
|
||||
|
@ -816,7 +816,7 @@
|
|||
<param type="GLsizei" name="stride" />
|
||||
<param type="void*" name="ptr" />
|
||||
</function>
|
||||
<function name="Viewport" extension="Core" version="2.0" category="">
|
||||
<function name="Viewport" extension="Core" version="2.0" category="Common">
|
||||
<returns type="void" />
|
||||
<param type="GLint" name="x" />
|
||||
<param type="GLint" name="y" />
|
||||
|
|
3
Source/Bind/Specifications/GLES20/overrides.xml
Normal file
3
Source/Bind/Specifications/GLES20/overrides.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<overrides>
|
||||
</overrides>
|
|
@ -3,7 +3,6 @@ GLsizei, Int32
|
|||
GLsizeiptr, IntPtr
|
||||
GLintptr, IntPtr
|
||||
# GLenum, Int32
|
||||
GLenum, All
|
||||
GLboolean, bool # Boolean # Int32
|
||||
GLbitfield, UInt32
|
||||
# GLvoid*, IntPtr
|
||||
|
|
|
@ -613,8 +613,7 @@ namespace Bind.Structures
|
|||
if (overrides == null)
|
||||
throw new ArgumentNullException("overrides");
|
||||
|
||||
XPathNavigator navigator = overrides.CreateNavigator();
|
||||
string path = "/override/function[@name='{0}' and @extension='{1}']";
|
||||
string path = "/overrides/function[@name='{0}' and @extension='{1}']";
|
||||
string name = TrimName(Name, false);
|
||||
XPathNavigator function_override = overrides.CreateNavigator().SelectSingleNode(String.Format(path, name, Extension));
|
||||
TranslateReturnType(function_override);
|
||||
|
|
|
@ -117,6 +117,9 @@ namespace Bind.Structures
|
|||
|
||||
public static string TranslateName(string name)
|
||||
{
|
||||
if (String.IsNullOrEmpty(name))
|
||||
return name;
|
||||
|
||||
if (Utilities.Keywords.Contains(name))
|
||||
return name;
|
||||
|
||||
|
|
|
@ -64,6 +64,11 @@ namespace Bind.Structures
|
|||
{
|
||||
if (_name != value)
|
||||
{
|
||||
if (value.StartsWith("*"))
|
||||
{
|
||||
Pointer = true;
|
||||
value = value.TrimStart("*".ToCharArray());
|
||||
}
|
||||
_name = value;
|
||||
rebuild = true;
|
||||
}
|
||||
|
@ -333,6 +338,9 @@ namespace Bind.Structures
|
|||
if (Reference)
|
||||
WrapperType |= WrapperTypes.ReferenceParameter;
|
||||
|
||||
if (Name == "params")
|
||||
Name = "@params";
|
||||
|
||||
// This causes problems with bool arrays
|
||||
//if (CurrentType.ToLower().Contains("bool"))
|
||||
// WrapperType = WrapperTypes.BoolParameter;
|
||||
|
|
|
@ -334,14 +334,14 @@ namespace Bind.Structures
|
|||
else
|
||||
CurrentType = s;
|
||||
}
|
||||
|
||||
CurrentType =
|
||||
Bind.Structures.Type.CSTypes.ContainsKey(CurrentType) ?
|
||||
Bind.Structures.Type.CSTypes[CurrentType] : CurrentType;
|
||||
|
||||
if (CurrentType == "IntPtr" && String.IsNullOrEmpty(PreviousType))
|
||||
Pointer = false;
|
||||
}
|
||||
|
||||
CurrentType =
|
||||
Bind.Structures.Type.CSTypes.ContainsKey(CurrentType) ?
|
||||
Bind.Structures.Type.CSTypes[CurrentType] : CurrentType;
|
||||
|
||||
if (CurrentType == "IntPtr" && String.IsNullOrEmpty(PreviousType))
|
||||
Pointer = false;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
Loading…
Reference in a new issue