From f0484879eff415883b149ba48511c1d65d4114f2 Mon Sep 17 00:00:00 2001 From: thefiddler Date: Mon, 21 Jul 2014 16:53:36 +0200 Subject: [PATCH] [ES][GL] Regenerated bindings --- Source/OpenTK/Graphics/ES11/ES11.cs | 12 +++ Source/OpenTK/Graphics/ES11/ES11Enums.cs | 131 +++++++++++++++++++++++++++++++ Source/OpenTK/Graphics/OpenGL/GL.cs | 6 +- 3 files changed, 148 insertions(+), 1 deletion(-) diff --git a/Source/OpenTK/Graphics/ES11/ES11.cs b/Source/OpenTK/Graphics/ES11/ES11.cs index e2d1421..e50b19b 100644 --- a/Source/OpenTK/Graphics/ES11/ES11.cs +++ b/Source/OpenTK/Graphics/ES11/ES11.cs @@ -1447,6 +1447,18 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use ClearMask overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClear")] + [CLSCompliant(false)] + public static void Clear(Int32 mask) { throw new NotImplementedException(); } + + /// [requires: v1.0] + /// Clear buffers to preset values + /// + /// + /// Bitwise OR of masks that indicate the buffers to be cleared. The three masks are ColorBufferBit, DepthBufferBit, and StencilBufferBit. + /// + [Obsolete("Use ClearMask overload instead")] + [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClear")] + [CLSCompliant(false)] public static void Clear(UInt32 mask) { throw new NotImplementedException(); } /// [requires: v1.0] diff --git a/Source/OpenTK/Graphics/ES11/ES11Enums.cs b/Source/OpenTK/Graphics/ES11/ES11Enums.cs index 1e6fb6c..dc6ce9c 100644 --- a/Source/OpenTK/Graphics/ES11/ES11Enums.cs +++ b/Source/OpenTK/Graphics/ES11/ES11Enums.cs @@ -6123,6 +6123,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum Amdcompressed3Dctexture : int { /// @@ -6142,6 +6144,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum AmdCompressed3DcTexture : int { /// @@ -6157,6 +6160,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum AmdcompressedAtctexture : int { /// @@ -6180,6 +6185,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum AmdCompressedAtcTexture : int { /// @@ -7930,6 +7936,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum ExttextureFilterAnisotropic : int { /// @@ -7949,6 +7957,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum ExtTextureFilterAnisotropic : int { /// @@ -7964,6 +7973,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum ExttextureFormatBgra8888 : int { /// @@ -7979,6 +7990,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum ExtTextureFormatBgra8888 : int { /// @@ -10673,6 +10685,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum ImgreadFormat : int { /// @@ -10696,6 +10710,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum ImgReadFormat : int { /// @@ -10711,6 +10726,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum ImgtextureCompressionPvrtc : int { /// @@ -10738,6 +10755,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum ImgTextureCompressionPvrtc : int { /// @@ -10761,6 +10779,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum ImgtextureEnvEnhancedFixedFunction : int { /// @@ -10800,6 +10820,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum ImgTextureEnvEnhancedFixedFunction : int { /// @@ -10835,6 +10856,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum ImguserClipPlane : int { /// @@ -10874,6 +10897,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum ImgUserClipPlane : int { /// @@ -12031,6 +12055,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum Nvfence : int { /// @@ -12054,6 +12080,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum NvFence : int { /// @@ -12101,6 +12128,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OesblendEquationSeparate : int { /// @@ -12120,6 +12149,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesBlendEquationSeparate : int { /// @@ -12135,6 +12165,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OesblendFuncSeparate : int { /// @@ -12162,6 +12194,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesBlendFuncSeparate : int { /// @@ -12185,6 +12218,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OesblendSubtract : int { /// @@ -12212,6 +12247,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesBlendSubtract : int { /// @@ -12235,6 +12271,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OesbyteCoordinates : int { /// @@ -12246,6 +12284,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesByteCoordinates : int { } @@ -12253,6 +12292,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OescompressedEtc1Rgb8Texture : int { /// @@ -12268,6 +12309,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesCompressedEtc1Rgb8Texture : int { /// @@ -12279,6 +12321,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OescompressedPalettedTexture : int { /// @@ -12330,6 +12374,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesCompressedPalettedTexture : int { /// @@ -12377,6 +12422,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum Oesdepth24 : int { /// @@ -12392,6 +12439,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesDepth24 : int { /// @@ -12403,6 +12451,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum Oesdepth32 : int { /// @@ -12418,6 +12468,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesDepth32 : int { /// @@ -12429,6 +12480,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OesdrawTexture : int { /// @@ -12444,6 +12497,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesDrawTexture : int { /// @@ -12455,6 +12509,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum Oeseglimage : int { /// @@ -12466,6 +12522,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesEglImage : int { } @@ -12496,6 +12553,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OeselementIndexUint : int { /// @@ -12507,6 +12566,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesElementIndexUint : int { /// @@ -12518,6 +12578,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OesextendedMatrixPalette : int { /// @@ -12529,6 +12591,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesExtendedMatrixPalette : int { } @@ -12536,6 +12599,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OesfboRenderMipmap : int { /// @@ -12547,6 +12612,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesFboRenderMipmap : int { } @@ -12554,6 +12620,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OesfixedPoint : int { /// @@ -12569,6 +12637,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesFixedPoint : int { /// @@ -12580,6 +12649,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OesframebufferObject : int { /// @@ -12723,6 +12794,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesFramebufferObject : int { /// @@ -12862,6 +12934,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum Oesmapbuffer : int { /// @@ -12889,6 +12963,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesMapbuffer : int { /// @@ -12912,6 +12987,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OesmatrixGet : int { /// @@ -12935,6 +13012,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesMatrixGet : int { /// @@ -12954,6 +13032,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OesmatrixPalette : int { /// @@ -13029,6 +13109,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesMatrixPalette : int { /// @@ -13100,6 +13181,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OespackedDepthStencil : int { /// @@ -13123,6 +13206,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesPackedDepthStencil : int { /// @@ -13142,6 +13226,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OespointSizeArray : int { /// @@ -13173,6 +13259,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesPointSizeArray : int { /// @@ -13200,6 +13287,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OespointSprite : int { /// @@ -13219,6 +13308,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesPointSprite : int { /// @@ -13234,6 +13324,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OesqueryMatrix : int { /// @@ -13245,6 +13337,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesQueryMatrix : int { } @@ -13252,6 +13345,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OesreadFormat : int { /// @@ -13271,6 +13366,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesReadFormat : int { /// @@ -13353,6 +13449,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum Oesrgb8Rgba8 : int { /// @@ -13372,6 +13470,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesRgb8Rgba8 : int { /// @@ -13387,6 +13486,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OessinglePrecision : int { /// @@ -13398,6 +13499,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesSinglePrecision : int { } @@ -13405,6 +13507,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum Oesstencil1 : int { /// @@ -13420,6 +13524,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesStencil1 : int { /// @@ -13431,6 +13536,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum Oesstencil4 : int { /// @@ -13446,6 +13553,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesStencil4 : int { /// @@ -13457,6 +13565,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum Oesstencil8 : int { /// @@ -13472,6 +13582,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesStencil8 : int { /// @@ -13483,6 +13594,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OesstencilWrap : int { /// @@ -13502,6 +13615,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesStencilWrap : int { /// @@ -13517,6 +13631,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OestextureCubeMap : int { /// @@ -13580,6 +13696,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesTextureCubeMap : int { /// @@ -13639,6 +13756,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OestextureEnvCrossbar : int { /// @@ -13650,6 +13769,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesTextureEnvCrossbar : int { } @@ -13657,6 +13777,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum OestextureMirroredRepeat : int { /// @@ -13672,6 +13794,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum OesTextureMirroredRepeat : int { /// @@ -13694,6 +13817,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] public enum OpenGlescoreVersions : int { /// @@ -14604,6 +14728,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum QcomdriverControl : int { /// @@ -14615,6 +14741,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum QcomDriverControl : int { } @@ -14680,6 +14807,8 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] + [CLSCompliant(false)] public enum QcomperfmonGlobalMode : int { /// @@ -14695,6 +14824,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [CLSCompliant(false)] public enum QcomPerfmonGlobalMode : int { /// @@ -15135,6 +15265,7 @@ namespace OpenTK.Graphics.ES11 /// /// Not used directly. /// + [Obsolete("Use enum with correct capitalisation instead.")] public enum TextureCombineDot3 : int { /// diff --git a/Source/OpenTK/Graphics/OpenGL/GL.cs b/Source/OpenTK/Graphics/OpenGL/GL.cs index 4912769..46b6d97 100644 --- a/Source/OpenTK/Graphics/OpenGL/GL.cs +++ b/Source/OpenTK/Graphics/OpenGL/GL.cs @@ -33908,8 +33908,9 @@ namespace OpenTK.Graphics.OpenGL /// /// Specifies a bitwise combination of flags controlling the behavior of the sync object. No flags are presently defined for this operation and flags must be zero.flags is a placeholder for anticipated future extensions of fence sync object capabilities. /// - [Obsolete("Use uint overload instead")] + [Obsolete("Use SyncCondition overload instead")] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glFenceSync")] + [CLSCompliant(false)] public static IntPtr FenceSync(OpenTK.Graphics.OpenGL.ArbSync condition, Int32 flags) { throw new NotImplementedException(); } /// [requires: v3.2 or ARB_sync|VERSION_3_2] @@ -33923,6 +33924,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use SyncCondition overload instead")] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glFenceSync")] + [CLSCompliant(false)] public static IntPtr FenceSync(OpenTK.Graphics.OpenGL.ArbSync condition, UInt32 flags) { throw new NotImplementedException(); } /// [requires: v3.2 or ARB_sync|VERSION_3_2] @@ -119865,6 +119867,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use FfdMaskSgix overload instead")] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformSGIX")] + [CLSCompliant(false)] public static void Deform(UInt32 mask) { throw new NotImplementedException(); } /// [requires: SGIX_async] @@ -120543,6 +120546,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use FfdMaskSgix overload instead")] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glLoadIdentityDeformationMapSGIX")] + [CLSCompliant(false)] public static void LoadIdentityDeformationMap(UInt32 mask) { throw new NotImplementedException(); } /// [requires: SGIX_pixel_texture] -- 2.7.4