diff --git a/Source/Bind/Specifications/GL2/overrides.xml b/Source/Bind/Specifications/GL2/overrides.xml
index 50bf410f..3940db21 100644
--- a/Source/Bind/Specifications/GL2/overrides.xml
+++ b/Source/Bind/Specifications/GL2/overrides.xml
@@ -5282,7 +5282,7 @@
-
+
@@ -5770,7 +5770,42 @@
-
+
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+
+
@@ -5859,16 +5894,6 @@
FramebufferSlot
-
-
- 0
-
-
-
-
- 0
-
-
ProgramParameter
@@ -5879,31 +5904,6 @@
GetTextureParameter
-
- 0
-
-
- 0
-
-
- 0
- 0
-
-
- 0
-
-
- 0
-
-
- 0
-
-
- 0
-
-
- 0
-
@@ -6693,7 +6693,7 @@
-
+
@@ -7662,38 +7662,4 @@
-
-
- 0
-
-
- 0
-
-
- 0
-
-
- 0
-
-
- 0
- 0
-
-
- 0
-
-
- 0
-
-
- 0
-
-
- 0
-
-
- 0
-
-
-
diff --git a/Source/OpenTK/Graphics/ES11/ES11Obsolete.cs b/Source/OpenTK/Graphics/ES11/ES11Obsolete.cs
new file mode 100644
index 00000000..00e9928e
--- /dev/null
+++ b/Source/OpenTK/Graphics/ES11/ES11Obsolete.cs
@@ -0,0 +1,63 @@
+#region License
+//
+// ES11Obsolete.cs
+//
+// Author:
+// Stefanos A.
+//
+// Copyright (c) 2006-2014 Stefanos Apostolopoulos
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+//
+#endregion
+
+using System;
+
+namespace OpenTK.Graphics.ES11
+{
+ partial class GL
+ {
+ /// [requires: v1.0]
+ /// Return the coefficients of the specified clipping plane
+ ///
+ ///
+ ///
+ /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanef")]
+ [CLSCompliant(false)]
+ [Obsolete("Use GetClipPlane(..., float[]) instead. This method will return incorrect results.")]
+ public static Single GetClipPlane(OpenTK.Graphics.ES11.All plane) { throw new NotImplementedException(); }
+
+ /// [requires: v1.0]
+ /// Return the coefficients of the specified clipping plane
+ ///
+ ///
+ ///
+ /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanex")]
+ [CLSCompliant(false)]
+ [Obsolete("Use GetClipPlane(..., int[]) instead. This method will return incorrect results.")]
+ public static int GetClipPlanex(OpenTK.Graphics.ES11.All plane) { throw new NotImplementedException(); }
+ }
+}
+
diff --git a/Source/OpenTK/Graphics/OpenGL/GLHelper.cs b/Source/OpenTK/Graphics/OpenGL/GLHelper.cs
index 0cc1ac60..719cb49f 100644
--- a/Source/OpenTK/Graphics/OpenGL/GLHelper.cs
+++ b/Source/OpenTK/Graphics/OpenGL/GLHelper.cs
@@ -1243,6 +1243,93 @@ namespace OpenTK.Graphics.OpenGL
public static partial class Ext
{
+ /// [requires: EXT_direct_state_access]
+ [Obsolete("Use ClearNamedBufferSubData(..., format, type, data) instead.")]
+ public static void ClearNamedBufferSubData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, IntPtr data)
+ {
+ ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, data);
+ }
+
+ /// [requires: EXT_direct_state_access]
+ [Obsolete("Use ClearNamedBufferSubData(..., format, type, data) instead.")]
+ [CLSCompliant(false)]
+ public static void ClearNamedBufferSubData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T6[] data)
+ where T6 : struct
+ {
+ ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, data);
+ }
+
+ /// [requires: EXT_direct_state_access]
+ [Obsolete("Use ClearNamedBufferSubData(..., format, type, data) instead.")]
+ [CLSCompliant(false)]
+ public static void ClearNamedBufferSubData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T6[,] data)
+ where T6 : struct
+ {
+ ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, data);
+ }
+
+ /// [requires: EXT_direct_state_access]
+ [Obsolete("Use ClearNamedBufferSubData(..., format, type, data) instead.")]
+ [CLSCompliant(false)]
+ public static void ClearNamedBufferSubData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T6[,,] data)
+ where T6 : struct
+ {
+ ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, data);
+ }
+
+ /// [requires: EXT_direct_state_access]
+ [Obsolete("Use ClearNamedBufferSubData(..., format, type, data) instead.")]
+ [CLSCompliant(false)]
+ public static void ClearNamedBufferSubData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T6 data)
+ where T6 : struct
+ {
+ ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, ref data);
+ }
+
+ /// [requires: EXT_direct_state_access]
+ [Obsolete("Use ClearNamedBufferSubData(..., format, type, data) instead.")]
+ [CLSCompliant(false)]
+ public static void ClearNamedBufferSubData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, IntPtr data)
+ {
+ ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, data);
+ }
+
+ /// [requires: EXT_direct_state_access]
+ [Obsolete("Use ClearNamedBufferSubData(..., format, type, data) instead.")]
+ [CLSCompliant(false)]
+ public static void ClearNamedBufferSubData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T6[] data)
+ where T6 : struct
+ {
+ ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, data);
+ }
+
+ /// [requires: EXT_direct_state_access]
+ [Obsolete("Use ClearNamedBufferSubData(..., format, type, data) instead.")]
+ [CLSCompliant(false)]
+ public static void ClearNamedBufferSubData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T6[,] data)
+ where T6 : struct
+ {
+ ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, data);
+ }
+
+ /// [requires: EXT_direct_state_access]
+ [Obsolete("Use ClearNamedBufferSubData(..., format, type, data) instead.")]
+ [CLSCompliant(false)]
+ public static void ClearNamedBufferSubData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T6[,,] data)
+ where T6 : struct
+ {
+ ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, data);
+ }
+
+ /// [requires: EXT_direct_state_access]
+ [Obsolete("Use ClearNamedBufferSubData(..., format, type, data) instead.")]
+ [CLSCompliant(false)]
+ public static void ClearNamedBufferSubData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T6 data)
+ where T6 : struct
+ {
+ ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, ref data);
+ }
+
[Obsolete("Use ProgramParameter(..., AssemblyProgramParameterArb, ...) instead.")]
public static void ProgramParameter(Int32 program, ExtGeometryShader4 pname, Int32 value)
{
diff --git a/Source/OpenTK/OpenTK.csproj b/Source/OpenTK/OpenTK.csproj
index 921c9135..74d9f6ed 100644
--- a/Source/OpenTK/OpenTK.csproj
+++ b/Source/OpenTK/OpenTK.csproj
@@ -782,6 +782,7 @@
+