[gegl] oprations: disable edge-sobel non-matching cl code
- From: Alexia Death <alexiade src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] oprations: disable edge-sobel non-matching cl code
- Date: Sun, 7 Dec 2014 22:32:35 +0000 (UTC)
commit 83fac01b6913695dc8934cba27aebff927d489c4
Author: Alexia Death <alexiadeath gmail com>
Date: Mon Dec 8 00:31:10 2014 +0200
oprations: disable edge-sobel non-matching cl code
operations/common/edge-sobel.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/operations/common/edge-sobel.c b/operations/common/edge-sobel.c
index 0ca94c6..79bb49c 100644
--- a/operations/common/edge-sobel.c
+++ b/operations/common/edge-sobel.c
@@ -70,6 +70,13 @@ static void prepare (GeglOperation *operation)
gegl_operation_set_format (operation, "output", babl_format ("RGBA float"));
}
+/** FIXME - disabling CL
+ * CL border handling is broken. As is the whole result is shifted to avoid the
+ * issue. This is causing tests to fail. The shift can be corrected, but real
+ * issue is handling pixels that the sobel kernel needs from outside the image.
+ */
+/*
+
#include "opencl/gegl-cl.h"
#include "buffer/gegl-buffer-cl-iterator.h"
@@ -174,6 +181,7 @@ cl_process (GeglOperation *operation,
return TRUE;
}
+*/
static gboolean
process (GeglOperation *operation,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]