From 6263153aa840c9ee4b50b1fedfd5e73344d6ff89 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Tue, 10 Nov 2009 06:39:27 +0000 Subject: [PATCH] Disabled CL10, ES10 and ES11 bindings which were not finalized in time for OpenTK 1.0. --- Source/Examples/OpenCL/VectorAdd.cs | 2 ++ Source/Examples/OpenGLES/1.1/SimpleWindow.cs | 2 ++ Source/OpenTK/Compute/CL10/CLHelper.cs | 5 ++++- Source/OpenTK/Graphics/ES10/Helper.cs | 5 ++++- Source/OpenTK/Graphics/ES11/Helper.cs | 5 ++++- 5 files changed, 16 insertions(+), 3 deletions(-) diff --git a/Source/Examples/OpenCL/VectorAdd.cs b/Source/Examples/OpenCL/VectorAdd.cs index d2cd1289..1f35c772 100644 --- a/Source/Examples/OpenCL/VectorAdd.cs +++ b/Source/Examples/OpenCL/VectorAdd.cs @@ -5,6 +5,7 @@ using OpenTK.Compute.CL10; namespace Examples { +#if EXPERIMENTAL using cl_context = IntPtr; using cl_device_id = IntPtr; using cl_command_queue = IntPtr; @@ -137,4 +138,5 @@ vectorAdd(__global const float * a, } } } +#endif } diff --git a/Source/Examples/OpenGLES/1.1/SimpleWindow.cs b/Source/Examples/OpenGLES/1.1/SimpleWindow.cs index c28caa13..f54faae8 100644 --- a/Source/Examples/OpenGLES/1.1/SimpleWindow.cs +++ b/Source/Examples/OpenGLES/1.1/SimpleWindow.cs @@ -41,6 +41,7 @@ using OpenTK.Graphics.ES11; namespace Examples.Tutorial { +#if EXPERIMENTAL [Example("Immediate mode", ExampleCategory.OpenGLES, "1.1", Documentation = "SimpleES11Window")] public class SimpleES11Window : GameWindow { @@ -204,4 +205,5 @@ namespace Examples.Tutorial #endregion } +#endif } diff --git a/Source/OpenTK/Compute/CL10/CLHelper.cs b/Source/OpenTK/Compute/CL10/CLHelper.cs index 0f8799db..8eacf10c 100644 --- a/Source/OpenTK/Compute/CL10/CLHelper.cs +++ b/Source/OpenTK/Compute/CL10/CLHelper.cs @@ -35,7 +35,10 @@ namespace OpenTK.Compute.CL10 /// /// Provides access to the OpenCL 1.0 flat API. /// - public partial class CL : BindingsBase +#if EXPERIMENTAL + public +#endif + sealed partial class CL : BindingsBase { #region Fields diff --git a/Source/OpenTK/Graphics/ES10/Helper.cs b/Source/OpenTK/Graphics/ES10/Helper.cs index 16f87c7c..7be6c6cf 100644 --- a/Source/OpenTK/Graphics/ES10/Helper.cs +++ b/Source/OpenTK/Graphics/ES10/Helper.cs @@ -7,7 +7,10 @@ namespace OpenTK.Graphics.ES10 /// /// Provides access to OpenGL ES 1.0 methods. /// - public sealed partial class GL : GraphicsBindingsBase +#if EXPERIMENTAL + public +#endif + sealed partial class GL : GraphicsBindingsBase { const string Library = "libGLES.dll"; static readonly object sync_root = new object(); diff --git a/Source/OpenTK/Graphics/ES11/Helper.cs b/Source/OpenTK/Graphics/ES11/Helper.cs index 49917848..bc439eec 100644 --- a/Source/OpenTK/Graphics/ES11/Helper.cs +++ b/Source/OpenTK/Graphics/ES11/Helper.cs @@ -9,7 +9,10 @@ namespace OpenTK.Graphics.ES11 /// /// Provides access to OpenGL ES 1.1 methods. /// - public sealed partial class GL : GraphicsBindingsBase +#if EXPERIMENTAL + public +#endif + sealed partial class GL : GraphicsBindingsBase { const string Library = "libGLES.dll"; static readonly object sync_root = new object();