[gegl] continuing last commit
- From: Victor Matheus de Araujo Oliveira <vmaolive src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] continuing last commit
- Date: Tue, 12 Mar 2013 20:56:53 +0000 (UTC)
commit 5a747d06717233772a0699a1583a83ef18c55399
Author: Victor Oliveira <victormatheus gmail com>
Date: Tue Mar 12 17:55:58 2013 -0300
continuing last commit
gegl/opencl/gegl-cl-init.h | 2 ++
operations/common/bilateral-filter-fast.c | 9 ---------
2 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/gegl/opencl/gegl-cl-init.h b/gegl/opencl/gegl-cl-init.h
index 16746aa..c6fb360 100644
--- a/gegl/opencl/gegl-cl-init.h
+++ b/gegl/opencl/gegl-cl-init.h
@@ -79,6 +79,7 @@ t_clEnqueueReadBufferRect gegl_clEnqueueReadBufferRect = NULL;
t_clEnqueueWriteBufferRect gegl_clEnqueueWriteBufferRect = NULL;
t_clEnqueueCopyBufferRect gegl_clEnqueueCopyBufferRect = NULL;
t_clCreateImage2D gegl_clCreateImage2D = NULL;
+t_clCreateImage3D gegl_clCreateImage3D = NULL;
t_clEnqueueWriteImage gegl_clEnqueueWriteImage = NULL;
t_clEnqueueReadImage gegl_clEnqueueReadImage = NULL;
t_clEnqueueCopyImage gegl_clEnqueueCopyImage = NULL;
@@ -121,6 +122,7 @@ extern t_clEnqueueReadBufferRect gegl_clEnqueueReadBufferRect;
extern t_clEnqueueWriteBufferRect gegl_clEnqueueWriteBufferRect;
extern t_clEnqueueCopyBufferRect gegl_clEnqueueCopyBufferRect;
extern t_clCreateImage2D gegl_clCreateImage2D;
+extern t_clCreateImage3D gegl_clCreateImage3D;
extern t_clEnqueueWriteImage gegl_clEnqueueWriteImage;
extern t_clEnqueueReadImage gegl_clEnqueueReadImage;
extern t_clEnqueueCopyImage gegl_clEnqueueCopyImage;
diff --git a/operations/common/bilateral-filter-fast.c b/operations/common/bilateral-filter-fast.c
index 18c590f..28edc0c 100644
--- a/operations/common/bilateral-filter-fast.c
+++ b/operations/common/bilateral-filter-fast.c
@@ -371,9 +371,6 @@ cl_bilateral (cl_mem in_tex,
CL_CHECK;
}
- cl_err = gegl_clFinish(gegl_cl_get_command_queue ());
- CL_CHECK;
-
{
local_ws[0] = 16;
local_ws[1] = 16;
@@ -399,9 +396,6 @@ cl_bilateral (cl_mem in_tex,
CL_CHECK;
}
- cl_err = gegl_clFinish(gegl_cl_get_command_queue ());
- CL_CHECK;
-
for(c = 0; c < 4; c++)
{
const size_t dst_origin[3] = {0, 0, 0};
@@ -415,9 +409,6 @@ cl_bilateral (cl_mem in_tex,
CL_CHECK;
}
- cl_err = gegl_clFinish(gegl_cl_get_command_queue ());
- CL_CHECK;
-
{
global_ws[0] = width;
global_ws[1] = height;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]