mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-03 15:38:15 +00:00
Added distinct /overrides/add and /overrides/replace elements.
Added check for the existence of override elements before trying to use them (avoids potential null reference exception). Regenerated bindings using the latest version of the generator.
This commit is contained in:
parent
0fd6651fd2
commit
239d98e860
|
@ -42,43 +42,49 @@ namespace Bind.ES
|
||||||
public override DelegateCollection ReadDelegates(StreamReader specFile)
|
public override DelegateCollection ReadDelegates(StreamReader specFile)
|
||||||
{
|
{
|
||||||
DelegateCollection delegates = new DelegateCollection();
|
DelegateCollection delegates = new DelegateCollection();
|
||||||
|
XPathDocument specs = new XPathDocument(specFile);
|
||||||
XPathDocument overrides = new XPathDocument(new StreamReader(Path.Combine(Settings.InputPath, functionOverridesFile)));
|
XPathDocument overrides = new XPathDocument(new StreamReader(Path.Combine(Settings.InputPath, functionOverridesFile)));
|
||||||
|
|
||||||
XPathNavigator nav = new XPathDocument(specFile).CreateNavigator().SelectSingleNode("/signatures");
|
foreach (XPathNavigator nav in new XPathNavigator[] {
|
||||||
|
specs.CreateNavigator().SelectSingleNode("/signatures"),
|
||||||
foreach (XPathNavigator node in nav.SelectChildren("function", String.Empty))
|
overrides.CreateNavigator().SelectSingleNode("/overrides/add") })
|
||||||
{
|
{
|
||||||
Delegate d = new Delegate();
|
if (nav != null)
|
||||||
d.Name = node.GetAttribute("name", String.Empty);
|
|
||||||
//d.Extension = node.GetAttribute("extension");
|
|
||||||
d.Version = node.GetAttribute("version", String.Empty);
|
|
||||||
d.Category = node.GetAttribute("category", String.Empty);
|
|
||||||
foreach (XPathNavigator param in node.SelectChildren(XPathNodeType.Element))
|
|
||||||
{
|
{
|
||||||
switch (param.Name)
|
foreach (XPathNavigator node in nav.SelectChildren("function", String.Empty))
|
||||||
{
|
{
|
||||||
case "returns":
|
Delegate d = new Delegate();
|
||||||
d.ReturnType.CurrentType = param.GetAttribute("type", String.Empty);
|
d.Name = node.GetAttribute("name", String.Empty);
|
||||||
break;
|
//d.Extension = node.GetAttribute("extension");
|
||||||
|
d.Version = node.GetAttribute("version", String.Empty);
|
||||||
|
d.Category = node.GetAttribute("category", String.Empty);
|
||||||
|
foreach (XPathNavigator param in node.SelectChildren(XPathNodeType.Element))
|
||||||
|
{
|
||||||
|
switch (param.Name)
|
||||||
|
{
|
||||||
|
case "returns":
|
||||||
|
d.ReturnType.CurrentType = param.GetAttribute("type", String.Empty);
|
||||||
|
break;
|
||||||
|
|
||||||
case "param":
|
case "param":
|
||||||
Parameter p = new Parameter();
|
Parameter p = new Parameter();
|
||||||
p.CurrentType = param.GetAttribute("type", String.Empty);
|
p.CurrentType = param.GetAttribute("type", String.Empty);
|
||||||
p.Name = param.GetAttribute("name", String.Empty);
|
p.Name = param.GetAttribute("name", String.Empty);
|
||||||
|
|
||||||
string element_count = param.GetAttribute("elementcount", String.Empty);
|
string element_count = param.GetAttribute("elementcount", String.Empty);
|
||||||
if (!String.IsNullOrEmpty(element_count))
|
if (!String.IsNullOrEmpty(element_count))
|
||||||
p.ElementCount = Int32.Parse(element_count);
|
p.ElementCount = Int32.Parse(element_count);
|
||||||
|
|
||||||
p.Flow = Parameter.GetFlowDirection(param.GetAttribute("flow", String.Empty));
|
p.Flow = Parameter.GetFlowDirection(param.GetAttribute("flow", String.Empty));
|
||||||
|
|
||||||
d.Parameters.Add(p);
|
d.Parameters.Add(p);
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
d.Translate(overrides);
|
||||||
|
delegates.Add(d);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
d.Translate(overrides);
|
|
||||||
delegates.Add(d);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return delegates;
|
return delegates;
|
||||||
|
@ -107,26 +113,29 @@ namespace Bind.ES
|
||||||
|
|
||||||
foreach (XPathNavigator nav in new XPathNavigator[] {
|
foreach (XPathNavigator nav in new XPathNavigator[] {
|
||||||
specs.CreateNavigator().SelectSingleNode("/signatures"),
|
specs.CreateNavigator().SelectSingleNode("/signatures"),
|
||||||
overrides.CreateNavigator().SelectSingleNode("/overrides") })
|
overrides.CreateNavigator().SelectSingleNode("/overrides/add") })
|
||||||
{
|
{
|
||||||
foreach (XPathNavigator node in nav.SelectChildren("enum", String.Empty))
|
if (nav != null)
|
||||||
{
|
{
|
||||||
Enum e = new Enum()
|
foreach (XPathNavigator node in nav.SelectChildren("enum", String.Empty))
|
||||||
{
|
{
|
||||||
Name = node.GetAttribute("name", String.Empty),
|
Enum e = new Enum()
|
||||||
Type = node.GetAttribute("type", String.Empty)
|
{
|
||||||
};
|
Name = node.GetAttribute("name", String.Empty),
|
||||||
if (String.IsNullOrEmpty(e.Name))
|
Type = node.GetAttribute("type", String.Empty)
|
||||||
throw new InvalidOperationException(String.Format("Empty name for enum element {0}", node.ToString()));
|
};
|
||||||
|
if (String.IsNullOrEmpty(e.Name))
|
||||||
|
throw new InvalidOperationException(String.Format("Empty name for enum element {0}", node.ToString()));
|
||||||
|
|
||||||
foreach (XPathNavigator param in node.SelectChildren(XPathNodeType.Element))
|
foreach (XPathNavigator param in node.SelectChildren(XPathNodeType.Element))
|
||||||
{
|
{
|
||||||
Constant c = new Constant(param.GetAttribute("name", String.Empty), param.GetAttribute("value", String.Empty));
|
Constant c = new Constant(param.GetAttribute("name", String.Empty), param.GetAttribute("value", String.Empty));
|
||||||
Utilities.Merge(all, c);
|
Utilities.Merge(all, c);
|
||||||
e.ConstantCollection.Add(c.Name, c);
|
e.ConstantCollection.Add(c.Name, c);
|
||||||
|
}
|
||||||
|
|
||||||
|
Utilities.Merge(enums, e);
|
||||||
}
|
}
|
||||||
|
|
||||||
Utilities.Merge(enums, e);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,46 +1,47 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<overrides>
|
<overrides>
|
||||||
|
|
||||||
<enum name="Unknown">
|
<replace>
|
||||||
<token name="CHAR_MAX"><value>127</value></token>
|
<enum name="Unknown">
|
||||||
<token name="CHAR_MIN"><value>-128</value></token>
|
<token name="CHAR_MAX"><value>127</value></token>
|
||||||
</enum>
|
<token name="CHAR_MIN"><value>-128</value></token>
|
||||||
|
</enum>
|
||||||
|
|
||||||
<enum name="ErrorCodes"><name>ErrorCode</name></enum>
|
<enum name="ErrorCodes"><name>ErrorCode</name></enum>
|
||||||
|
|
||||||
<enum name="DeviceType"><name>DeviceTypeFlags</name></enum>
|
<enum name="DeviceType"><name>DeviceTypeFlags</name></enum>
|
||||||
|
|
||||||
<function name="CreateContextFromType" extension="Core">
|
<function name="CreateContextFromType" extension="Core">
|
||||||
<param name="errcode_ret"><type>ErrorCode</type></param>
|
<param name="errcode_ret"><type>ErrorCode</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<enum name="CommandQueuePropertiesFlags"><name>CommandQueueFlags</name></enum>
|
<enum name="CommandQueuePropertiesFlags"><name>CommandQueueFlags</name></enum>
|
||||||
<enum name="CommandQueueProperties"><name>CommandQueueFlags</name></enum>
|
<enum name="CommandQueueProperties"><name>CommandQueueFlags</name></enum>
|
||||||
|
|
||||||
<function name="CreateBuffer" extension="Core">
|
<function name="CreateBuffer" extension="Core">
|
||||||
<param name="errcode_ret"><type>ErrorCode</type></param>
|
<param name="errcode_ret"><type>ErrorCode</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="CreateContextFromType" extension="Core">
|
<function name="CreateContextFromType" extension="Core">
|
||||||
<param name="errcode_ret"><type>ErrorCode</type></param>
|
<param name="errcode_ret"><type>ErrorCode</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="CreateCommandQueue" extension="Core">
|
<function name="CreateCommandQueue" extension="Core">
|
||||||
<param name="errcode_ret"><type>ErrorCode</type></param>
|
<param name="errcode_ret"><type>ErrorCode</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="CreateKernel" extension="Core">
|
<function name="CreateKernel" extension="Core">
|
||||||
<param name="errcode_ret"><type>ErrorCode</type></param>
|
<param name="errcode_ret"><type>ErrorCode</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="CreateProgramWithBinary" extension="Core">
|
<function name="CreateProgramWithBinary" extension="Core">
|
||||||
<param name="errcode_ret"><type>ErrorCode</type></param>
|
<param name="errcode_ret"><type>ErrorCode</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="CreateProgramWithSource" extension="Core">
|
|
||||||
<param name="strings"><type>string[]</type></param>
|
|
||||||
<param name="errcode_ret"><type>ErrorCode</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
|
<function name="CreateProgramWithSource" extension="Core">
|
||||||
|
<param name="strings"><type>string[]</type></param>
|
||||||
|
<param name="errcode_ret"><type>ErrorCode</type></param>
|
||||||
|
</function>
|
||||||
|
</replace>
|
||||||
|
|
||||||
</overrides>
|
</overrides>
|
|
@ -168,7 +168,7 @@
|
||||||
<token name="DEVICE_TYPE_DEFAULT" value="(1 << 0)" />
|
<token name="DEVICE_TYPE_DEFAULT" value="(1 << 0)" />
|
||||||
<token name="DEVICE_TYPE_GPU" value="(1 << 2)" />
|
<token name="DEVICE_TYPE_GPU" value="(1 << 2)" />
|
||||||
</enum>
|
</enum>
|
||||||
<enum name="ErrorCodes" type="int">
|
<enum name="ErrorCode" type="int">
|
||||||
<token name="BUILD_PROGRAM_FAILURE" value="-11" />
|
<token name="BUILD_PROGRAM_FAILURE" value="-11" />
|
||||||
<token name="COMPILER_NOT_AVAILABLE" value="-3" />
|
<token name="COMPILER_NOT_AVAILABLE" value="-3" />
|
||||||
<token name="DEVICE_NOT_AVAILABLE" value="-2" />
|
<token name="DEVICE_NOT_AVAILABLE" value="-2" />
|
||||||
|
@ -839,4 +839,3 @@
|
||||||
<param type="cl_event*" name="event_list" flow="in" />
|
<param type="cl_event*" name="event_list" flow="in" />
|
||||||
</function>
|
</function>
|
||||||
</signatures>
|
</signatures>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<overrides>
|
<overrides>
|
||||||
<function name="GetString" extension="Core">
|
|
||||||
<returns>String</returns>
|
<replace>
|
||||||
</function>
|
<function name="GetString" extension="Core">
|
||||||
|
<returns>String</returns>
|
||||||
|
</function>
|
||||||
|
</replace>
|
||||||
|
|
||||||
</overrides>
|
</overrides>
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<overrides>
|
<overrides>
|
||||||
<function name="GetString" extension="Core">
|
|
||||||
<returns>String</returns>
|
<replace>
|
||||||
</function>
|
<function name="GetString" extension="Core">
|
||||||
|
<returns>String</returns>
|
||||||
|
</function>
|
||||||
|
</replace>
|
||||||
|
|
||||||
</overrides>
|
</overrides>
|
||||||
|
|
|
@ -1,15 +1,17 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<overrides>
|
<overrides>
|
||||||
<function name="GetString" extension="Core">
|
<replace>
|
||||||
<returns>String</returns>
|
<function name="GetString" extension="Core">
|
||||||
</function>
|
<returns>String</returns>
|
||||||
<function name="ShaderSource" extension="Core">
|
</function>
|
||||||
<param name="string"><type>String*</type></param>
|
<function name="ShaderSource" extension="Core">
|
||||||
</function>
|
<param name="string"><type>String*</type></param>
|
||||||
<function name="GetShaderSource" extension="Core">
|
</function>
|
||||||
<param name="source"><flow>out</flow></param>
|
<function name="GetShaderSource" extension="Core">
|
||||||
</function>
|
<param name="source"><flow>out</flow></param>
|
||||||
<function name="GetProgramInfoLog" extension="Core">
|
</function>
|
||||||
<param name="infolog"><flow>out</flow></param>
|
<function name="GetProgramInfoLog" extension="Core">
|
||||||
</function>
|
<param name="infolog"><flow>out</flow></param>
|
||||||
|
</function>
|
||||||
|
</replace>
|
||||||
</overrides>
|
</overrides>
|
||||||
|
|
|
@ -1,512 +1,516 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<overrides>
|
<overrides>
|
||||||
|
|
||||||
<function name="TexImage1D" extension="Core">
|
<replace>
|
||||||
<param name="internalformat"><type>PixelInternalFormat</type></param>
|
|
||||||
</function>
|
<function name="TexImage1D" extension="Core">
|
||||||
|
<param name="internalformat"><type>PixelInternalFormat</type></param>
|
||||||
<function name="TexImage2D" extension="Core">
|
</function>
|
||||||
<param name="internalformat"><type>PixelInternalFormat</type></param>
|
|
||||||
</function>
|
<function name="TexImage2D" extension="Core">
|
||||||
|
<param name="internalformat"><type>PixelInternalFormat</type></param>
|
||||||
<function name="TexImage3D" extension="Core">
|
</function>
|
||||||
<param name="internalformat"><type>PixelInternalFormat</type></param>
|
|
||||||
</function>
|
<function name="TexImage3D" extension="Core">
|
||||||
|
<param name="internalformat"><type>PixelInternalFormat</type></param>
|
||||||
<function name="BlendFuncSeparate" extension="Core">
|
</function>
|
||||||
<param name="sfactorRGB"><type>BlendingFactorSrc</type></param>
|
|
||||||
<param name="dfactorRGB"><type>BlendingFactorDest</type></param>
|
<function name="BlendFuncSeparate" extension="Core">
|
||||||
<param name="sfactorAlpha"><type>BlendingFactorSrc</type></param>
|
<param name="sfactorRGB"><type>BlendingFactorSrc</type></param>
|
||||||
<param name="dfactorAlpha"><type>BlendingFactorDest</type></param>
|
<param name="dfactorRGB"><type>BlendingFactorDest</type></param>
|
||||||
</function>
|
<param name="sfactorAlpha"><type>BlendingFactorSrc</type></param>
|
||||||
|
<param name="dfactorAlpha"><type>BlendingFactorDest</type></param>
|
||||||
<function name="FogCoordPointer" extension="Core">
|
</function>
|
||||||
<param name="type"><type>FogPointerType</type></param>
|
|
||||||
</function>
|
<function name="FogCoordPointer" extension="Core">
|
||||||
|
<param name="type"><type>FogPointerType</type></param>
|
||||||
<function name="PointParameter" extension="Core">
|
</function>
|
||||||
<param name="pname"><type>PointParameterName</type></param>
|
|
||||||
</function>
|
<function name="PointParameter" extension="Core">
|
||||||
|
<param name="pname"><type>PointParameterName</type></param>
|
||||||
<!-- Version 1.5 -->
|
</function>
|
||||||
|
|
||||||
<function name="BeginQuery" extension="Core">
|
<!-- Version 1.5 -->
|
||||||
<param name="target"><type>QueryTarget</type></param>
|
|
||||||
</function>
|
<function name="BeginQuery" extension="Core">
|
||||||
|
<param name="target"><type>QueryTarget</type></param>
|
||||||
<function name="EndQuery" extension="Core">
|
</function>
|
||||||
<param name="target"><type>QueryTarget</type></param>
|
|
||||||
</function>
|
<function name="EndQuery" extension="Core">
|
||||||
|
<param name="target"><type>QueryTarget</type></param>
|
||||||
<function name="GetQuery" extension="Core">
|
</function>
|
||||||
<param name="target"><type>QueryTarget</type></param>
|
|
||||||
<param name="pname"><type>GetQueryParam</type></param>
|
<function name="GetQuery" extension="Core">
|
||||||
</function>
|
<param name="target"><type>QueryTarget</type></param>
|
||||||
|
<param name="pname"><type>GetQueryParam</type></param>
|
||||||
<function name="GetQueryObject" extension="Core">
|
</function>
|
||||||
<param name="pname"><type>GetQueryObjectParam</type></param>
|
|
||||||
</function>
|
<function name="GetQueryObject" extension="Core">
|
||||||
|
<param name="pname"><type>GetQueryObjectParam</type></param>
|
||||||
<function name="BindBuffer" extension="Core">
|
</function>
|
||||||
<param name="target"><type>BufferTarget</type></param>
|
|
||||||
</function>
|
<function name="BindBuffer" extension="Core">
|
||||||
|
<param name="target"><type>BufferTarget</type></param>
|
||||||
<function name="BufferData" extension="Core">
|
</function>
|
||||||
<param name="target"><type>BufferTarget</type></param>
|
|
||||||
<param name="usage"><type>BufferUsageHint</type></param>
|
<function name="BufferData" extension="Core">
|
||||||
</function>
|
<param name="target"><type>BufferTarget</type></param>
|
||||||
|
<param name="usage"><type>BufferUsageHint</type></param>
|
||||||
<function name="BufferSubData" extension="Core">
|
</function>
|
||||||
<param name="target"><type>BufferTarget</type></param>
|
|
||||||
</function>
|
<function name="BufferSubData" extension="Core">
|
||||||
|
<param name="target"><type>BufferTarget</type></param>
|
||||||
<function name="GetBufferSubData" extension="Core">
|
</function>
|
||||||
<param name="target"><type>BufferTarget</type></param>
|
|
||||||
</function>
|
<function name="GetBufferSubData" extension="Core">
|
||||||
|
<param name="target"><type>BufferTarget</type></param>
|
||||||
<function name="MapBuffer" extension="Core">
|
</function>
|
||||||
<param name="target"><type>BufferTarget</type></param>
|
|
||||||
<param name="access"><type>BufferAccess</type></param>
|
<function name="MapBuffer" extension="Core">
|
||||||
</function>
|
<param name="target"><type>BufferTarget</type></param>
|
||||||
|
<param name="access"><type>BufferAccess</type></param>
|
||||||
<function name="UnmapBuffer" extension="Core">
|
</function>
|
||||||
<param name="target"><type>BufferTarget</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="GetBufferParameter" extension="Core">
|
|
||||||
<param name="target"><type>BufferTarget</type></param>
|
|
||||||
<param name="pname"><type>BufferParameterName</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="GetBufferPointer" extension="Core">
|
|
||||||
<param name="target"><type>BufferTarget</type></param>
|
|
||||||
<param name="pname"><type>BufferPointer</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<!-- Version 2.0-->
|
|
||||||
|
|
||||||
<function name="BlendEquationSeparate" extension="Core">
|
|
||||||
<param name="modeRGB"><type>BlendEquationMode</type></param>
|
|
||||||
<param name="modeAlpha"><type>BlendEquationMode</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="DrawBuffers" extension="Core">
|
|
||||||
<param name="bufs"><type>DrawBuffersEnum</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="StencilFuncSeparate" extension="Core">
|
|
||||||
<param name="frontfunc"><name>face</name><type>StencilFace</type></param>
|
|
||||||
<param name="backfunc"><name>func</name></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="StencilMaskSeparate" extension="Core">
|
|
||||||
<param name="face"><type>StencilFace</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="StencilOpSeparate" extension="Core">
|
|
||||||
<param name="face"><type>StencilFace</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="CreateShader" extension="Core">
|
|
||||||
<param name="type"><type>ShaderType</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="GetShader" extension="Core">
|
|
||||||
<param name="pname"><type>ShaderParameter</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="GetActiveAttrib" extension="Core">
|
|
||||||
<param name="type"><type>ActiveAttribType</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="GetActiveUniform" extension="Core">
|
<function name="UnmapBuffer" extension="Core">
|
||||||
<param name="type"><type>ActiveUniformType</type></param>
|
<param name="target"><type>BufferTarget</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="GetProgram" extension="Core">
|
<function name="GetBufferParameter" extension="Core">
|
||||||
<param name="pname"><type>ProgramParameter</type></param>
|
<param name="target"><type>BufferTarget</type></param>
|
||||||
</function>
|
<param name="pname"><type>BufferParameterName</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
<function name="GetVertexAttrib" extension="Core">
|
<function name="GetBufferPointer" extension="Core">
|
||||||
<param name="pname"><type>VertexAttribParameter</type></param>
|
<param name="target"><type>BufferTarget</type></param>
|
||||||
</function>
|
<param name="pname"><type>BufferPointer</type></param>
|
||||||
|
</function>
|
||||||
<function name="GetVertexAttribI" extension="Core">
|
|
||||||
<param name="pname"><type>VertexAttribParameter</type></param>
|
<!-- Version 2.0-->
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="VertexAttribPointer" extension="Core">
|
|
||||||
<param name="type"><type>VertexAttribPointerType</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="GetVertexAttribPointer" extension="Core">
|
|
||||||
<param name="pname"><type>VertexAttribPointerType</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<!-- Version 3.0 -->
|
|
||||||
|
|
||||||
<function name="GetBoolean" extension="Core">
|
|
||||||
<param name="target"><type>GetIndexedPName</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="GetInteger" extension="Core">
|
|
||||||
<param name="target"><type>GetIndexedPName</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="Enable" extension="Core">
|
|
||||||
<param name="target"><type>IndexedEnableCap</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="Disable" extension="Core">
|
|
||||||
<param name="target"><type>IndexedEnableCap</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="IsEnabled" extension="Core">
|
|
||||||
<param name="target"><type>IndexedEnableCap</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="BeginTransformFeedback" extension="Core">
|
|
||||||
<param name="primitiveMode"><type>BeginFeedbackMode</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="BindBufferRange" extension="Core">
|
<function name="BlendEquationSeparate" extension="Core">
|
||||||
<param name="target"><type>BufferTarget</type></param>
|
<param name="modeRGB"><type>BlendEquationMode</type></param>
|
||||||
</function>
|
<param name="modeAlpha"><type>BlendEquationMode</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
<function name="BindBufferBase" extension="Core">
|
<function name="DrawBuffers" extension="Core">
|
||||||
<param name="target"><type>BufferTarget</type></param>
|
<param name="bufs"><type>DrawBuffersEnum</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="TransformFeedbackVaryings" extension="Core">
|
<function name="StencilFuncSeparate" extension="Core">
|
||||||
<param name="bufferMode"><type>TransformFeedbackMode</type></param>
|
<param name="frontfunc"><name>face</name><type>StencilFace</type></param>
|
||||||
</function>
|
<param name="backfunc"><name>func</name></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="StencilMaskSeparate" extension="Core">
|
||||||
|
<param name="face"><type>StencilFace</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="StencilOpSeparate" extension="Core">
|
||||||
|
<param name="face"><type>StencilFace</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="CreateShader" extension="Core">
|
||||||
|
<param name="type"><type>ShaderType</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="GetShader" extension="Core">
|
||||||
|
<param name="pname"><type>ShaderParameter</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="GetActiveAttrib" extension="Core">
|
||||||
|
<param name="type"><type>ActiveAttribType</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
<function name="GetTransformFeedbackVarying" extension="Core">
|
<function name="GetActiveUniform" extension="Core">
|
||||||
<param name="type"><type>ActiveAttribType</type></param>
|
<param name="type"><type>ActiveUniformType</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="ClampColor" extension="Core">
|
<function name="GetProgram" extension="Core">
|
||||||
<param name="target"><type>ClampColorTarget</type></param>
|
<param name="pname"><type>ProgramParameter</type></param>
|
||||||
<param name="clamp"><type>ClampColorMode</type></param>
|
</function>
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="RenderbufferStorage" extension="Core">
|
<function name="GetVertexAttrib" extension="Core">
|
||||||
<param name="internalformat"><type>RenderbufferStorage</type></param>
|
<param name="pname"><type>VertexAttribParameter</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
|
<function name="GetVertexAttribI" extension="Core">
|
||||||
|
<param name="pname"><type>VertexAttribParameter</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="VertexAttribPointer" extension="Core">
|
||||||
|
<param name="type"><type>VertexAttribPointerType</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="GetVertexAttribPointer" extension="Core">
|
||||||
|
<param name="pname"><type>VertexAttribPointerType</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<!-- Version 3.0 -->
|
||||||
|
|
||||||
|
<function name="GetBoolean" extension="Core">
|
||||||
|
<param name="target"><type>GetIndexedPName</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="GetInteger" extension="Core">
|
||||||
|
<param name="target"><type>GetIndexedPName</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="Enable" extension="Core">
|
||||||
|
<param name="target"><type>IndexedEnableCap</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="Disable" extension="Core">
|
||||||
|
<param name="target"><type>IndexedEnableCap</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="IsEnabled" extension="Core">
|
||||||
|
<param name="target"><type>IndexedEnableCap</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="BeginTransformFeedback" extension="Core">
|
||||||
|
<param name="primitiveMode"><type>BeginFeedbackMode</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
<function name="GetRenderbufferParameter" extension="Core">
|
<function name="BindBufferRange" extension="Core">
|
||||||
<param name="pname"><type>RenderbufferParameterName</type></param>
|
<param name="target"><type>BufferTarget</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="FramebufferTexture1D" extension="Core">
|
<function name="BindBufferBase" extension="Core">
|
||||||
<param name="textarget"><type>TextureTarget</type></param>
|
<param name="target"><type>BufferTarget</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="FramebufferTexture2D" extension="Core">
|
<function name="TransformFeedbackVaryings" extension="Core">
|
||||||
<param name="textarget"><type>TextureTarget</type></param>
|
<param name="bufferMode"><type>TransformFeedbackMode</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="FramebufferTexture3D" extension="Core">
|
<function name="GetTransformFeedbackVarying" extension="Core">
|
||||||
<param name="textarget"><type>TextureTarget</type></param>
|
<param name="type"><type>ActiveAttribType</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="GetFramebufferAttachmentParameter" extension="Core">
|
<function name="ClampColor" extension="Core">
|
||||||
<param name="pname"><type>FramebufferParameterName</type></param>
|
<param name="target"><type>ClampColorTarget</type></param>
|
||||||
</function>
|
<param name="clamp"><type>ClampColorMode</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
<function name="CheckFramebufferStatus" extension="Core">
|
<function name="RenderbufferStorage" extension="Core">
|
||||||
<returns>FramebufferErrorCode</returns>
|
<param name="internalformat"><type>RenderbufferStorage</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="GenerateMipmap" extension="Core">
|
<function name="GetRenderbufferParameter" extension="Core">
|
||||||
<param name="target"><type>GenerateMipmapTarget</type></param>
|
<param name="pname"><type>RenderbufferParameterName</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="BlitFramebuffer" extension="Core">
|
<function name="FramebufferTexture1D" extension="Core">
|
||||||
<param name="filter"><type>BlitFramebufferFilter</type></param>
|
<param name="textarget"><type>TextureTarget</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="RenderbufferStorageMultisample" extension="Core">
|
<function name="FramebufferTexture2D" extension="Core">
|
||||||
<param name="target"><type>RenderbufferTarget</type></param>
|
<param name="textarget"><type>TextureTarget</type></param>
|
||||||
<param name="internalformat"><type>RenderbufferStorage</type></param>
|
</function>
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="MapBufferRange" extension="Core">
|
<function name="FramebufferTexture3D" extension="Core">
|
||||||
<param name="target"><type>BufferTarget</type></param>
|
<param name="textarget"><type>TextureTarget</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="FlushMappedBufferRange" extension="Core">
|
<function name="GetFramebufferAttachmentParameter" extension="Core">
|
||||||
<param name="target"><type>BufferTarget</type></param>
|
<param name="pname"><type>FramebufferParameterName</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="CopyBufferSubData" extension="Core">
|
<function name="CheckFramebufferStatus" extension="Core">
|
||||||
<param name="readTarget"><type>BufferTarget</type></param>
|
<returns>FramebufferErrorCode</returns>
|
||||||
<param name="writeTarget"><type>BufferTarget</type></param>
|
</function>
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="VertexAttribIPointer" extension="Core">
|
<function name="GenerateMipmap" extension="Core">
|
||||||
<param name="type"><type>VertexAttribParameter</type></param>
|
<param name="target"><type>GenerateMipmapTarget</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="BeginConditionalRender" extension="Core">
|
<function name="BlitFramebuffer" extension="Core">
|
||||||
<param name="mode"><type>ConditionalRenderType</type></param>
|
<param name="filter"><type>BlitFramebufferFilter</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="ClearBuffer" extension="Core">
|
<function name="RenderbufferStorageMultisample" extension="Core">
|
||||||
<param name="buffer"><type>ClearBuffer</type></param>
|
<param name="target"><type>RenderbufferTarget</type></param>
|
||||||
</function>
|
<param name="internalformat"><type>RenderbufferStorage</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
<function name="GetString" extension="Core">
|
<function name="MapBufferRange" extension="Core">
|
||||||
<param name="name"><type>StringName</type></param>
|
<param name="target"><type>BufferTarget</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<!-- Version 3.1 -->
|
<function name="FlushMappedBufferRange" extension="Core">
|
||||||
|
<param name="target"><type>BufferTarget</type></param>
|
||||||
<function name="TexBuffer" extension="Core">
|
</function>
|
||||||
<param name="target"><type>TextureBufferTarget</type></param>
|
|
||||||
<param name="internalformat"><type>SizedInternalFormat</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<!-- Version 3.2 -->
|
|
||||||
|
|
||||||
<function name="TexImage2DMultisample" extension="Core">
|
<function name="CopyBufferSubData" extension="Core">
|
||||||
<param name="target"><type>TextureTargetMultisample</type></param>
|
<param name="readTarget"><type>BufferTarget</type></param>
|
||||||
<param name="internalformat"><type>PixelInternalFormat</type></param>
|
<param name="writeTarget"><type>BufferTarget</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="TexImage3DMultisample" extension="Core">
|
|
||||||
<param name="target"><type>TextureTargetMultisample</type></param>
|
|
||||||
<param name="internalformat"><type>PixelInternalFormat</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="GetMultisample" extension="Core">
|
|
||||||
<param name="pname"><type>GetMultisamplePName</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="ProvokingVertex" extension="Core">
|
|
||||||
<param name="mode"><type>ProvokingVertexMode</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="DrawElementsBaseVertex" extension="Core">
|
<function name="VertexAttribIPointer" extension="Core">
|
||||||
<param name="mode"><type>BeginMode</type></param>
|
<param name="type"><type>VertexAttribParameter</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="DrawRangeElementsBaseVertex" extension="Core">
|
<function name="BeginConditionalRender" extension="Core">
|
||||||
<param name="mode"><type>BeginMode</type></param>
|
<param name="mode"><type>ConditionalRenderType</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="DrawElementsInstancedBaseVertex" extension="Core">
|
<function name="ClearBuffer" extension="Core">
|
||||||
<param name="mode"><type>BeginMode</type></param>
|
<param name="buffer"><type>ClearBuffer</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="MultiDrawElementsBaseVertex" extension="Core">
|
<function name="GetString" extension="Core">
|
||||||
<param name="mode"><type>BeginMode</type></param>
|
<param name="name"><type>StringName</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<!-- Arb -->
|
<!-- Version 3.1 -->
|
||||||
|
|
||||||
|
<function name="TexBuffer" extension="Core">
|
||||||
|
<param name="target"><type>TextureBufferTarget</type></param>
|
||||||
|
<param name="internalformat"><type>SizedInternalFormat</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<!-- Version 3.2 -->
|
||||||
|
|
||||||
<function name="VertexAttribPointer" extension="Arb">
|
<function name="TexImage2DMultisample" extension="Core">
|
||||||
<param name="type"><type>VertexAttribPointerTypeArb</type></param>
|
<param name="target"><type>TextureTargetMultisample</type></param>
|
||||||
</function>
|
<param name="internalformat"><type>PixelInternalFormat</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="TexImage3DMultisample" extension="Core">
|
||||||
|
<param name="target"><type>TextureTargetMultisample</type></param>
|
||||||
|
<param name="internalformat"><type>PixelInternalFormat</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="GetMultisample" extension="Core">
|
||||||
|
<param name="pname"><type>GetMultisamplePName</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="ProvokingVertex" extension="Core">
|
||||||
|
<param name="mode"><type>ProvokingVertexMode</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
<function name="ProgramString" extension="Arb">
|
<function name="DrawElementsBaseVertex" extension="Core">
|
||||||
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
<param name="mode"><type>BeginMode</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="BindProgram" extension="Arb">
|
<function name="DrawRangeElementsBaseVertex" extension="Core">
|
||||||
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
<param name="mode"><type>BeginMode</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="ProgramEnvParameter4" extension="Arb">
|
<function name="DrawElementsInstancedBaseVertex" extension="Core">
|
||||||
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
<param name="mode"><type>BeginMode</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="ProgramLocalParameter4" extension="Arb">
|
<function name="MultiDrawElementsBaseVertex" extension="Core">
|
||||||
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
<param name="mode"><type>BeginMode</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="GetProgramEnvParameter4" extension="Arb">
|
<!-- Arb -->
|
||||||
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="GetProgramLocalParameter4" extension="Arb">
|
<function name="VertexAttribPointer" extension="Arb">
|
||||||
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
<param name="type"><type>VertexAttribPointerTypeArb</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="GetProgram" extension="Arb">
|
<function name="ProgramString" extension="Arb">
|
||||||
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
||||||
<param name="pname"><type>AssemblyProgramParameterArb</type></param>
|
</function>
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="GetProgramString" extension="Arb">
|
<function name="BindProgram" extension="Arb">
|
||||||
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
||||||
<param name="pname"><type>AssemblyProgramParameterArb</type></param>
|
</function>
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="GetVertexAttrib" extension="Arb">
|
<function name="ProgramEnvParameter4" extension="Arb">
|
||||||
<param name="pname"><type>VertexAttribParameterArb</type></param>
|
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="GetVertexAttribPointer" extension="Arb">
|
<function name="ProgramLocalParameter4" extension="Arb">
|
||||||
<param name="pname"><type>VertexAttribPointerParameterArb</type></param>
|
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="BindBuffer" extension="Arb">
|
<function name="GetProgramEnvParameter4" extension="Arb">
|
||||||
<param name="target"><type>BufferTargetArb</type></param>
|
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="BufferData" extension="Arb">
|
<function name="GetProgramLocalParameter4" extension="Arb">
|
||||||
<param name="target"><type>BufferTargetArb</type></param>
|
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
||||||
<param name="usage"><type>BufferUsageArb</type></param>
|
</function>
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="BufferSubData" extension="Arb">
|
<function name="GetProgram" extension="Arb">
|
||||||
<param name="target"><type>BufferTargetArb</type></param>
|
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
||||||
</function>
|
<param name="pname"><type>AssemblyProgramParameterArb</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
<function name="GetBufferSubData" extension="Arb">
|
<function name="GetProgramString" extension="Arb">
|
||||||
<param name="target"><type>BufferTargetArb</type></param>
|
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
||||||
</function>
|
<param name="pname"><type>AssemblyProgramParameterArb</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
<function name="MapBuffer" extension="Arb">
|
<function name="GetVertexAttrib" extension="Arb">
|
||||||
<param name="target"><type>BufferTargetArb</type></param>
|
<param name="pname"><type>VertexAttribParameterArb</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="UnmapBuffer" extension="Arb">
|
<function name="GetVertexAttribPointer" extension="Arb">
|
||||||
<param name="target"><type>BufferTargetArb</type></param>
|
<param name="pname"><type>VertexAttribPointerParameterArb</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="GetBufferParameter" extension="Arb">
|
<function name="BindBuffer" extension="Arb">
|
||||||
<param name="pname"><type>BufferParameterNameArb</type></param>
|
<param name="target"><type>BufferTargetArb</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="GetBufferPointer" extension="Arb">
|
<function name="BufferData" extension="Arb">
|
||||||
<param name="pname"><type>BufferPointerNameArb</type></param>
|
<param name="target"><type>BufferTargetArb</type></param>
|
||||||
</function>
|
<param name="usage"><type>BufferUsageArb</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
<!-- Ext -->
|
<function name="BufferSubData" extension="Arb">
|
||||||
|
<param name="target"><type>BufferTargetArb</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
<function name="TangentPointer" extension="Ext">
|
<function name="GetBufferSubData" extension="Arb">
|
||||||
<param name="type"><type>NormalPointerType</type></param>
|
<param name="target"><type>BufferTargetArb</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="BinormalPointer" extension="Ext">
|
<function name="MapBuffer" extension="Arb">
|
||||||
<param name="type"><type>NormalPointerType</type></param>
|
<param name="target"><type>BufferTargetArb</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="RenderbufferStorage" extension="Ext">
|
<function name="UnmapBuffer" extension="Arb">
|
||||||
<param name="internalformat"><type>RenderbufferStorage</type></param>
|
<param name="target"><type>BufferTargetArb</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="GetRenderbufferParameter" extension="Ext">
|
<function name="GetBufferParameter" extension="Arb">
|
||||||
<param name="pname"><type>RenderbufferParameterName</type></param>
|
<param name="pname"><type>BufferParameterNameArb</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="CheckFramebufferStatus" extension="Ext">
|
<function name="GetBufferPointer" extension="Arb">
|
||||||
<returns>FramebufferErrorCode</returns>
|
<param name="pname"><type>BufferPointerNameArb</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="FramebufferTexture1D" extension="Ext">
|
<!-- Ext -->
|
||||||
<param name="textarget"><type>TextureTarget</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="FramebufferTexture2D" extension="Ext">
|
<function name="TangentPointer" extension="Ext">
|
||||||
<param name="textarget"><type>TextureTarget</type></param>
|
<param name="type"><type>NormalPointerType</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="FramebufferTexture3D" extension="Ext">
|
<function name="BinormalPointer" extension="Ext">
|
||||||
<param name="textarget"><type>TextureTarget</type></param>
|
<param name="type"><type>NormalPointerType</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="GetFramebufferAttachmentParameter" extension="Ext">
|
<function name="RenderbufferStorage" extension="Ext">
|
||||||
<param name="pname"><type>FramebufferParameterName</type></param>
|
<param name="internalformat"><type>RenderbufferStorage</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="GenerateMipmap" extension="Ext">
|
<function name="GetRenderbufferParameter" extension="Ext">
|
||||||
<param name="target"><type>GenerateMipmapTarget</type></param>
|
<param name="pname"><type>RenderbufferParameterName</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="BlitFramebuffer">
|
<function name="CheckFramebufferStatus" extension="Ext">
|
||||||
<param name="filter"><type>BlitFramebufferFilter</type></param>
|
<returns>FramebufferErrorCode</returns>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="RenderbufferStorageMultisample">
|
<function name="FramebufferTexture1D" extension="Ext">
|
||||||
<param name="target"><type>RenderbufferTarget</type></param>
|
<param name="textarget"><type>TextureTarget</type></param>
|
||||||
<param name="internalformat"><type>RenderbufferStorage</type></param>
|
</function>
|
||||||
</function>
|
|
||||||
|
|
||||||
<!-- Apple -->
|
<function name="FramebufferTexture2D" extension="Ext">
|
||||||
|
<param name="textarget"><type>TextureTarget</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
<function name="BufferParameter" extension="Apple">
|
<function name="FramebufferTexture3D" extension="Ext">
|
||||||
<param name="target"><type>BufferTarget</type></param>
|
<param name="textarget"><type>TextureTarget</type></param>
|
||||||
<param name="pname"><type>BufferParameterApple</type></param>
|
</function>
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="FlushMappedBufferRange" extension="Apple">
|
<function name="GetFramebufferAttachmentParameter" extension="Ext">
|
||||||
<param name="target"><type>BufferTarget</type></param>
|
<param name="pname"><type>FramebufferParameterName</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
|
<function name="GenerateMipmap" extension="Ext">
|
||||||
|
<param name="target"><type>GenerateMipmapTarget</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
<!-- IBM -->
|
<function name="BlitFramebuffer">
|
||||||
|
<param name="filter"><type>BlitFramebufferFilter</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
<function name="FogCoordPointerList" extension="IBM">
|
<function name="RenderbufferStorageMultisample">
|
||||||
<param name="type"><type>FogPointerType</type></param>
|
<param name="target"><type>RenderbufferTarget</type></param>
|
||||||
</function>
|
<param name="internalformat"><type>RenderbufferStorage</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
<!-- NV -->
|
<!-- Apple -->
|
||||||
|
|
||||||
<function name="BindProgram" extension="NV">
|
<function name="BufferParameter" extension="Apple">
|
||||||
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
<param name="target"><type>BufferTarget</type></param>
|
||||||
</function>
|
<param name="pname"><type>BufferParameterApple</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
<function name="ExecuteProgram" extension="NV">
|
<function name="FlushMappedBufferRange" extension="Apple">
|
||||||
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
<param name="target"><type>BufferTarget</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="GetProgramParameter" extension="NV">
|
|
||||||
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
|
||||||
<param name="pname"><type>AssemblyProgramParameterArb</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="GetProgram" extension="NV">
|
<!-- IBM -->
|
||||||
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="GetProgramString" extension="NV">
|
<function name="FogCoordPointerList" extension="IBM">
|
||||||
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
<param name="type"><type>FogPointerType</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="GetTrackMatrix" extension="NV">
|
<!-- NV -->
|
||||||
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
|
||||||
<param name="pname"><type>AssemblyProgramParameterArb</type></param>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<function name="GetVertexAttrib" extension="NV">
|
<function name="BindProgram" extension="NV">
|
||||||
<param name="target"><type>VertexAttribParameterArb</type></param>
|
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="GetVertexAttribPointer" extension="NV">
|
<function name="ExecuteProgram" extension="NV">
|
||||||
<param name="target"><type>VertexAttribParameterPointerArb</type></param>
|
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="LoadProgram" extension="NV">
|
<function name="GetProgramParameter" extension="NV">
|
||||||
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
||||||
</function>
|
<param name="pname"><type>AssemblyProgramParameterArb</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
<function name="ProgramParameter4" extension="NV">
|
<function name="GetProgram" extension="NV">
|
||||||
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="ProgramParameters4" extension="NV">
|
<function name="GetProgramString" extension="NV">
|
||||||
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="TrackMatrix" extension="NV">
|
<function name="GetTrackMatrix" extension="NV">
|
||||||
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
||||||
</function>
|
<param name="pname"><type>AssemblyProgramParameterArb</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
<function name="VertexAttribPointer" extension="NV">
|
<function name="GetVertexAttrib" extension="NV">
|
||||||
<param name="type"><type>VertexAttribParameterArb</type></param>
|
<param name="target"><type>VertexAttribParameterArb</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
|
<function name="GetVertexAttribPointer" extension="NV">
|
||||||
|
<param name="target"><type>VertexAttribParameterPointerArb</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="LoadProgram" extension="NV">
|
||||||
|
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="ProgramParameter4" extension="NV">
|
||||||
|
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="ProgramParameters4" extension="NV">
|
||||||
|
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="TrackMatrix" extension="NV">
|
||||||
|
<param name="target"><type>AssemblyProgramTargetArb</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="VertexAttribPointer" extension="NV">
|
||||||
|
<param name="type"><type>VertexAttribParameterArb</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
</replace>
|
||||||
|
|
||||||
</overrides>
|
</overrides>
|
||||||
|
|
|
@ -599,7 +599,7 @@ namespace Bind.Structures
|
||||||
if (overrides == null)
|
if (overrides == null)
|
||||||
throw new ArgumentNullException("overrides");
|
throw new ArgumentNullException("overrides");
|
||||||
|
|
||||||
string path = "/overrides/function[@name='{0}' and @extension='{1}']";
|
string path = "/overrides/replace/function[@name='{0}' and @extension='{1}']";
|
||||||
string name = TrimName(Name, false);
|
string name = TrimName(Name, false);
|
||||||
XPathNavigator function_override = overrides.CreateNavigator().SelectSingleNode(String.Format(path, name, Extension));
|
XPathNavigator function_override = overrides.CreateNavigator().SelectSingleNode(String.Format(path, name, Extension));
|
||||||
|
|
||||||
|
|
|
@ -228,7 +228,7 @@ namespace Bind.Structures
|
||||||
if (overrides == null)
|
if (overrides == null)
|
||||||
throw new ArgumentNullException("overrides");
|
throw new ArgumentNullException("overrides");
|
||||||
|
|
||||||
string path = "/overrides/enum[@name='{0}']";
|
string path = "/overrides/replace/enum[@name='{0}']";
|
||||||
|
|
||||||
// Translate enum names.
|
// Translate enum names.
|
||||||
{
|
{
|
||||||
|
|
|
@ -384,7 +384,7 @@ namespace Bind.Structures
|
||||||
// Make sure that enum parameters follow enum overrides, i.e.
|
// Make sure that enum parameters follow enum overrides, i.e.
|
||||||
// if enum ErrorCodes is overriden to ErrorCode, then parameters
|
// if enum ErrorCodes is overriden to ErrorCode, then parameters
|
||||||
// of type ErrorCodes should also be overriden to ErrorCode.
|
// of type ErrorCodes should also be overriden to ErrorCode.
|
||||||
XPathNavigator enum_override = overrides.SelectSingleNode(String.Format("/overrides/enum[@name='{0}']/name", CurrentType));
|
XPathNavigator enum_override = overrides.SelectSingleNode(String.Format("/overrides/replace/enum[@name='{0}']/name", CurrentType));
|
||||||
if (enum_override != null)
|
if (enum_override != null)
|
||||||
CurrentType = enum_override.Value;
|
CurrentType = enum_override.Value;
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -33,10 +33,10 @@ namespace OpenTK.Compute.CL10
|
||||||
|
|
||||||
public enum AddressingMode : int
|
public enum AddressingMode : int
|
||||||
{
|
{
|
||||||
AddressNone = ((int)0X1130),
|
AddressNone = ((int)0x1130),
|
||||||
AddressClampToEdge = ((int)0X1131),
|
AddressClampToEdge = ((int)0x1131),
|
||||||
AddressClamp = ((int)0X1132),
|
AddressClamp = ((int)0x1132),
|
||||||
AddressRepeat = ((int)0X1133),
|
AddressRepeat = ((int)0x1133),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum All : int
|
public enum All : int
|
||||||
|
@ -69,176 +69,176 @@ namespace OpenTK.Compute.CL10
|
||||||
BuildSuccess = ((int)0),
|
BuildSuccess = ((int)0),
|
||||||
False = ((int)0),
|
False = ((int)0),
|
||||||
Success = ((int)0),
|
Success = ((int)0),
|
||||||
Complete = ((int)0X0),
|
Complete = ((int)0x0),
|
||||||
None = ((int)0X0),
|
None = ((int)0x0),
|
||||||
PlatformProfile = ((int)0X0900),
|
PlatformProfile = ((int)0x0900),
|
||||||
PlatformVersion = ((int)0X0901),
|
PlatformVersion = ((int)0x0901),
|
||||||
PlatformName = ((int)0X0902),
|
PlatformName = ((int)0x0902),
|
||||||
PlatformVendor = ((int)0X0903),
|
PlatformVendor = ((int)0x0903),
|
||||||
PlatformExtensions = ((int)0X0904),
|
PlatformExtensions = ((int)0x0904),
|
||||||
Local = ((int)0X1),
|
Local = ((int)0x1),
|
||||||
ReadOnlyCache = ((int)0X1),
|
ReadOnlyCache = ((int)0x1),
|
||||||
Running = ((int)0X1),
|
Running = ((int)0x1),
|
||||||
DeviceType = ((int)0X1000),
|
DeviceType = ((int)0x1000),
|
||||||
DeviceVendorId = ((int)0X1001),
|
DeviceVendorId = ((int)0x1001),
|
||||||
DeviceMaxComputeUnits = ((int)0X1002),
|
DeviceMaxComputeUnits = ((int)0x1002),
|
||||||
DeviceMaxWorkItemDimensions = ((int)0X1003),
|
DeviceMaxWorkItemDimensions = ((int)0x1003),
|
||||||
DeviceMaxWorkGroupSize = ((int)0X1004),
|
DeviceMaxWorkGroupSize = ((int)0x1004),
|
||||||
DeviceMaxWorkItemSizes = ((int)0X1005),
|
DeviceMaxWorkItemSizes = ((int)0x1005),
|
||||||
DevicePreferredVectorWidthChar = ((int)0X1006),
|
DevicePreferredVectorWidthChar = ((int)0x1006),
|
||||||
DevicePreferredVectorWidthShort = ((int)0X1007),
|
DevicePreferredVectorWidthShort = ((int)0x1007),
|
||||||
DevicePreferredVectorWidthInt = ((int)0X1008),
|
DevicePreferredVectorWidthInt = ((int)0x1008),
|
||||||
DevicePreferredVectorWidthLong = ((int)0X1009),
|
DevicePreferredVectorWidthLong = ((int)0x1009),
|
||||||
DevicePreferredVectorWidthFloat = ((int)0X100a),
|
DevicePreferredVectorWidthFloat = ((int)0x100A),
|
||||||
DevicePreferredVectorWidthDouble = ((int)0X100b),
|
DevicePreferredVectorWidthDouble = ((int)0x100B),
|
||||||
DeviceMaxClockFrequency = ((int)0X100c),
|
DeviceMaxClockFrequency = ((int)0x100C),
|
||||||
DeviceAddressBits = ((int)0X100d),
|
DeviceAddressBits = ((int)0x100D),
|
||||||
DeviceMaxReadImageArgs = ((int)0X100e),
|
DeviceMaxReadImageArgs = ((int)0x100E),
|
||||||
DeviceMaxWriteImageArgs = ((int)0X100f),
|
DeviceMaxWriteImageArgs = ((int)0x100F),
|
||||||
DeviceMaxMemAllocSize = ((int)0X1010),
|
DeviceMaxMemAllocSize = ((int)0x1010),
|
||||||
DeviceImage2dMaxWidth = ((int)0X1011),
|
DeviceImage2dMaxWidth = ((int)0x1011),
|
||||||
DeviceImage2dMaxHeight = ((int)0X1012),
|
DeviceImage2dMaxHeight = ((int)0x1012),
|
||||||
DeviceImage3dMaxWidth = ((int)0X1013),
|
DeviceImage3dMaxWidth = ((int)0x1013),
|
||||||
DeviceImage3dMaxHeight = ((int)0X1014),
|
DeviceImage3dMaxHeight = ((int)0x1014),
|
||||||
DeviceImage3dMaxDepth = ((int)0X1015),
|
DeviceImage3dMaxDepth = ((int)0x1015),
|
||||||
DeviceImageSupport = ((int)0X1016),
|
DeviceImageSupport = ((int)0x1016),
|
||||||
DeviceMaxParameterSize = ((int)0X1017),
|
DeviceMaxParameterSize = ((int)0x1017),
|
||||||
DeviceMaxSamplers = ((int)0X1018),
|
DeviceMaxSamplers = ((int)0x1018),
|
||||||
DeviceMemBaseAddrAlign = ((int)0X1019),
|
DeviceMemBaseAddrAlign = ((int)0x1019),
|
||||||
DeviceMinDataTypeAlignSize = ((int)0X101a),
|
DeviceMinDataTypeAlignSize = ((int)0x101A),
|
||||||
DeviceSingleFpConfig = ((int)0X101b),
|
DeviceSingleFpConfig = ((int)0x101B),
|
||||||
DeviceGlobalMemCacheType = ((int)0X101c),
|
DeviceGlobalMemCacheType = ((int)0x101C),
|
||||||
DeviceGlobalMemCachelineSize = ((int)0X101d),
|
DeviceGlobalMemCachelineSize = ((int)0x101D),
|
||||||
DeviceGlobalMemCacheSize = ((int)0X101e),
|
DeviceGlobalMemCacheSize = ((int)0x101E),
|
||||||
DeviceGlobalMemSize = ((int)0X101f),
|
DeviceGlobalMemSize = ((int)0x101F),
|
||||||
DeviceMaxConstantBufferSize = ((int)0X1020),
|
DeviceMaxConstantBufferSize = ((int)0x1020),
|
||||||
DeviceMaxConstantArgs = ((int)0X1021),
|
DeviceMaxConstantArgs = ((int)0x1021),
|
||||||
DeviceLocalMemType = ((int)0X1022),
|
DeviceLocalMemType = ((int)0x1022),
|
||||||
DeviceLocalMemSize = ((int)0X1023),
|
DeviceLocalMemSize = ((int)0x1023),
|
||||||
DeviceErrorCorrectionSupport = ((int)0X1024),
|
DeviceErrorCorrectionSupport = ((int)0x1024),
|
||||||
DeviceProfilingTimerResolution = ((int)0X1025),
|
DeviceProfilingTimerResolution = ((int)0x1025),
|
||||||
DeviceEndianLittle = ((int)0X1026),
|
DeviceEndianLittle = ((int)0x1026),
|
||||||
DeviceAvailable = ((int)0X1027),
|
DeviceAvailable = ((int)0x1027),
|
||||||
DeviceCompilerAvailable = ((int)0X1028),
|
DeviceCompilerAvailable = ((int)0x1028),
|
||||||
DeviceExecutionCapabilities = ((int)0X1029),
|
DeviceExecutionCapabilities = ((int)0x1029),
|
||||||
DeviceQueueProperties = ((int)0X102a),
|
DeviceQueueProperties = ((int)0x102A),
|
||||||
DeviceName = ((int)0X102b),
|
DeviceName = ((int)0x102B),
|
||||||
DeviceVendor = ((int)0X102c),
|
DeviceVendor = ((int)0x102C),
|
||||||
DriverVersion = ((int)0X102d),
|
DriverVersion = ((int)0x102D),
|
||||||
DeviceProfile = ((int)0X102e),
|
DeviceProfile = ((int)0x102E),
|
||||||
DeviceVersion = ((int)0X102f),
|
DeviceVersion = ((int)0x102F),
|
||||||
DeviceExtensions = ((int)0X1030),
|
DeviceExtensions = ((int)0x1030),
|
||||||
DevicePlatform = ((int)0X1031),
|
DevicePlatform = ((int)0x1031),
|
||||||
ContextReferenceCount = ((int)0X1080),
|
ContextReferenceCount = ((int)0x1080),
|
||||||
ContextDevices = ((int)0X1081),
|
ContextDevices = ((int)0x1081),
|
||||||
ContextProperties = ((int)0X1082),
|
ContextProperties = ((int)0x1082),
|
||||||
ContextPlatform = ((int)0X1084),
|
ContextPlatform = ((int)0x1084),
|
||||||
QueueContext = ((int)0X1090),
|
QueueContext = ((int)0x1090),
|
||||||
QueueDevice = ((int)0X1091),
|
QueueDevice = ((int)0x1091),
|
||||||
QueueReferenceCount = ((int)0X1092),
|
QueueReferenceCount = ((int)0x1092),
|
||||||
QueueProperties = ((int)0X1093),
|
QueueProperties = ((int)0x1093),
|
||||||
R = ((int)0X10b0),
|
R = ((int)0x10B0),
|
||||||
A = ((int)0X10b1),
|
A = ((int)0x10B1),
|
||||||
Rg = ((int)0X10b2),
|
Rg = ((int)0x10B2),
|
||||||
Ra = ((int)0X10b3),
|
Ra = ((int)0x10B3),
|
||||||
Rgb = ((int)0X10b4),
|
Rgb = ((int)0x10B4),
|
||||||
Rgba = ((int)0X10b5),
|
Rgba = ((int)0x10B5),
|
||||||
Bgra = ((int)0X10b6),
|
Bgra = ((int)0x10B6),
|
||||||
Argb = ((int)0X10b7),
|
Argb = ((int)0x10B7),
|
||||||
Intensity = ((int)0X10b8),
|
Intensity = ((int)0x10B8),
|
||||||
Luminance = ((int)0X10b9),
|
Luminance = ((int)0x10B9),
|
||||||
SnormInt8 = ((int)0X10d0),
|
SnormInt8 = ((int)0x10D0),
|
||||||
SnormInt16 = ((int)0X10d1),
|
SnormInt16 = ((int)0x10D1),
|
||||||
UnormInt8 = ((int)0X10d2),
|
UnormInt8 = ((int)0x10D2),
|
||||||
UnormInt16 = ((int)0X10d3),
|
UnormInt16 = ((int)0x10D3),
|
||||||
UnormShort565 = ((int)0X10d4),
|
UnormShort565 = ((int)0x10D4),
|
||||||
UnormShort555 = ((int)0X10d5),
|
UnormShort555 = ((int)0x10D5),
|
||||||
UnormInt101010 = ((int)0X10d6),
|
UnormInt101010 = ((int)0x10D6),
|
||||||
SignedInt8 = ((int)0X10d7),
|
SignedInt8 = ((int)0x10D7),
|
||||||
SignedInt16 = ((int)0X10d8),
|
SignedInt16 = ((int)0x10D8),
|
||||||
SignedInt32 = ((int)0X10d9),
|
SignedInt32 = ((int)0x10D9),
|
||||||
UnsignedInt8 = ((int)0X10da),
|
UnsignedInt8 = ((int)0x10DA),
|
||||||
UnsignedInt16 = ((int)0X10db),
|
UnsignedInt16 = ((int)0x10DB),
|
||||||
UnsignedInt32 = ((int)0X10dc),
|
UnsignedInt32 = ((int)0x10DC),
|
||||||
HalfFloat = ((int)0X10dd),
|
HalfFloat = ((int)0x10DD),
|
||||||
Float = ((int)0X10de),
|
Float = ((int)0x10DE),
|
||||||
MemObjectBuffer = ((int)0X10f0),
|
MemObjectBuffer = ((int)0x10F0),
|
||||||
MemObjectImage2d = ((int)0X10f1),
|
MemObjectImage2d = ((int)0x10F1),
|
||||||
MemObjectImage3d = ((int)0X10f2),
|
MemObjectImage3d = ((int)0x10F2),
|
||||||
MemType = ((int)0X1100),
|
MemType = ((int)0x1100),
|
||||||
MemFlags = ((int)0X1101),
|
MemFlags = ((int)0x1101),
|
||||||
MemSize = ((int)0X1102),
|
MemSize = ((int)0x1102),
|
||||||
MemHostPtr = ((int)0X1103),
|
MemHostPtr = ((int)0x1103),
|
||||||
MemMapCount = ((int)0X1104),
|
MemMapCount = ((int)0x1104),
|
||||||
MemReferenceCount = ((int)0X1105),
|
MemReferenceCount = ((int)0x1105),
|
||||||
MemContext = ((int)0X1106),
|
MemContext = ((int)0x1106),
|
||||||
ImageFormat = ((int)0X1110),
|
ImageFormat = ((int)0x1110),
|
||||||
ImageElementSize = ((int)0X1111),
|
ImageElementSize = ((int)0x1111),
|
||||||
ImageRowPitch = ((int)0X1112),
|
ImageRowPitch = ((int)0x1112),
|
||||||
ImageSlicePitch = ((int)0X1113),
|
ImageSlicePitch = ((int)0x1113),
|
||||||
ImageWidth = ((int)0X1114),
|
ImageWidth = ((int)0x1114),
|
||||||
ImageHeight = ((int)0X1115),
|
ImageHeight = ((int)0x1115),
|
||||||
ImageDepth = ((int)0X1116),
|
ImageDepth = ((int)0x1116),
|
||||||
AddressNone = ((int)0X1130),
|
AddressNone = ((int)0x1130),
|
||||||
AddressClampToEdge = ((int)0X1131),
|
AddressClampToEdge = ((int)0x1131),
|
||||||
AddressClamp = ((int)0X1132),
|
AddressClamp = ((int)0x1132),
|
||||||
AddressRepeat = ((int)0X1133),
|
AddressRepeat = ((int)0x1133),
|
||||||
FilterNearest = ((int)0X1140),
|
FilterNearest = ((int)0x1140),
|
||||||
FilterLinear = ((int)0X1141),
|
FilterLinear = ((int)0x1141),
|
||||||
SamplerReferenceCount = ((int)0X1150),
|
SamplerReferenceCount = ((int)0x1150),
|
||||||
SamplerContext = ((int)0X1151),
|
SamplerContext = ((int)0x1151),
|
||||||
SamplerNormalizedCoords = ((int)0X1152),
|
SamplerNormalizedCoords = ((int)0x1152),
|
||||||
SamplerAddressingMode = ((int)0X1153),
|
SamplerAddressingMode = ((int)0x1153),
|
||||||
SamplerFilterMode = ((int)0X1154),
|
SamplerFilterMode = ((int)0x1154),
|
||||||
ProgramReferenceCount = ((int)0X1160),
|
ProgramReferenceCount = ((int)0x1160),
|
||||||
ProgramContext = ((int)0X1161),
|
ProgramContext = ((int)0x1161),
|
||||||
ProgramNumDevices = ((int)0X1162),
|
ProgramNumDevices = ((int)0x1162),
|
||||||
ProgramDevices = ((int)0X1163),
|
ProgramDevices = ((int)0x1163),
|
||||||
ProgramSource = ((int)0X1164),
|
ProgramSource = ((int)0x1164),
|
||||||
ProgramBinarySizes = ((int)0X1165),
|
ProgramBinarySizes = ((int)0x1165),
|
||||||
ProgramBinaries = ((int)0X1166),
|
ProgramBinaries = ((int)0x1166),
|
||||||
ProgramBuildStatus = ((int)0X1181),
|
ProgramBuildStatus = ((int)0x1181),
|
||||||
ProgramBuildOptions = ((int)0X1182),
|
ProgramBuildOptions = ((int)0x1182),
|
||||||
ProgramBuildLog = ((int)0X1183),
|
ProgramBuildLog = ((int)0x1183),
|
||||||
KernelFunctionName = ((int)0X1190),
|
KernelFunctionName = ((int)0x1190),
|
||||||
KernelNumArgs = ((int)0X1191),
|
KernelNumArgs = ((int)0x1191),
|
||||||
KernelReferenceCount = ((int)0X1192),
|
KernelReferenceCount = ((int)0x1192),
|
||||||
KernelContext = ((int)0X1193),
|
KernelContext = ((int)0x1193),
|
||||||
KernelProgram = ((int)0X1194),
|
KernelProgram = ((int)0x1194),
|
||||||
KernelWorkGroupSize = ((int)0X11b0),
|
KernelWorkGroupSize = ((int)0x11B0),
|
||||||
KernelCompileWorkGroupSize = ((int)0X11b1),
|
KernelCompileWorkGroupSize = ((int)0x11B1),
|
||||||
KernelLocalMemSize = ((int)0X11b2),
|
KernelLocalMemSize = ((int)0x11B2),
|
||||||
EventCommandQueue = ((int)0X11d0),
|
EventCommandQueue = ((int)0x11D0),
|
||||||
EventCommandType = ((int)0X11d1),
|
EventCommandType = ((int)0x11D1),
|
||||||
EventReferenceCount = ((int)0X11d2),
|
EventReferenceCount = ((int)0x11D2),
|
||||||
EventCommandExecutionStatus = ((int)0X11d3),
|
EventCommandExecutionStatus = ((int)0x11D3),
|
||||||
CommandNdrangeKernel = ((int)0X11f0),
|
CommandNdrangeKernel = ((int)0x11F0),
|
||||||
CommandTask = ((int)0X11f1),
|
CommandTask = ((int)0x11F1),
|
||||||
CommandNativeKernel = ((int)0X11f2),
|
CommandNativeKernel = ((int)0x11F2),
|
||||||
CommandReadBuffer = ((int)0X11f3),
|
CommandReadBuffer = ((int)0x11F3),
|
||||||
CommandWriteBuffer = ((int)0X11f4),
|
CommandWriteBuffer = ((int)0x11F4),
|
||||||
CommandCopyBuffer = ((int)0X11f5),
|
CommandCopyBuffer = ((int)0x11F5),
|
||||||
CommandReadImage = ((int)0X11f6),
|
CommandReadImage = ((int)0x11F6),
|
||||||
CommandWriteImage = ((int)0X11f7),
|
CommandWriteImage = ((int)0x11F7),
|
||||||
CommandCopyImage = ((int)0X11f8),
|
CommandCopyImage = ((int)0x11F8),
|
||||||
CommandCopyImageToBuffer = ((int)0X11f9),
|
CommandCopyImageToBuffer = ((int)0x11F9),
|
||||||
CommandCopyBufferToImage = ((int)0X11fa),
|
CommandCopyBufferToImage = ((int)0x11FA),
|
||||||
CommandMapBuffer = ((int)0X11fb),
|
CommandMapBuffer = ((int)0x11FB),
|
||||||
CommandMapImage = ((int)0X11fc),
|
CommandMapImage = ((int)0x11FC),
|
||||||
CommandUnmapMemObject = ((int)0X11fd),
|
CommandUnmapMemObject = ((int)0x11FD),
|
||||||
CommandMarker = ((int)0X11fe),
|
CommandMarker = ((int)0x11FE),
|
||||||
CommandAcquireGlObjects = ((int)0X11ff),
|
CommandAcquireGlObjects = ((int)0x11FF),
|
||||||
CommandReleaseGlObjects = ((int)0X1200),
|
CommandReleaseGlObjects = ((int)0x1200),
|
||||||
ProfilingCommandQueued = ((int)0X1280),
|
ProfilingCommandQueued = ((int)0x1280),
|
||||||
ProfilingCommandSubmit = ((int)0X1281),
|
ProfilingCommandSubmit = ((int)0x1281),
|
||||||
ProfilingCommandStart = ((int)0X1282),
|
ProfilingCommandStart = ((int)0x1282),
|
||||||
ProfilingCommandEnd = ((int)0X1283),
|
ProfilingCommandEnd = ((int)0x1283),
|
||||||
Global = ((int)0X2),
|
Global = ((int)0x2),
|
||||||
ReadWriteCache = ((int)0X2),
|
ReadWriteCache = ((int)0x2),
|
||||||
Submitted = ((int)0X2),
|
Submitted = ((int)0x2),
|
||||||
Queued = ((int)0X3),
|
Queued = ((int)0x3),
|
||||||
DeviceTypeAll = unchecked((int)0Xffffffff),
|
UintMax = unchecked((int)0xffffffff),
|
||||||
UintMax = unchecked((int)0Xffffffff),
|
DeviceTypeAll = unchecked((int)0xFFFFFFFF),
|
||||||
True = ((int)1),
|
True = ((int)1),
|
||||||
Version10 = ((int)1),
|
Version10 = ((int)1),
|
||||||
BuildNone = ((int)-1),
|
BuildNone = ((int)-1),
|
||||||
|
@ -323,43 +323,43 @@ namespace OpenTK.Compute.CL10
|
||||||
|
|
||||||
public enum ChannelOrder : int
|
public enum ChannelOrder : int
|
||||||
{
|
{
|
||||||
R = ((int)0X10b0),
|
R = ((int)0x10B0),
|
||||||
A = ((int)0X10b1),
|
A = ((int)0x10B1),
|
||||||
Rg = ((int)0X10b2),
|
Rg = ((int)0x10B2),
|
||||||
Ra = ((int)0X10b3),
|
Ra = ((int)0x10B3),
|
||||||
Rgb = ((int)0X10b4),
|
Rgb = ((int)0x10B4),
|
||||||
Rgba = ((int)0X10b5),
|
Rgba = ((int)0x10B5),
|
||||||
Bgra = ((int)0X10b6),
|
Bgra = ((int)0x10B6),
|
||||||
Argb = ((int)0X10b7),
|
Argb = ((int)0x10B7),
|
||||||
Intensity = ((int)0X10b8),
|
Intensity = ((int)0x10B8),
|
||||||
Luminance = ((int)0X10b9),
|
Luminance = ((int)0x10B9),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum ChannelType : int
|
public enum ChannelType : int
|
||||||
{
|
{
|
||||||
SnormInt8 = ((int)0X10d0),
|
SnormInt8 = ((int)0x10D0),
|
||||||
SnormInt16 = ((int)0X10d1),
|
SnormInt16 = ((int)0x10D1),
|
||||||
UnormInt8 = ((int)0X10d2),
|
UnormInt8 = ((int)0x10D2),
|
||||||
UnormInt16 = ((int)0X10d3),
|
UnormInt16 = ((int)0x10D3),
|
||||||
UnormShort565 = ((int)0X10d4),
|
UnormShort565 = ((int)0x10D4),
|
||||||
UnormShort555 = ((int)0X10d5),
|
UnormShort555 = ((int)0x10D5),
|
||||||
UnormInt101010 = ((int)0X10d6),
|
UnormInt101010 = ((int)0x10D6),
|
||||||
SignedInt8 = ((int)0X10d7),
|
SignedInt8 = ((int)0x10D7),
|
||||||
SignedInt16 = ((int)0X10d8),
|
SignedInt16 = ((int)0x10D8),
|
||||||
SignedInt32 = ((int)0X10d9),
|
SignedInt32 = ((int)0x10D9),
|
||||||
UnsignedInt8 = ((int)0X10da),
|
UnsignedInt8 = ((int)0x10DA),
|
||||||
UnsignedInt16 = ((int)0X10db),
|
UnsignedInt16 = ((int)0x10DB),
|
||||||
UnsignedInt32 = ((int)0X10dc),
|
UnsignedInt32 = ((int)0x10DC),
|
||||||
HalfFloat = ((int)0X10dd),
|
HalfFloat = ((int)0x10DD),
|
||||||
Float = ((int)0X10de),
|
Float = ((int)0x10DE),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum CommandExecutionStatus : int
|
public enum CommandExecutionStatus : int
|
||||||
{
|
{
|
||||||
Complete = ((int)0X0),
|
Complete = ((int)0x0),
|
||||||
Running = ((int)0X1),
|
Running = ((int)0x1),
|
||||||
Submitted = ((int)0X2),
|
Submitted = ((int)0x2),
|
||||||
Queued = ((int)0X3),
|
Queued = ((int)0x3),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum CommandQueueFlags : long
|
public enum CommandQueueFlags : long
|
||||||
|
@ -370,43 +370,43 @@ namespace OpenTK.Compute.CL10
|
||||||
|
|
||||||
public enum CommandQueueInfo : int
|
public enum CommandQueueInfo : int
|
||||||
{
|
{
|
||||||
QueueContext = ((int)0X1090),
|
QueueContext = ((int)0x1090),
|
||||||
QueueDevice = ((int)0X1091),
|
QueueDevice = ((int)0x1091),
|
||||||
QueueReferenceCount = ((int)0X1092),
|
QueueReferenceCount = ((int)0x1092),
|
||||||
QueueProperties = ((int)0X1093),
|
QueueProperties = ((int)0x1093),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum CommandType : int
|
public enum CommandType : int
|
||||||
{
|
{
|
||||||
CommandNdrangeKernel = ((int)0X11f0),
|
CommandNdrangeKernel = ((int)0x11F0),
|
||||||
CommandTask = ((int)0X11f1),
|
CommandTask = ((int)0x11F1),
|
||||||
CommandNativeKernel = ((int)0X11f2),
|
CommandNativeKernel = ((int)0x11F2),
|
||||||
CommandReadBuffer = ((int)0X11f3),
|
CommandReadBuffer = ((int)0x11F3),
|
||||||
CommandWriteBuffer = ((int)0X11f4),
|
CommandWriteBuffer = ((int)0x11F4),
|
||||||
CommandCopyBuffer = ((int)0X11f5),
|
CommandCopyBuffer = ((int)0x11F5),
|
||||||
CommandReadImage = ((int)0X11f6),
|
CommandReadImage = ((int)0x11F6),
|
||||||
CommandWriteImage = ((int)0X11f7),
|
CommandWriteImage = ((int)0x11F7),
|
||||||
CommandCopyImage = ((int)0X11f8),
|
CommandCopyImage = ((int)0x11F8),
|
||||||
CommandCopyImageToBuffer = ((int)0X11f9),
|
CommandCopyImageToBuffer = ((int)0x11F9),
|
||||||
CommandCopyBufferToImage = ((int)0X11fa),
|
CommandCopyBufferToImage = ((int)0x11FA),
|
||||||
CommandMapBuffer = ((int)0X11fb),
|
CommandMapBuffer = ((int)0x11FB),
|
||||||
CommandMapImage = ((int)0X11fc),
|
CommandMapImage = ((int)0x11FC),
|
||||||
CommandUnmapMemObject = ((int)0X11fd),
|
CommandUnmapMemObject = ((int)0x11FD),
|
||||||
CommandMarker = ((int)0X11fe),
|
CommandMarker = ((int)0x11FE),
|
||||||
CommandAcquireGlObjects = ((int)0X11ff),
|
CommandAcquireGlObjects = ((int)0x11FF),
|
||||||
CommandReleaseGlObjects = ((int)0X1200),
|
CommandReleaseGlObjects = ((int)0x1200),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum ContextInfo : int
|
public enum ContextInfo : int
|
||||||
{
|
{
|
||||||
ContextReferenceCount = ((int)0X1080),
|
ContextReferenceCount = ((int)0x1080),
|
||||||
ContextDevices = ((int)0X1081),
|
ContextDevices = ((int)0x1081),
|
||||||
ContextProperties = ((int)0X1082),
|
ContextProperties = ((int)0x1082),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum ContextProperties : int
|
public enum ContextProperties : int
|
||||||
{
|
{
|
||||||
ContextPlatform = ((int)0X1084),
|
ContextPlatform = ((int)0x1084),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum DeviceExecCapabilitiesFlags : long
|
public enum DeviceExecCapabilitiesFlags : long
|
||||||
|
@ -427,69 +427,69 @@ namespace OpenTK.Compute.CL10
|
||||||
|
|
||||||
public enum DeviceInfo : int
|
public enum DeviceInfo : int
|
||||||
{
|
{
|
||||||
DeviceType = ((int)0X1000),
|
DeviceType = ((int)0x1000),
|
||||||
DeviceVendorId = ((int)0X1001),
|
DeviceVendorId = ((int)0x1001),
|
||||||
DeviceMaxComputeUnits = ((int)0X1002),
|
DeviceMaxComputeUnits = ((int)0x1002),
|
||||||
DeviceMaxWorkItemDimensions = ((int)0X1003),
|
DeviceMaxWorkItemDimensions = ((int)0x1003),
|
||||||
DeviceMaxWorkGroupSize = ((int)0X1004),
|
DeviceMaxWorkGroupSize = ((int)0x1004),
|
||||||
DeviceMaxWorkItemSizes = ((int)0X1005),
|
DeviceMaxWorkItemSizes = ((int)0x1005),
|
||||||
DevicePreferredVectorWidthChar = ((int)0X1006),
|
DevicePreferredVectorWidthChar = ((int)0x1006),
|
||||||
DevicePreferredVectorWidthShort = ((int)0X1007),
|
DevicePreferredVectorWidthShort = ((int)0x1007),
|
||||||
DevicePreferredVectorWidthInt = ((int)0X1008),
|
DevicePreferredVectorWidthInt = ((int)0x1008),
|
||||||
DevicePreferredVectorWidthLong = ((int)0X1009),
|
DevicePreferredVectorWidthLong = ((int)0x1009),
|
||||||
DevicePreferredVectorWidthFloat = ((int)0X100a),
|
DevicePreferredVectorWidthFloat = ((int)0x100A),
|
||||||
DevicePreferredVectorWidthDouble = ((int)0X100b),
|
DevicePreferredVectorWidthDouble = ((int)0x100B),
|
||||||
DeviceMaxClockFrequency = ((int)0X100c),
|
DeviceMaxClockFrequency = ((int)0x100C),
|
||||||
DeviceAddressBits = ((int)0X100d),
|
DeviceAddressBits = ((int)0x100D),
|
||||||
DeviceMaxReadImageArgs = ((int)0X100e),
|
DeviceMaxReadImageArgs = ((int)0x100E),
|
||||||
DeviceMaxWriteImageArgs = ((int)0X100f),
|
DeviceMaxWriteImageArgs = ((int)0x100F),
|
||||||
DeviceMaxMemAllocSize = ((int)0X1010),
|
DeviceMaxMemAllocSize = ((int)0x1010),
|
||||||
DeviceImage2dMaxWidth = ((int)0X1011),
|
DeviceImage2dMaxWidth = ((int)0x1011),
|
||||||
DeviceImage2dMaxHeight = ((int)0X1012),
|
DeviceImage2dMaxHeight = ((int)0x1012),
|
||||||
DeviceImage3dMaxWidth = ((int)0X1013),
|
DeviceImage3dMaxWidth = ((int)0x1013),
|
||||||
DeviceImage3dMaxHeight = ((int)0X1014),
|
DeviceImage3dMaxHeight = ((int)0x1014),
|
||||||
DeviceImage3dMaxDepth = ((int)0X1015),
|
DeviceImage3dMaxDepth = ((int)0x1015),
|
||||||
DeviceImageSupport = ((int)0X1016),
|
DeviceImageSupport = ((int)0x1016),
|
||||||
DeviceMaxParameterSize = ((int)0X1017),
|
DeviceMaxParameterSize = ((int)0x1017),
|
||||||
DeviceMaxSamplers = ((int)0X1018),
|
DeviceMaxSamplers = ((int)0x1018),
|
||||||
DeviceMemBaseAddrAlign = ((int)0X1019),
|
DeviceMemBaseAddrAlign = ((int)0x1019),
|
||||||
DeviceMinDataTypeAlignSize = ((int)0X101a),
|
DeviceMinDataTypeAlignSize = ((int)0x101A),
|
||||||
DeviceSingleFpConfig = ((int)0X101b),
|
DeviceSingleFpConfig = ((int)0x101B),
|
||||||
DeviceGlobalMemCacheType = ((int)0X101c),
|
DeviceGlobalMemCacheType = ((int)0x101C),
|
||||||
DeviceGlobalMemCachelineSize = ((int)0X101d),
|
DeviceGlobalMemCachelineSize = ((int)0x101D),
|
||||||
DeviceGlobalMemCacheSize = ((int)0X101e),
|
DeviceGlobalMemCacheSize = ((int)0x101E),
|
||||||
DeviceGlobalMemSize = ((int)0X101f),
|
DeviceGlobalMemSize = ((int)0x101F),
|
||||||
DeviceMaxConstantBufferSize = ((int)0X1020),
|
DeviceMaxConstantBufferSize = ((int)0x1020),
|
||||||
DeviceMaxConstantArgs = ((int)0X1021),
|
DeviceMaxConstantArgs = ((int)0x1021),
|
||||||
DeviceLocalMemType = ((int)0X1022),
|
DeviceLocalMemType = ((int)0x1022),
|
||||||
DeviceLocalMemSize = ((int)0X1023),
|
DeviceLocalMemSize = ((int)0x1023),
|
||||||
DeviceErrorCorrectionSupport = ((int)0X1024),
|
DeviceErrorCorrectionSupport = ((int)0x1024),
|
||||||
DeviceProfilingTimerResolution = ((int)0X1025),
|
DeviceProfilingTimerResolution = ((int)0x1025),
|
||||||
DeviceEndianLittle = ((int)0X1026),
|
DeviceEndianLittle = ((int)0x1026),
|
||||||
DeviceAvailable = ((int)0X1027),
|
DeviceAvailable = ((int)0x1027),
|
||||||
DeviceCompilerAvailable = ((int)0X1028),
|
DeviceCompilerAvailable = ((int)0x1028),
|
||||||
DeviceExecutionCapabilities = ((int)0X1029),
|
DeviceExecutionCapabilities = ((int)0x1029),
|
||||||
DeviceQueueProperties = ((int)0X102a),
|
DeviceQueueProperties = ((int)0x102A),
|
||||||
DeviceName = ((int)0X102b),
|
DeviceName = ((int)0x102B),
|
||||||
DeviceVendor = ((int)0X102c),
|
DeviceVendor = ((int)0x102C),
|
||||||
DriverVersion = ((int)0X102d),
|
DriverVersion = ((int)0x102D),
|
||||||
DeviceProfile = ((int)0X102e),
|
DeviceProfile = ((int)0x102E),
|
||||||
DeviceVersion = ((int)0X102f),
|
DeviceVersion = ((int)0x102F),
|
||||||
DeviceExtensions = ((int)0X1030),
|
DeviceExtensions = ((int)0x1030),
|
||||||
DevicePlatform = ((int)0X1031),
|
DevicePlatform = ((int)0x1031),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum DeviceLocalMemType : int
|
public enum DeviceLocalMemType : int
|
||||||
{
|
{
|
||||||
Local = ((int)0X1),
|
Local = ((int)0x1),
|
||||||
Global = ((int)0X2),
|
Global = ((int)0x2),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum DeviceMemCacheType : int
|
public enum DeviceMemCacheType : int
|
||||||
{
|
{
|
||||||
None = ((int)0X0),
|
None = ((int)0x0),
|
||||||
ReadOnlyCache = ((int)0X1),
|
ReadOnlyCache = ((int)0x1),
|
||||||
ReadWriteCache = ((int)0X2),
|
ReadWriteCache = ((int)0x2),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum DeviceTypeFlags : long
|
public enum DeviceTypeFlags : long
|
||||||
|
@ -498,7 +498,7 @@ namespace OpenTK.Compute.CL10
|
||||||
DeviceTypeCpu = ((int)(1 << 1)),
|
DeviceTypeCpu = ((int)(1 << 1)),
|
||||||
DeviceTypeGpu = ((int)(1 << 2)),
|
DeviceTypeGpu = ((int)(1 << 2)),
|
||||||
DeviceTypeAccelerator = ((int)(1 << 3)),
|
DeviceTypeAccelerator = ((int)(1 << 3)),
|
||||||
DeviceTypeAll = unchecked((int)0Xffffffff),
|
DeviceTypeAll = unchecked((int)0xFFFFFFFF),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum ErrorCode : int
|
public enum ErrorCode : int
|
||||||
|
@ -553,43 +553,43 @@ namespace OpenTK.Compute.CL10
|
||||||
|
|
||||||
public enum EventInfo : int
|
public enum EventInfo : int
|
||||||
{
|
{
|
||||||
EventCommandQueue = ((int)0X11d0),
|
EventCommandQueue = ((int)0x11D0),
|
||||||
EventCommandType = ((int)0X11d1),
|
EventCommandType = ((int)0x11D1),
|
||||||
EventReferenceCount = ((int)0X11d2),
|
EventReferenceCount = ((int)0x11D2),
|
||||||
EventCommandExecutionStatus = ((int)0X11d3),
|
EventCommandExecutionStatus = ((int)0x11D3),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum FilterMode : int
|
public enum FilterMode : int
|
||||||
{
|
{
|
||||||
FilterNearest = ((int)0X1140),
|
FilterNearest = ((int)0x1140),
|
||||||
FilterLinear = ((int)0X1141),
|
FilterLinear = ((int)0x1141),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum ImageInfo : int
|
public enum ImageInfo : int
|
||||||
{
|
{
|
||||||
ImageFormat = ((int)0X1110),
|
ImageFormat = ((int)0x1110),
|
||||||
ImageElementSize = ((int)0X1111),
|
ImageElementSize = ((int)0x1111),
|
||||||
ImageRowPitch = ((int)0X1112),
|
ImageRowPitch = ((int)0x1112),
|
||||||
ImageSlicePitch = ((int)0X1113),
|
ImageSlicePitch = ((int)0x1113),
|
||||||
ImageWidth = ((int)0X1114),
|
ImageWidth = ((int)0x1114),
|
||||||
ImageHeight = ((int)0X1115),
|
ImageHeight = ((int)0x1115),
|
||||||
ImageDepth = ((int)0X1116),
|
ImageDepth = ((int)0x1116),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum KernelInfo : int
|
public enum KernelInfo : int
|
||||||
{
|
{
|
||||||
KernelFunctionName = ((int)0X1190),
|
KernelFunctionName = ((int)0x1190),
|
||||||
KernelNumArgs = ((int)0X1191),
|
KernelNumArgs = ((int)0x1191),
|
||||||
KernelReferenceCount = ((int)0X1192),
|
KernelReferenceCount = ((int)0x1192),
|
||||||
KernelContext = ((int)0X1193),
|
KernelContext = ((int)0x1193),
|
||||||
KernelProgram = ((int)0X1194),
|
KernelProgram = ((int)0x1194),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum KernelWorkGroupInfo : int
|
public enum KernelWorkGroupInfo : int
|
||||||
{
|
{
|
||||||
KernelWorkGroupSize = ((int)0X11b0),
|
KernelWorkGroupSize = ((int)0x11B0),
|
||||||
KernelCompileWorkGroupSize = ((int)0X11b1),
|
KernelCompileWorkGroupSize = ((int)0x11B1),
|
||||||
KernelLocalMemSize = ((int)0X11b2),
|
KernelLocalMemSize = ((int)0x11B2),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum MapFlags : long
|
public enum MapFlags : long
|
||||||
|
@ -610,64 +610,64 @@ namespace OpenTK.Compute.CL10
|
||||||
|
|
||||||
public enum MemInfo : int
|
public enum MemInfo : int
|
||||||
{
|
{
|
||||||
MemType = ((int)0X1100),
|
MemType = ((int)0x1100),
|
||||||
MemFlags = ((int)0X1101),
|
MemFlags = ((int)0x1101),
|
||||||
MemSize = ((int)0X1102),
|
MemSize = ((int)0x1102),
|
||||||
MemHostPtr = ((int)0X1103),
|
MemHostPtr = ((int)0x1103),
|
||||||
MemMapCount = ((int)0X1104),
|
MemMapCount = ((int)0x1104),
|
||||||
MemReferenceCount = ((int)0X1105),
|
MemReferenceCount = ((int)0x1105),
|
||||||
MemContext = ((int)0X1106),
|
MemContext = ((int)0x1106),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum MemObjectType : int
|
public enum MemObjectType : int
|
||||||
{
|
{
|
||||||
MemObjectBuffer = ((int)0X10f0),
|
MemObjectBuffer = ((int)0x10F0),
|
||||||
MemObjectImage2d = ((int)0X10f1),
|
MemObjectImage2d = ((int)0x10F1),
|
||||||
MemObjectImage3d = ((int)0X10f2),
|
MemObjectImage3d = ((int)0x10F2),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum PlatformInfo : int
|
public enum PlatformInfo : int
|
||||||
{
|
{
|
||||||
PlatformProfile = ((int)0X0900),
|
PlatformProfile = ((int)0x0900),
|
||||||
PlatformVersion = ((int)0X0901),
|
PlatformVersion = ((int)0x0901),
|
||||||
PlatformName = ((int)0X0902),
|
PlatformName = ((int)0x0902),
|
||||||
PlatformVendor = ((int)0X0903),
|
PlatformVendor = ((int)0x0903),
|
||||||
PlatformExtensions = ((int)0X0904),
|
PlatformExtensions = ((int)0x0904),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum ProfilingInfo : int
|
public enum ProfilingInfo : int
|
||||||
{
|
{
|
||||||
ProfilingCommandQueued = ((int)0X1280),
|
ProfilingCommandQueued = ((int)0x1280),
|
||||||
ProfilingCommandSubmit = ((int)0X1281),
|
ProfilingCommandSubmit = ((int)0x1281),
|
||||||
ProfilingCommandStart = ((int)0X1282),
|
ProfilingCommandStart = ((int)0x1282),
|
||||||
ProfilingCommandEnd = ((int)0X1283),
|
ProfilingCommandEnd = ((int)0x1283),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum ProgramBuildInfo : int
|
public enum ProgramBuildInfo : int
|
||||||
{
|
{
|
||||||
ProgramBuildStatus = ((int)0X1181),
|
ProgramBuildStatus = ((int)0x1181),
|
||||||
ProgramBuildOptions = ((int)0X1182),
|
ProgramBuildOptions = ((int)0x1182),
|
||||||
ProgramBuildLog = ((int)0X1183),
|
ProgramBuildLog = ((int)0x1183),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum ProgramInfo : int
|
public enum ProgramInfo : int
|
||||||
{
|
{
|
||||||
ProgramReferenceCount = ((int)0X1160),
|
ProgramReferenceCount = ((int)0x1160),
|
||||||
ProgramContext = ((int)0X1161),
|
ProgramContext = ((int)0x1161),
|
||||||
ProgramNumDevices = ((int)0X1162),
|
ProgramNumDevices = ((int)0x1162),
|
||||||
ProgramDevices = ((int)0X1163),
|
ProgramDevices = ((int)0x1163),
|
||||||
ProgramSource = ((int)0X1164),
|
ProgramSource = ((int)0x1164),
|
||||||
ProgramBinarySizes = ((int)0X1165),
|
ProgramBinarySizes = ((int)0x1165),
|
||||||
ProgramBinaries = ((int)0X1166),
|
ProgramBinaries = ((int)0x1166),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum SamplerInfo : int
|
public enum SamplerInfo : int
|
||||||
{
|
{
|
||||||
SamplerReferenceCount = ((int)0X1150),
|
SamplerReferenceCount = ((int)0x1150),
|
||||||
SamplerContext = ((int)0X1151),
|
SamplerContext = ((int)0x1151),
|
||||||
SamplerNormalizedCoords = ((int)0X1152),
|
SamplerNormalizedCoords = ((int)0x1152),
|
||||||
SamplerAddressingMode = ((int)0X1153),
|
SamplerAddressingMode = ((int)0x1153),
|
||||||
SamplerFilterMode = ((int)0X1154),
|
SamplerFilterMode = ((int)0x1154),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum Unknown : int
|
public enum Unknown : int
|
||||||
|
@ -675,7 +675,7 @@ namespace OpenTK.Compute.CL10
|
||||||
ScharMin = ((int)(-127-1)),
|
ScharMin = ((int)(-127-1)),
|
||||||
IntMin = ((int)(-2147483647-1)),
|
IntMin = ((int)(-2147483647-1)),
|
||||||
ShrtMin = ((int)(-32767-1)),
|
ShrtMin = ((int)(-32767-1)),
|
||||||
UintMax = unchecked((int)0Xffffffff),
|
UintMax = unchecked((int)0xffffffff),
|
||||||
DblMinExp = ((int)-1021),
|
DblMinExp = ((int)-1021),
|
||||||
FltMinExp = ((int)-125),
|
FltMinExp = ((int)-125),
|
||||||
ScharMax = ((int)127),
|
ScharMax = ((int)127),
|
||||||
|
|
|
@ -456,6 +456,7 @@ namespace OpenTK.Graphics.ES10
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
||||||
|
pointer = (T3)pointer_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -702,6 +703,7 @@ namespace OpenTK.Graphics.ES10
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||||
|
data = (T7)data_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -1033,6 +1035,7 @@ namespace OpenTK.Graphics.ES10
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||||
|
data = (T8)data_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -1833,6 +1836,7 @@ namespace OpenTK.Graphics.ES10
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glDrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
Delegates.glDrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
||||||
|
indices = (T3)indices_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -3567,6 +3571,7 @@ namespace OpenTK.Graphics.ES10
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glNormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
Delegates.glNormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
||||||
|
pointer = (T2)pointer_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -3964,6 +3969,7 @@ namespace OpenTK.Graphics.ES10
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
||||||
|
pixels = (T6)pixels_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -4529,6 +4535,7 @@ namespace OpenTK.Graphics.ES10
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
||||||
|
pointer = (T3)pointer_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -4935,6 +4942,7 @@ namespace OpenTK.Graphics.ES10
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
Delegates.glTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
||||||
|
pixels = (T8)pixels_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -5333,6 +5341,7 @@ namespace OpenTK.Graphics.ES10
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
Delegates.glTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
||||||
|
pixels = (T8)pixels_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -5696,6 +5705,7 @@ namespace OpenTK.Graphics.ES10
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
||||||
|
pointer = (T3)pointer_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -281,6 +281,7 @@ namespace OpenTK.Graphics.ES11
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glBufferData((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.All)usage);
|
Delegates.glBufferData((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.All)usage);
|
||||||
|
data = (T2)data_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -507,6 +508,7 @@ namespace OpenTK.Graphics.ES11
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glBufferSubData((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
|
Delegates.glBufferSubData((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||||
|
data = (T3)data_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -1255,6 +1257,7 @@ namespace OpenTK.Graphics.ES11
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
||||||
|
pointer = (T3)pointer_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -1501,6 +1504,7 @@ namespace OpenTK.Graphics.ES11
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||||
|
data = (T7)data_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -1832,6 +1836,7 @@ namespace OpenTK.Graphics.ES11
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||||
|
data = (T8)data_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -2857,6 +2862,7 @@ namespace OpenTK.Graphics.ES11
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glDrawElements((OpenTK.Graphics.ES11.All)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
Delegates.glDrawElements((OpenTK.Graphics.ES11.All)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
||||||
|
indices = (T3)indices_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -4843,6 +4849,7 @@ namespace OpenTK.Graphics.ES11
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glGetPointerv((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
|
Delegates.glGetPointerv((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
|
||||||
|
@params = (T1)@params_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -6658,6 +6665,7 @@ namespace OpenTK.Graphics.ES11
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glNormalPointer((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
Delegates.glNormalPointer((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
||||||
|
pointer = (T2)pointer_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -7195,6 +7203,7 @@ namespace OpenTK.Graphics.ES11
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
||||||
|
pixels = (T6)pixels_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -7760,6 +7769,7 @@ namespace OpenTK.Graphics.ES11
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
||||||
|
pointer = (T3)pointer_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -8272,6 +8282,7 @@ namespace OpenTK.Graphics.ES11
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
Delegates.glTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
||||||
|
pixels = (T8)pixels_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -8884,6 +8895,7 @@ namespace OpenTK.Graphics.ES11
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
||||||
|
pixels = (T8)pixels_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -9247,6 +9259,7 @@ namespace OpenTK.Graphics.ES11
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
||||||
|
pointer = (T3)pointer_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -11318,6 +11331,7 @@ namespace OpenTK.Graphics.ES11
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
|
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
|
||||||
|
@params = (T2)@params_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -12557,6 +12571,7 @@ namespace OpenTK.Graphics.ES11
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
||||||
|
pointer = (T3)pointer_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -12842,6 +12857,7 @@ namespace OpenTK.Graphics.ES11
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
||||||
|
pointer = (T2)pointer_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -13476,6 +13492,7 @@ namespace OpenTK.Graphics.ES11
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
||||||
|
pointer = (T3)pointer_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -450,6 +450,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
|
Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||||
|
data = (T3)data_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -557,6 +558,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
|
Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||||
|
data = (T3)data_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -1724,6 +1726,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glBufferData((OpenTK.Graphics.ES20.All)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.All)usage);
|
Delegates.glBufferData((OpenTK.Graphics.ES20.All)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.All)usage);
|
||||||
|
data = (T2)data_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -1950,6 +1953,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glBufferSubData((OpenTK.Graphics.ES20.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
|
Delegates.glBufferSubData((OpenTK.Graphics.ES20.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||||
|
data = (T3)data_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -2396,6 +2400,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||||
|
data = (T7)data_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -2727,6 +2732,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||||
|
data = (T8)data_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -4169,6 +4175,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glDrawElements((OpenTK.Graphics.ES20.All)mode, (Int32)count, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
Delegates.glDrawElements((OpenTK.Graphics.ES20.All)mode, (Int32)count, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
||||||
|
indices = (T3)indices_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -9373,6 +9380,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.All)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.All)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
||||||
|
pointer = (T2)pointer_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -9575,6 +9583,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.All)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.All)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
||||||
|
pointer = (T2)pointer_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -10213,6 +10222,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
||||||
|
pixels = (T6)pixels_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -10520,6 +10530,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
|
Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
|
||||||
|
binary = (T3)binary_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -10634,6 +10645,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
|
Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
|
||||||
|
binary = (T3)binary_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -10770,6 +10782,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
|
Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
|
||||||
|
binary = (T3)binary_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -10907,6 +10920,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
|
Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
|
||||||
|
binary = (T3)binary_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -11044,6 +11058,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
|
Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
|
||||||
|
binary = (T3)binary_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -11159,6 +11174,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
|
Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
|
||||||
|
binary = (T3)binary_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -11919,6 +11935,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glTexImage2D((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
Delegates.glTexImage2D((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
||||||
|
pixels = (T8)pixels_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -12482,6 +12499,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
||||||
|
pixels = (T8)pixels_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -14986,6 +15004,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.All)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
|
Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.All)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
|
||||||
|
ptr = (T5)ptr_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -15263,6 +15282,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.All)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
|
Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.All)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
|
||||||
|
ptr = (T5)ptr_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -16044,6 +16064,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||||
|
data = (T8)data_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -16400,6 +16421,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||||
|
data = (T10)data_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -16837,6 +16859,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
|
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
|
||||||
|
@params = (T2)@params_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -16944,6 +16967,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject());
|
Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject());
|
||||||
|
binary = (T4)binary_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -17059,6 +17083,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
|
Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
|
||||||
|
binary = (T4)binary_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -17200,6 +17225,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
|
Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
|
||||||
|
binary = (T4)binary_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -17337,6 +17363,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject());
|
Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject());
|
||||||
|
binary = (T4)binary_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -17453,6 +17480,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
|
Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
|
||||||
|
binary = (T4)binary_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -17599,6 +17627,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
|
Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
|
||||||
|
binary = (T4)binary_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -17768,6 +17797,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
|
Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
|
||||||
|
binary = (T2)binary_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -17875,6 +17905,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
|
Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
|
||||||
|
binary = (T2)binary_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -18039,6 +18070,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
||||||
|
pixels = (T9)pixels_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -18420,6 +18452,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
||||||
|
pixels = (T10)pixels_ptr.Target;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue