mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-03 10:00:58 +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,11 +42,15 @@ 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"),
|
||||||
|
overrides.CreateNavigator().SelectSingleNode("/overrides/add") })
|
||||||
|
{
|
||||||
|
if (nav != null)
|
||||||
|
{
|
||||||
foreach (XPathNavigator node in nav.SelectChildren("function", String.Empty))
|
foreach (XPathNavigator node in nav.SelectChildren("function", String.Empty))
|
||||||
{
|
{
|
||||||
Delegate d = new Delegate();
|
Delegate d = new Delegate();
|
||||||
|
@ -80,6 +84,8 @@ namespace Bind.ES
|
||||||
d.Translate(overrides);
|
d.Translate(overrides);
|
||||||
delegates.Add(d);
|
delegates.Add(d);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return delegates;
|
return delegates;
|
||||||
}
|
}
|
||||||
|
@ -107,7 +113,9 @@ 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") })
|
||||||
|
{
|
||||||
|
if (nav != null)
|
||||||
{
|
{
|
||||||
foreach (XPathNavigator node in nav.SelectChildren("enum", String.Empty))
|
foreach (XPathNavigator node in nav.SelectChildren("enum", String.Empty))
|
||||||
{
|
{
|
||||||
|
@ -129,6 +137,7 @@ namespace Bind.ES
|
||||||
Utilities.Merge(enums, e);
|
Utilities.Merge(enums, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Utilities.Merge(enums, all);
|
Utilities.Merge(enums, all);
|
||||||
enums.Translate(overrides);
|
enums.Translate(overrides);
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<overrides>
|
<overrides>
|
||||||
|
|
||||||
|
<replace>
|
||||||
<enum name="Unknown">
|
<enum name="Unknown">
|
||||||
<token name="CHAR_MAX"><value>127</value></token>
|
<token name="CHAR_MAX"><value>127</value></token>
|
||||||
<token name="CHAR_MIN"><value>-128</value></token>
|
<token name="CHAR_MIN"><value>-128</value></token>
|
||||||
|
@ -41,6 +42,6 @@
|
||||||
<param name="strings"><type>string[]</type></param>
|
<param name="strings"><type>string[]</type></param>
|
||||||
<param name="errcode_ret"><type>ErrorCode</type></param>
|
<param name="errcode_ret"><type>ErrorCode</type></param>
|
||||||
</function>
|
</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>
|
||||||
|
|
||||||
|
<replace>
|
||||||
<function name="GetString" extension="Core">
|
<function name="GetString" extension="Core">
|
||||||
<returns>String</returns>
|
<returns>String</returns>
|
||||||
</function>
|
</function>
|
||||||
|
</replace>
|
||||||
|
|
||||||
</overrides>
|
</overrides>
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<overrides>
|
<overrides>
|
||||||
|
|
||||||
|
<replace>
|
||||||
<function name="GetString" extension="Core">
|
<function name="GetString" extension="Core">
|
||||||
<returns>String</returns>
|
<returns>String</returns>
|
||||||
</function>
|
</function>
|
||||||
|
</replace>
|
||||||
|
|
||||||
</overrides>
|
</overrides>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<overrides>
|
<overrides>
|
||||||
|
<replace>
|
||||||
<function name="GetString" extension="Core">
|
<function name="GetString" extension="Core">
|
||||||
<returns>String</returns>
|
<returns>String</returns>
|
||||||
</function>
|
</function>
|
||||||
|
@ -12,4 +13,5 @@
|
||||||
<function name="GetProgramInfoLog" extension="Core">
|
<function name="GetProgramInfoLog" extension="Core">
|
||||||
<param name="infolog"><flow>out</flow></param>
|
<param name="infolog"><flow>out</flow></param>
|
||||||
</function>
|
</function>
|
||||||
|
</replace>
|
||||||
</overrides>
|
</overrides>
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<overrides>
|
<overrides>
|
||||||
|
|
||||||
|
<replace>
|
||||||
|
|
||||||
<function name="TexImage1D" extension="Core">
|
<function name="TexImage1D" extension="Core">
|
||||||
<param name="internalformat"><type>PixelInternalFormat</type></param>
|
<param name="internalformat"><type>PixelInternalFormat</type></param>
|
||||||
</function>
|
</function>
|
||||||
|
@ -509,4 +511,6 @@
|
||||||
<param name="type"><type>VertexAttribParameterArb</type></param>
|
<param name="type"><type>VertexAttribParameterArb</type></param>
|
||||||
</function>
|
</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