From 080729bad7c6efd20e4f64526286a0aaabf6247c Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 3 Oct 2010 13:19:05 +0000 Subject: [PATCH] Disabled OpenCL bindings (#define EXPERIMENTAL in project options to re-enable). --- Source/OpenTK/Compute/CL10/CL.cs | 4 ++++ Source/OpenTK/Compute/CL10/CLHelper.cs | 4 ++++ Source/OpenTK/Compute/CL10/Core.cs | 4 ++++ Source/OpenTK/Compute/CL10/Delegates.cs | 4 ++++ Source/OpenTK/Compute/CL10/Enums.cs | 4 ++++ Source/OpenTK/Compute/CL10/ErrorHelper.cs | 4 ++++ Source/OpenTK/Compute/CL10/ImageFormat.cs | 4 ++++ Source/OpenTK/Compute/Structs.cs | 4 ++++ 8 files changed, 32 insertions(+) diff --git a/Source/OpenTK/Compute/CL10/CL.cs b/Source/OpenTK/Compute/CL10/CL.cs index 82d26bc2..de4fbcc3 100644 --- a/Source/OpenTK/Compute/CL10/CL.cs +++ b/Source/OpenTK/Compute/CL10/CL.cs @@ -25,6 +25,8 @@ // #endregion +#if EXPERIMENTAL + namespace OpenTK.Compute.CL10 { using System; @@ -12130,3 +12132,5 @@ namespace OpenTK.Compute.CL10 } } + +#endif \ No newline at end of file diff --git a/Source/OpenTK/Compute/CL10/CLHelper.cs b/Source/OpenTK/Compute/CL10/CLHelper.cs index 6dad30cd..43bac75a 100644 --- a/Source/OpenTK/Compute/CL10/CLHelper.cs +++ b/Source/OpenTK/Compute/CL10/CLHelper.cs @@ -25,6 +25,8 @@ // #endregion +#if EXPERIMENTAL + using System; using System.Collections.Generic; using System.Text; @@ -180,3 +182,5 @@ namespace OpenTK.Compute.CL10 #endregion } } + +#endif \ No newline at end of file diff --git a/Source/OpenTK/Compute/CL10/Core.cs b/Source/OpenTK/Compute/CL10/Core.cs index 3107c78e..c8856fb8 100644 --- a/Source/OpenTK/Compute/CL10/Core.cs +++ b/Source/OpenTK/Compute/CL10/Core.cs @@ -25,6 +25,8 @@ // #endregion +#if EXPERIMENTAL + namespace OpenTK.Compute.CL10 { using System; @@ -237,3 +239,5 @@ namespace OpenTK.Compute.CL10 } } } + +#endif \ No newline at end of file diff --git a/Source/OpenTK/Compute/CL10/Delegates.cs b/Source/OpenTK/Compute/CL10/Delegates.cs index c01ecccb..c6306e92 100644 --- a/Source/OpenTK/Compute/CL10/Delegates.cs +++ b/Source/OpenTK/Compute/CL10/Delegates.cs @@ -25,6 +25,8 @@ // #endregion +#if EXPERIMENTAL + namespace OpenTK.Compute.CL10 { using System; @@ -236,3 +238,5 @@ namespace OpenTK.Compute.CL10 } } } + +#endif \ No newline at end of file diff --git a/Source/OpenTK/Compute/CL10/Enums.cs b/Source/OpenTK/Compute/CL10/Enums.cs index f3f5cb69..dd548187 100644 --- a/Source/OpenTK/Compute/CL10/Enums.cs +++ b/Source/OpenTK/Compute/CL10/Enums.cs @@ -25,6 +25,8 @@ // #endregion +#if EXPERIMENTAL + using System; namespace OpenTK.Compute.CL10 @@ -700,3 +702,5 @@ namespace OpenTK.Compute.CL10 } } + +#endif \ No newline at end of file diff --git a/Source/OpenTK/Compute/CL10/ErrorHelper.cs b/Source/OpenTK/Compute/CL10/ErrorHelper.cs index ec576dbb..a9a1a780 100644 --- a/Source/OpenTK/Compute/CL10/ErrorHelper.cs +++ b/Source/OpenTK/Compute/CL10/ErrorHelper.cs @@ -25,6 +25,8 @@ // #endregion +#if EXPERIMENTAL + using System; using System.Collections.Generic; using System.Text; @@ -51,3 +53,5 @@ namespace OpenTK.Compute.CL10 #endregion } } + +#endif \ No newline at end of file diff --git a/Source/OpenTK/Compute/CL10/ImageFormat.cs b/Source/OpenTK/Compute/CL10/ImageFormat.cs index 5d3b4910..7c163c90 100644 --- a/Source/OpenTK/Compute/CL10/ImageFormat.cs +++ b/Source/OpenTK/Compute/CL10/ImageFormat.cs @@ -25,6 +25,8 @@ // #endregion +#if EXPERIMENTAL + using System; using System.Collections.Generic; using System.Text; @@ -52,3 +54,5 @@ namespace OpenTK.Compute.CL10 public ChannelType ChannelType { get { return image_channel_data_type; } set { image_channel_data_type = value; } } } } + +#endif \ No newline at end of file diff --git a/Source/OpenTK/Compute/Structs.cs b/Source/OpenTK/Compute/Structs.cs index fb8b5fb3..5bfc83ad 100644 --- a/Source/OpenTK/Compute/Structs.cs +++ b/Source/OpenTK/Compute/Structs.cs @@ -25,6 +25,8 @@ // #endregion +#if EXPERIMENTAL + using System; using System.Collections.Generic; using System.Text; @@ -191,3 +193,5 @@ namespace OpenTK.Compute #endregion } + +#endif \ No newline at end of file