Generate legacy overloads for GetTranslatedShaderSource
This commit is contained in:
parent
168462b4ca
commit
c2bd45f676
5 changed files with 6 additions and 16 deletions
|
@ -214,7 +214,9 @@
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="GL2\GL2Generator.cs" />
|
<Compile Include="GL2\GL2Generator.cs" />
|
||||||
<Compile Include="Structures\Documentation.cs" />
|
<Compile Include="Structures\Documentation.cs" />
|
||||||
<None Include="Specifications\GL2\overrides.xml" />
|
<None Include="Specifications\GL2\overrides.xml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</None>
|
||||||
<None Include="Specifications\GL2\GL\4.5\ARB_direct_state_access.xml" />
|
<None Include="Specifications\GL2\GL\4.5\ARB_direct_state_access.xml" />
|
||||||
<None Include="Specifications\GL2\ES\3.1\KHR_compute_shader.xml" />
|
<None Include="Specifications\GL2\ES\3.1\KHR_compute_shader.xml" />
|
||||||
<None Include="Specifications\GL2\ES\3.1\KHR_separate_shader_objects.xml" />
|
<None Include="Specifications\GL2\ES\3.1\KHR_separate_shader_objects.xml" />
|
||||||
|
|
|
@ -5555,6 +5555,9 @@
|
||||||
<function name="GetProgramPipelineInfoLog" extension="EXT">
|
<function name="GetProgramPipelineInfoLog" extension="EXT">
|
||||||
<param name="length" legacyArrayParameter="true" />
|
<param name="length" legacyArrayParameter="true" />
|
||||||
</function>
|
</function>
|
||||||
|
<function name="GetTranslatedShaderSource" extension="ANGLE">
|
||||||
|
<param name="length" legacyArrayParameter="true" />
|
||||||
|
</function>
|
||||||
<function name="ExtGetBuffers" extension="QCOM">
|
<function name="ExtGetBuffers" extension="QCOM">
|
||||||
<param name="numBuffers" legacyArrayParameter="true" />
|
<param name="numBuffers" legacyArrayParameter="true" />
|
||||||
</function>
|
</function>
|
||||||
|
@ -5574,9 +5577,6 @@
|
||||||
|
|
||||||
<!-- gles2 overloads for backwards compatibility (2.0 and 3.0) -->
|
<!-- gles2 overloads for backwards compatibility (2.0 and 3.0) -->
|
||||||
<overload name="gles2">
|
<overload name="gles2">
|
||||||
<function name="GetTranslatedShaderSource" extension="ANGLE" obsolete="Use out overload instead">
|
|
||||||
<param name="length"><count>0</count></param>
|
|
||||||
</function>
|
|
||||||
<function name="GetProgramBinary" extension="OES" obsolete="Use out overload instead">
|
<function name="GetProgramBinary" extension="OES" obsolete="Use out overload instead">
|
||||||
<param name="length"><count>0</count></param>
|
<param name="length"><count>0</count></param>
|
||||||
<param name="binaryFormat"><count>0</count></param>
|
<param name="binaryFormat"><count>0</count></param>
|
||||||
|
|
|
@ -2230,7 +2230,6 @@ namespace OpenTK.Graphics.ES20
|
||||||
/// <param name="bufsize"></param>
|
/// <param name="bufsize"></param>
|
||||||
/// <param name="length">[length: 1]</param>
|
/// <param name="length">[length: 1]</param>
|
||||||
/// <param name="source"></param>
|
/// <param name="source"></param>
|
||||||
[Obsolete("Use out overload instead")]
|
|
||||||
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
public static void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
||||||
|
@ -2240,7 +2239,6 @@ namespace OpenTK.Graphics.ES20
|
||||||
/// <param name="bufsize"></param>
|
/// <param name="bufsize"></param>
|
||||||
/// <param name="length">[length: 1]</param>
|
/// <param name="length">[length: 1]</param>
|
||||||
/// <param name="source"></param>
|
/// <param name="source"></param>
|
||||||
[Obsolete("Use out overload instead")]
|
|
||||||
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static unsafe void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
public static unsafe void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
||||||
|
@ -2260,7 +2258,6 @@ namespace OpenTK.Graphics.ES20
|
||||||
/// <param name="bufsize"></param>
|
/// <param name="bufsize"></param>
|
||||||
/// <param name="length">[length: 1]</param>
|
/// <param name="length">[length: 1]</param>
|
||||||
/// <param name="source"></param>
|
/// <param name="source"></param>
|
||||||
[Obsolete("Use out overload instead")]
|
|
||||||
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
public static void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
||||||
|
@ -2270,7 +2267,6 @@ namespace OpenTK.Graphics.ES20
|
||||||
/// <param name="bufsize"></param>
|
/// <param name="bufsize"></param>
|
||||||
/// <param name="length">[length: 1]</param>
|
/// <param name="length">[length: 1]</param>
|
||||||
/// <param name="source"></param>
|
/// <param name="source"></param>
|
||||||
[Obsolete("Use out overload instead")]
|
|
||||||
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static unsafe void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
public static unsafe void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
||||||
|
|
|
@ -2438,7 +2438,6 @@ namespace OpenTK.Graphics.ES30
|
||||||
/// <param name="bufsize"></param>
|
/// <param name="bufsize"></param>
|
||||||
/// <param name="length">[length: 1]</param>
|
/// <param name="length">[length: 1]</param>
|
||||||
/// <param name="source"></param>
|
/// <param name="source"></param>
|
||||||
[Obsolete("Use out overload instead")]
|
|
||||||
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
public static void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
||||||
|
@ -2448,7 +2447,6 @@ namespace OpenTK.Graphics.ES30
|
||||||
/// <param name="bufsize"></param>
|
/// <param name="bufsize"></param>
|
||||||
/// <param name="length">[length: 1]</param>
|
/// <param name="length">[length: 1]</param>
|
||||||
/// <param name="source"></param>
|
/// <param name="source"></param>
|
||||||
[Obsolete("Use out overload instead")]
|
|
||||||
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static unsafe void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
public static unsafe void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
||||||
|
@ -2468,7 +2466,6 @@ namespace OpenTK.Graphics.ES30
|
||||||
/// <param name="bufsize"></param>
|
/// <param name="bufsize"></param>
|
||||||
/// <param name="length">[length: 1]</param>
|
/// <param name="length">[length: 1]</param>
|
||||||
/// <param name="source"></param>
|
/// <param name="source"></param>
|
||||||
[Obsolete("Use out overload instead")]
|
|
||||||
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
public static void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
||||||
|
@ -2478,7 +2475,6 @@ namespace OpenTK.Graphics.ES30
|
||||||
/// <param name="bufsize"></param>
|
/// <param name="bufsize"></param>
|
||||||
/// <param name="length">[length: 1]</param>
|
/// <param name="length">[length: 1]</param>
|
||||||
/// <param name="source"></param>
|
/// <param name="source"></param>
|
||||||
[Obsolete("Use out overload instead")]
|
|
||||||
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static unsafe void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
public static unsafe void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
||||||
|
|
|
@ -2568,7 +2568,6 @@ namespace OpenTK.Graphics.ES31
|
||||||
/// <param name="bufsize"></param>
|
/// <param name="bufsize"></param>
|
||||||
/// <param name="length">[length: 1]</param>
|
/// <param name="length">[length: 1]</param>
|
||||||
/// <param name="source"></param>
|
/// <param name="source"></param>
|
||||||
[Obsolete("Use out overload instead")]
|
|
||||||
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
public static void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
||||||
|
@ -2578,7 +2577,6 @@ namespace OpenTK.Graphics.ES31
|
||||||
/// <param name="bufsize"></param>
|
/// <param name="bufsize"></param>
|
||||||
/// <param name="length">[length: 1]</param>
|
/// <param name="length">[length: 1]</param>
|
||||||
/// <param name="source"></param>
|
/// <param name="source"></param>
|
||||||
[Obsolete("Use out overload instead")]
|
|
||||||
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static unsafe void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
public static unsafe void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
||||||
|
@ -2598,7 +2596,6 @@ namespace OpenTK.Graphics.ES31
|
||||||
/// <param name="bufsize"></param>
|
/// <param name="bufsize"></param>
|
||||||
/// <param name="length">[length: 1]</param>
|
/// <param name="length">[length: 1]</param>
|
||||||
/// <param name="source"></param>
|
/// <param name="source"></param>
|
||||||
[Obsolete("Use out overload instead")]
|
|
||||||
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
public static void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
||||||
|
@ -2608,7 +2605,6 @@ namespace OpenTK.Graphics.ES31
|
||||||
/// <param name="bufsize"></param>
|
/// <param name="bufsize"></param>
|
||||||
/// <param name="length">[length: 1]</param>
|
/// <param name="length">[length: 1]</param>
|
||||||
/// <param name="source"></param>
|
/// <param name="source"></param>
|
||||||
[Obsolete("Use out overload instead")]
|
|
||||||
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
[AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static unsafe void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
public static unsafe void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); }
|
||||||
|
|
Loading…
Reference in a new issue