[gegl/gsoc2011-opencl: 21/21] Updated test to new time locking scheme
- From: Victor Matheus de Araujo Oliveira <vmaolive src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/gsoc2011-opencl: 21/21] Updated test to new time locking scheme
- Date: Wed, 26 Oct 2011 16:10:30 +0000 (UTC)
commit 2f8cc6f90ad79f05f739210fd826c6d5a7a7a0df
Author: Victor Oliveira <victormatheus gmail com>
Date: Wed Oct 26 14:01:02 2011 -0200
Updated test to new time locking scheme
tests/simple/test-gegl-tile.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/tests/simple/test-gegl-tile.c b/tests/simple/test-gegl-tile.c
index 1f5905e..58bad34 100644
--- a/tests/simple/test-gegl-tile.c
+++ b/tests/simple/test-gegl-tile.c
@@ -18,7 +18,8 @@
#include <gegl.h>
#include <gegl-buffer-backend.h>
-
+#include <gegl-buffer-private.h>
+#include <gegl-cl-types.h>
#define ADD_TEST(function) g_test_add_func ("/gegl-tile/" #function, function);
@@ -33,6 +34,7 @@ unlock_callback (GeglTile *tile,
static void
free_callback (gpointer pixel_data,
+ GeglClTexture *cl_data,
gpointer user_data)
{
gboolean *callback_called = user_data;
@@ -52,7 +54,7 @@ set_unlock_notify (void)
gegl_tile_set_unlock_notify (tile, unlock_callback, &callback_called);
g_assert (! callback_called);
- gegl_tile_lock (tile);
+ gegl_tile_lock (tile, GEGL_TILE_LOCK_ALL);
g_assert (! callback_called);
gegl_tile_unlock(tile);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]