gegl/gegl-new-babl.patch
OBS User autobuild 04c4b464c0 Accepting request 30747 from graphics
Copy from graphics/gegl based on submit request 30747 from user coolo

OBS-URL: https://build.opensuse.org/request/show/30747
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gegl?expand=0&rev=9
2010-01-29 15:25:19 +00:00

30 lines
1.1 KiB
Diff

--- gegl/process/gegl-eval-visitor.c 2009-06-21 12:48:02.000000000 -0400
+++ gegl/process/gegl-eval-visitor.c.new 2010-01-24 20:57:51.928143015 -0500
@@ -56,8 +56,6 @@
{
}
-extern long babl_total_usecs;
-
/* this is the visitor that does the real computations for GEGL */
static void
gegl_eval_visitor_visit_pad (GeglVisitor *self,
@@ -83,17 +81,14 @@
else
{
glong time = gegl_ticks ();
- glong babl_time = babl_total_usecs;
/* Make the operation do it's actual processing */
GEGL_NOTE (GEGL_DEBUG_PROCESS, "Processing pad '%s' on \"%s\"", gegl_pad_get_name (pad), gegl_node_get_debug_name (node));
gegl_operation_process (operation, context, gegl_pad_get_name (pad),
&context->result_rect);
- babl_time = babl_total_usecs - babl_time;
time = gegl_ticks () - time;
gegl_instrument ("process", gegl_node_get_operation (node), time);
- gegl_instrument (gegl_node_get_operation (node), "babl", babl_time);
}
}
else if (gegl_pad_is_input (pad))