1. 29 Dec, 2007 1 commit
    • Øyvind Kolås's avatar
      added rowstride parameter to gegl_buffer_set, changing it to be · 6576e8de
      Øyvind Kolås authored
      * gegl/buffer/gegl-buffer.[ch]: added rowstride parameter to
      gegl_buffer_set, changing it to be GEGL_AUTO_ROWSTRIDE should 
      preserve previous behaviour.
      * gegl/operation/gegl-operation-point-composer.c:
      * gegl/operation/gegl-operation-point-filter.c: 
      * gegl/process/gegl-processor.c: 
      * operations/affine/affine.c: 
      * operations/blur/box-blur.c: 
      * operations/blur/gaussian-blur.c:
      * operations/color/mono-mixer.c:
      * operations/color/remap.c: 
      * operations/color/stretch-contrast.c:
      * operations/enhance/bilateral-filter.c:
      * operations/enhance/snn-mean.c:
      * operations/io/jpg-load.c: 
      * operations/io/pixbuf.c:
      * operations/io/png-load.c:
      * operations/io/raw-load.c:
      * operations/io/svg-load.c: 
      * operations/render/FractalExplorer.c:
      * operations/render/checkerboard.c: 
      * operations/render/color.c: 
      * operations/render/noise.c: 
      * operations/render/text.c: added GEGL_AUTO_ROWSTRIDE to instances of
      gegl_buffer_set.
      * operations/workshop/box-max.c:
      * operations/workshop/box-min.c: 
      * operations/workshop/box-percentile.c: 
      * operations/workshop/c2g.c: 
      * operations/workshop/demosaic-simple.c:
      * operations/workshop/disc-percentile.c: 
      * operations/workshop/gtk-display.c: 
      * operations/workshop/hstack.c:
      * operations/workshop/kuwahara-max.c: 
      * operations/workshop/kuwahara-min.c: 
      * operations/workshop/kuwahara.c: 
      * operations/workshop/line-profile.c:
      * operations/workshop/mandelbrot.c: 
      * operations/workshop/max-envelope.c: 
      * operations/workshop/mblur.c: 
      * operations/workshop/min-envelope.c:
      * operations/workshop/rawbayer-load.c:
      * operations/workshop/snn-percentile.c: 
      * operations/workshop/stress.c:  updated for constified
      GeglRectangles, babl formats and added rowstride to gegl_buffer_set.
      
      svn path=/trunk/; revision=1779
      6576e8de
  2. 11 Nov, 2007 1 commit
  3. 10 Nov, 2007 1 commit
    • Øyvind Kolås's avatar
      Upgraded GEGL from (L)GPLv2 to (L)GPLv3. The library itself and the · 6609e9b8
      Øyvind Kolås authored
      	operations are under LGPLv3 and the sample programs using the GEGL
      	library are licensed under GPLv3. Copyright statements in all files
      	have been updated to reflect this change, the permission to use leter
      	versions of the GNU licenses have been retained in all instances.)
      
      	* COPYING: changed to GPLv3
      	* COPYING.LESSER: added (LGPLv3 's exceptions over GPLv3)
      
      svn path=/trunk/; revision=1682
      6609e9b8
  4. 16 Sep, 2007 1 commit
    • Øyvind Kolås's avatar
      modified order of arguments for gegl_node_blit (scale comes before · bb0e8b37
      Øyvind Kolås authored
      	* gegl/gegl.h: modified order of arguments for gegl_node_blit (scale
      	comes before rectangle) as well as added GEGL_AUTO_ROWSTRIDE =0 define
      	to be used for automatic computation of rowstride for gegl_node_blit
      	and gegl_buffer_get
      	* gegl/buffer/gegl-buffer.[ch]: modified order of arguments for
      	gegl_buffer_get() as well as added a rowstride argument.
      
      	These files in the gegl core needed changes to adapt:
      
      	* bin/export.c:
      	* bin/gegl-view.c:
      	* gegl/buffer/gegl-cache.c:
      	* gegl/buffer/gegl-interpolator.c:
      	* gegl/graph/gegl-node.[ch]:
      	* gegl/operation/gegl-operation-point-composer.c:
      	* gegl/operation/gegl-operation-point-filter.c:
      	* gegl/operation/gegl-operation.c:
      	* gegl/process/gegl-processor.c:
      
      	And all operations were touched as well.
      
      	* operations/*/*.c:
      	* operations/*/*/*.c:
      
      svn path=/trunk/; revision=1651
      bb0e8b37
  5. 06 Sep, 2007 1 commit
  6. 22 May, 2007 1 commit
    • Øyvind Kolås's avatar
      Removed fast path optimizations that are unneeded now that the core · 2ebe04cd
      Øyvind Kolås authored
      itself avoids processing nodes whose result rectangles have zero
      extent.
      * operations/blur/box-blur.c:
      * operations/blur/gaussian-blur.c:
      * operations/color/remap.c:
      * operations/color/stretch-contrast.c:
      * operations/workshop/bilateral-filter.c:
      * operations/workshop/box-max.c:
      * operations/workshop/box-min.c:
      * operations/workshop/box-percentile.c:
      * operations/workshop/c2g.c:
      * operations/workshop/contrast-curve.c:
      * operations/workshop/demosaic-simple.c:
      * operations/workshop/difference-of-gaussians.c:
      * operations/workshop/disc-percentile.c:
      * operations/workshop/gluas.c:
      * operations/workshop/grey.c:
      * operations/workshop/gtk-display.c:
      * operations/workshop/hstack.c:
      * operations/workshop/kuwahara-max.c:
      * operations/workshop/kuwahara-min.c:
      * operations/workshop/kuwahara-switch.c:
      * operations/workshop/kuwahara.c:
      * operations/workshop/line-profile.c:
      * operations/workshop/mandelbrot.c:
      * operations/workshop/max-envelope.c:
      * operations/workshop/mblur.c:
      * operations/workshop/min-envelope.c:
      * operations/workshop/mono-mixer.c:
      * operations/workshop/rawbayer-load.c:
      * operations/workshop/snn-mean.c:
      * operations/workshop/snn-percentile.c:
      * operations/workshop/stress.c:
      
      svn path=/trunk/; revision=1498
      2ebe04cd
  7. 08 Feb, 2007 1 commit
    • Øyvind Kolås's avatar
      %s/->w/->width/ , %s/\.w/.width/ for GeglRectangles. · b48f334a
      Øyvind Kolås authored
      * bin/editor.c: (cb_introspect), (cb_fit), (cb_fit_on_screen),
      (cb_shrinkwrap):
      * bin/export.c: (set_to_defined), (button_input_clicked),
      (button_view_clicked), (button_render_clicked),
      (gegl_buffer_export_png):
      * bin/gegl-view.c: (computed_event), (expose_event):
      * bin/gegl.c:
      * gegl/buffer/gegl-buffer.c: (gegl_buffer_constructor),
      (gegl_buffer_void), (gegl_buffer_set), (gegl_buffer_get_scaled),
      (gegl_buffer_get):
      * gegl/buffer/gegl-buffer.h:
      * gegl/buffer/gegl-region-generic.c: (gegl_region_rectangle),
      (gegl_region_get_clipbox), (gegl_region_get_rectangles),
      (gegl_region_union_with_rect), (gegl_region_rect_in):
      * gegl/gegl-debug-rect-visitor.c: (visit_node):
      * gegl/gegl-eval-mgr.c: (gegl_eval_mgr_apply):
      * gegl/gegl-graph.c: (source_invalidated):
      * gegl/gegl-have-visitor.c: (visit_node):
      * gegl/gegl-node-dynamic.c: (gegl_node_dynamic_set_need_rect),
      (gegl_node_dynamic_set_result_rect):
      * gegl/gegl-node.c: (source_invalidated), (gegl_node_blit),
      (gegl_node_set_have_rect), (gegl_node_set_need_rect),
      (gegl_node_set_result_rect), (gegl_node_process):
      * gegl/gegl-operation-point-composer.c: (process_inner):
      * gegl/gegl-operation-point-filter.c: (process_inner):
      * gegl/gegl-operation.c: (gegl_operation_get_affected_region),
      (gegl_operation_set_source_region), (gegl_operation_detect):
      * gegl/gegl-processor.c: (gegl_node_new_processor),
      (render_rectangle), (rect_area):
      * gegl/gegl-types.h:
      * gegl/gegl-utils.c: (gegl_rectangle_set),
      (gegl_rectangle_bounding_box), (gegl_rectangle_intersect),
      (gegl_rectangle_copy), (gegl_rectangle_contains),
      (gegl_rectangle_equal), (gegl_rectangle_equal_coords):
      * gegl/gegl-utils.h:
      * gegl/gegl.h:
      * operations/blur/box-blur.c: (process), (get_defined_region),
      (get_source_rect), (get_affected_region):
      * operations/blur/gaussian-blur.c: (process), (get_defined_region),
      (get_source_rect), (get_affected_region):
      * operations/color/brightness-contrast.c:
      * operations/color/remap.c: (process):
      * operations/color/stretch-contrast.c: (process):
      * operations/core/buffer.c: (get_defined_region):
      * operations/core/clone.c: (detect):
      * operations/core/crop.c: (get_defined_region):
      * operations/display/display.c: (process):
      * operations/file-io/jpg-load.c: (get_defined_region):
      * operations/file-io/load.c: (detect):
      * operations/file-io/magick-load.c: (get_defined_region):
      * operations/file-io/pixbuf.c: (get_defined_region):
      * operations/file-io/png-load.c: (get_defined_region):
      * operations/file-io/png-save.c: (process):
      * operations/file-io/raw-load.c: (get_defined_region):
      * operations/file-io/svg-load.c: (get_defined_region):
      * operations/render/FractalExplorer.c: (process),
      (get_defined_region):
      * operations/render/checkerboard.c: (process):
      * operations/render/color.c: (process):
      * operations/render/introspect.c: (process):
      * operations/render/noise.c: (process):
      * operations/render/text.c: (process), (get_defined_region):
      * operations/transform/affine.c: (bounding_box),
      (get_defined_region), (calc_source_regions), (get_affected_region),
      (process):
      * operations/workshop/box-max.c: (process), (get_defined_region),
      (get_source_rect), (get_affected_region):
      * operations/workshop/box-min.c: (process), (get_defined_region),
      (get_source_rect), (get_affected_region):
      * operations/workshop/demosaic-simple.c: (process),
      (get_defined_region), (get_source_rect), (get_affected_region):
      * operations/workshop/gtk-display.c: (process):
      * operations/workshop/kuwahara-max.c: (process),
      (get_defined_region), (get_source_rect), (get_affected_region):
      * operations/workshop/kuwahara-min.c: (process),
      (get_defined_region), (get_source_rect), (get_affected_region):
      * operations/workshop/kuwahara-switch.c: (process),
      (get_defined_region), (get_source_rect), (get_affected_region):
      * operations/workshop/kuwahara.c: (process), (get_defined_region),
      (get_source_rect), (get_affected_region):
      * operations/workshop/mandelbrot.c: (process):
      * operations/workshop/rawbayer-load.c: (get_defined_region):
      
      svn path=/trunk/; revision=1310
      b48f334a
  8. 26 Jan, 2007 1 commit
    • Øyvind Kolås's avatar
      Internal API change, the order of arguments for buffer set/get · 6a6a5188
      Øyvind Kolås authored
      has changed to:
      void gegl_buffer_get (GeglBuffer    *buffer,
      GeglRectangle *rect,
      gdouble        scale,
      void          *format,
      void          *dest);
      void gegl_buffer_set (GeglBuffer    *buffer,
      GeglRectangle *rect,
      void          *format,
      void          *src);
      * bin/gegl-view.c: (expose_event), (task_monitor):
      * bin/export.c: (button_render_clicked), (gegl_buffer_export_png):
      * gegl/buffer/gegl-buffer.c: (gegl_buffer_set), (gegl_buffer_get):
      * gegl/buffer/gegl-buffer.h:
      * gegl/gegl-operation-point-composer.c: (process_inner):
      * gegl/gegl-operation-point-filter.c: (process_inner):
      * operations/blur/box-blur.c: (hor_blur), (ver_blur):
      * operations/blur/gaussian-blur.c: (iir_young_hor_blur),
      (iir_young_ver_blur), (fir_hor_blur), (fir_ver_blur):
      * operations/color/remap.c: (process):
      * operations/color/stretch-contrast.c: (buffer_get_min_max),
      (process):
      * operations/core/save-buffer.c: (process):
      * operations/display/display.c: (process):
      * operations/file-io/jpg-load.c: (gegl_buffer_import_jpg):
      * operations/file-io/pixbuf.c: (process):
      * operations/file-io/png-load.c: (gegl_buffer_import_png):
      * operations/file-io/png-save.c: (gegl_buffer_export_png):
      * operations/file-io/raw-load.c: (load_buffer):
      * operations/file-io/svg-load.c: (gegl_buffer_import_svg):
      * operations/render/FractalExplorer.c: (process):
      * operations/render/checkerboard.c: (process):
      * operations/render/color.c: (process):
      * operations/render/noise.c: (process):
      * operations/render/text.c: (process):
      * operations/transform/interpolate-cubic.c: (affine_cubic):
      * operations/transform/interpolate-lanczos.c: (affine_lanczos):
      * operations/transform/linear.c: (affine_linear), (scale_linear):
      * operations/transform/nearest.c: (affine_nearest),
      (scale_nearest):
      * operations/workshop/box-max.c: (hor_max), (ver_max):
      * operations/workshop/box-min.c: (hor_min), (ver_min):
      * operations/workshop/demosaic-simple.c: (demosaic):
      * operations/workshop/gtk-display.c: (process):
      * operations/workshop/kuwahara-max.c: (kuwahara):
      * operations/workshop/kuwahara-min.c: (kuwahara):
      * operations/workshop/kuwahara-switch.c: (kuwahara_switch):
      * operations/workshop/kuwahara.c: (kuwahara):
      * operations/workshop/mandelbrot.c: (process):
      * operations/workshop/rawbayer-load.c: (load_buffer):
      
      svn path=/trunk/; revision=1224
      6a6a5188
  9. 23 Jan, 2007 1 commit
    • Øyvind Kolås's avatar
      %s/provider/producer/ · 9c75e311
      Øyvind Kolås authored
      * bin/editor-optype.c: (chain_in_operation):
      * bin/export.c: (get_input_rect):
      * bin/gegl-store.c: (gegl_children), (gegl_next_sibling):
      * bin/gegl-tree-editor.c: (tree_editor_get_active):
      * bin/gegl.c: (main):
      * gegl/gegl-node.c: (gegl_node_set_operation_object),
      (gegl_node_get_producer), (gegl_node_process),
      (gegl_node_insert_before):
      * gegl/gegl-node.h:
      * gegl/gegl.h:
      * operations/workshop/gtk-display.c: (process):
      
      svn path=/trunk/; revision=1199
      9c75e311
  10. 22 Jan, 2007 1 commit
    • Øyvind Kolås's avatar
      %s/gegl_node_get_connected_to/gegl_node_get_provider/ · 6d665965
      Øyvind Kolås authored
      * gegl/gegl.h:
      * gegl/gegl-node.[ch]: (gegl_node_set_operation_object),
      (gegl_node_get_provider), (gegl_node_process),
      (gegl_node_insert_before), (gegl_node_get_consumers),
      (gegl_node_get_consumer):
      * operations/workshop/gtk-display.c: (process):
      * bin/editor-optype.c: (chain_in_operation):
      * bin/export.c: (get_input_rect):
      * bin/gegl-store.c: (gegl_children), (gegl_next_sibling):
      * bin/gegl-tree-editor.c: (tree_editor_get_active):
      * bin/gegl.c: (main):
      
      svn path=/trunk/; revision=1187
      6d665965
  11. 21 Jan, 2007 1 commit
  12. 29 Dec, 2006 1 commit
    • Øyvind Kolås's avatar
      %s/dynamic_id/context_id/g which is hopefully a rename in a sane · 372414f9
      Øyvind Kolås authored
      direction, probably not a final choice though.
      * gegl/gegl-chant.h:
      * gegl/gegl-cr-visitor.c: (visit_node):
      * gegl/gegl-debug-rect-visitor.c: (visit_node):
      * gegl/gegl-eval-mgr.c: (gegl_eval_mgr_apply):
      * gegl/gegl-eval-visitor.c: (visit_pad):
      * gegl/gegl-finish-visitor.c: (visit_node):
      * gegl/gegl-need-visitor.c: (visit_node):
      * gegl/gegl-node-dynamic.h:
      * gegl/gegl-node.c: (gegl_node_set_need_rect),
      (gegl_node_get_result_rect), (gegl_node_set_result_rect),
      (gegl_node_get_need_rect), (lookup_dynamic),
      (gegl_node_get_dynamic), (gegl_node_remove_dynamic),
      (gegl_node_add_dynamic):
      * gegl/gegl-node.h:
      * gegl/gegl-operation-composer.c: (process), (calc_source_regions):
      * gegl/gegl-operation-composer.h:
      * gegl/gegl-operation-filter.c: (process), (calc_source_regions):
      * gegl/gegl-operation-filter.h:
      * gegl/gegl-operation-point-composer.c: (process_inner):
      * gegl/gegl-operation-point-filter.c: (process_inner):
      * gegl/gegl-operation-sink.c: (process), (calc_source_regions):
      * gegl/gegl-operation-sink.h:
      * gegl/gegl-operation-source.c: (process), (calc_source_regions):
      * gegl/gegl-operation-source.h:
      * gegl/gegl-operation.c: (gegl_operation_process),
      (gegl_operation_calc_source_regions), (gegl_operation_prepare),
      (gegl_operation_set_source_region), (calc_source_regions),
      (gegl_operation_get_requested_region),
      (gegl_operation_result_rect), (gegl_operation_get_data),
      (gegl_operation_set_data):
      * gegl/gegl-operation.h:
      * gegl/gegl-prepare-visitor.c: (visit_node):
      * gegl/gegl-visitor.c: (set_property), (get_property):
      * gegl/gegl-visitor.h:
      * operations/blur/box-blur.c: (process), (get_source_rect),
      (calc_source_regions):
      * operations/blur/gaussian-blur.c: (process), (get_source_rect),
      (calc_source_regions):
      * operations/color/remap.c: (process), (get_source_rect),
      (calc_source_regions):
      * operations/color/stretch-contrast.c: (process),
      (calc_source_regions):
      * operations/core/buffer.c: (process):
      * operations/core/clone.c: (process):
      * operations/core/crop.c: (process), (calc_source_regions):
      * operations/core/nop.c: (process):
      * operations/core/save-buffer.c: (process):
      * operations/core/shift.c: (process), (calc_source_regions):
      * operations/display/display.c: (process):
      * operations/file-io/exr-load.cpp:
      * operations/file-io/jpg-load.c: (process):
      * operations/file-io/load.c: (prepare):
      * operations/file-io/magick-load.c: (process):
      * operations/file-io/pixbuf.c: (process):
      * operations/file-io/png-load.c: (process), (get_defined_region):
      * operations/file-io/png-save.c: (process):
      * operations/file-io/raw-load.c: (process):
      * operations/file-io/svg-load.c: (process):
      * operations/meta/layer.c: (prepare):
      * operations/render/FractalExplorer.c: (process):
      * operations/render/checkerboard.c: (process):
      * operations/render/color.c: (process):
      * operations/render/introspect.c: (process):
      * operations/render/noise.c: (process):
      * operations/render/text.c: (process):
      * operations/transform/affine.c: (calc_source_regions), (process):
      * operations/workshop/box-max.c: (process), (get_source_rect),
      (calc_source_regions):
      * operations/workshop/box-min.c: (process), (get_source_rect),
      (calc_source_regions):
      * operations/workshop/demosaic-simple.c: (process),
      (get_source_rect), (calc_source_regions):
      * operations/workshop/gtk-display.c: (process):
      * operations/workshop/mandelbrot.c: (process):
      * operations/workshop/rawbayer-load.c: (process):
      372414f9
  13. 13 Dec, 2006 1 commit
    • Øyvind Kolås's avatar
      %s/GeglRect/GeglRectangle/g · e126ae4f
      Øyvind Kolås authored
      	%s/gegl_rect_/gegl_rectangle_/g
      
      	* bin/editor.c (cb_fit), (cb_fit_on_screen), (cb_shrinkwrap):
      	* bin/export.c (set_to_defined), (get_input_rect),
      	(button_input_clicked), (button_view_clicked),
      	(button_render_clicked), (gegl_buffer_export_png):
      	* bin/gegl-projection.c (gegl_projection_class_init),
      	(task_monitor), (node_invalidated), (gegl_projection_forget_queue),
      	(gegl_projection_forget), (gegl_projection_update_rect),
      	(task_render):
      	* bin/gegl-projection.h:
      	* bin/gegl-view.c (computed_event), (expose_event),
      	(gegl_view_repaint):
      	* codegen/test_files/gegl-add-op.gil:
      	* codegen/test_files/gegl-composite-op.gil:
      	* codegen/test_files/gegl-composite-premult-op.gil:
      	* codegen/test_files/gegl-dark-op.gil:
      	* codegen/test_files/gegl-diff-op.gil:
      	* codegen/test_files/gegl-fill-op.gil:
      	* codegen/test_files/gegl-light-op.gil:
      	* codegen/test_files/gegl-max-op.gil:
      	* codegen/test_files/gegl-min-op.gil:
      	* codegen/test_files/gegl-mult-op.gil:
      	* codegen/test_files/gegl-premult-op.gil:
      	* codegen/test_files/gegl-print-op.gil:
      	* codegen/test_files/gegl-screen-op.gil:
      	* codegen/test_files/gegl-subtract-op.gil:
      	* codegen/test_files/gegl-unpremult-op.gil:
      	* docs/gallery/clones.xml:
      	* docs/reference/gegl/gegl-sections.txt:
      	* docs/reference/gegl/tmpl/gegl-types.sgml:
      	* gegl/buffer/gegl-buffer.c (gegl_buffer_constructor),
      	(gegl_buffer_set), (gegl_buffer_get_scaled), (gegl_buffer_get):
      	* gegl/buffer/gegl-buffer.h:
      	* gegl/buffer/gegl-region-generic.c (gegl_region_rectangle),
      	(gegl_region_get_clipbox), (gegl_region_get_rectangles),
      	(gegl_region_union_with_rect), (gegl_region_rect_in):
      	* gegl/buffer/gegl-region.h:
      	* gegl/gegl-chant.h:
      	* gegl/gegl-eval-mgr.c (gegl_eval_mgr_init), (gegl_eval_mgr_apply):
      	* gegl/gegl-eval-mgr.h:
      	* gegl/gegl-graph.c (source_invalidated):
      	* gegl/gegl-have-visitor.c (visit_node):
      	* gegl/gegl-node-dynamic.c:
      	* gegl/gegl-node-dynamic.h:
      	* gegl/gegl-node.c (gegl_node_class_init), (source_invalidated),
      	(gegl_node_apply_roi), (gegl_node_blit), (gegl_node_apply),
      	(property_changed), (gegl_node_process):
      	* gegl/gegl-node.h:
      	* gegl/gegl-operation-composer.c (get_defined_region),
      	(calc_source_regions):
      	* gegl/gegl-operation-filter.c (get_defined_region),
      	(calc_source_regions):
      	* gegl/gegl-operation-point-composer.c (process_inner):
      	* gegl/gegl-operation-point-filter.c (process_inner):
      	* gegl/gegl-operation-sink.c (get_defined_region),
      	(calc_source_regions):
      	* gegl/gegl-operation-source.c (get_defined_region):
      	* gegl/gegl-operation.c (gegl_operation_get_defined_region),
      	(gegl_operation_get_affected_region),
      	(gegl_operation_set_source_region), (get_defined_region),
      	(get_affected_region):
      	* gegl/gegl-operation.h:
      	* gegl/gegl-types.h:
      	* gegl/gegl-utils.c (gegl_rect_set), (gegl_rect_bounding_box),
      	(gegl_rect_intersect), (gegl_rect_copy), (gegl_rect_contains),
      	(gegl_rect_equal), (gegl_rect_equal_coords), (gegl_rect_dup),
      	(gegl_rect_get_type):
      	* gegl/gegl-utils.h:
      	* gegl/gegl.h:
      	* operations/blur/box-blur.c (process), (get_defined_region),
      	(get_source_rect), (calc_source_regions), (get_affected_region):
      	* operations/blur/gaussian-blur.c (process), (get_defined_region),
      	(get_source_rect), (get_affected_region), (calc_source_regions):
      	* operations/color/stretch-contrast.c (process):
      	* operations/core/buffer.c (get_defined_region):
      	* operations/core/crop.c (get_defined_region),
      	(get_affected_region):
      	* operations/core/shift.c (get_defined_region),
      	(get_affected_region), (calc_source_regions):
      	* operations/display/display.c (process):
      	* operations/file-io/exr-load.cpp:
      	* operations/file-io/jpg-load.c (get_defined_region),
      	(gegl_buffer_import_jpg):
      	* operations/file-io/magick-load.c (get_defined_region):
      	* operations/file-io/pixbuf.c (get_defined_region):
      	* operations/file-io/png-load.c (get_defined_region):
      	* operations/file-io/png-save.c (process),
      	(gegl_buffer_export_png):
      	* operations/file-io/raw-load.c (get_defined_region):
      	* operations/file-io/svg-load.c (get_defined_region),
      	(gegl_buffer_import_svg):
      	* operations/generated/porter-duff.rb:
      	* operations/render/FractalExplorer.c (process),
      	(get_defined_region):
      	* operations/render/checkerboard.c (process), (get_defined_region):
      	* operations/render/color.c (process), (get_defined_region):
      	* operations/render/noise.c (process), (get_defined_region):
      	* operations/render/text.c (process), (get_defined_region):
      	* operations/transform/affine.c (bounding_box),
      	(get_defined_region), (calc_source_regions), (get_affected_region),
      	(process):
      	* operations/workshop/demosaic-simple.c (process),
      	(get_defined_region), (get_source_rect), (calc_source_regions),
      	(get_affected_region):
      	* operations/workshop/gtk-display.c (process):
      	* operations/workshop/mandelbrot.c (process), (get_defined_region):
      	* operations/workshop/rawbayer-load.c (get_defined_region):
      	* opgen/Gegl/PointOp.pm:
      	* tests/filltest-float.c (test_fill_apply_roi):
      	* tests/filltest-uint8.c (test_fill_apply_roi):
      e126ae4f
  14. 11 Dec, 2006 1 commit
    • Øyvind Kolås's avatar
      Adapted most operations to new reentrant API for passing buffers · 84b9ef49
      Øyvind Kolås authored
      around in the graph. (EXR load is amongst the ones that were not
      cheched this time around.)
      * operations/blur/box-blur.c: (process):
      * operations/blur/gaussian-blur.c: (process):
      * operations/color/stretch-contrast.c: (process):
      * operations/core/buffer.c: (process):
      * operations/core/clone.c: (process):
      * operations/core/crop.c: (process):
      * operations/core/nop.c: (process):
      * operations/core/shift.c: (process):
      * operations/display/display.c: (process):
      * operations/file-io/jpg-load.c: (process):
      * operations/file-io/load.c: (refresh_cache):
      * operations/file-io/magick-load.c: (process):
      * operations/file-io/pixbuf.c: (process):
      * operations/file-io/png-load.c: (process):
      * operations/file-io/png-save.c: (process):
      * operations/file-io/raw-load.c: (process):
      * operations/file-io/svg-load.c: (process):
      * operations/meta/layer.c: (refresh_cache):
      * operations/render/FractalExplorer.c: (process):
      * operations/render/checkerboard.c: (process):
      * operations/render/color.c: (process):
      * operations/render/noise.c: (process):
      * operations/render/text.c: (process):
      * operations/transform/affine.c: (process):
      * operations/workshop/demosaic-simple.c: (process):
      * operations/workshop/gtk-display.c: (process):
      * operations/workshop/mandelbrot.c: (process):
      * operations/workshop/rawbayer-load.c: (process):
      84b9ef49
  15. 08 Dec, 2006 1 commit
    • Øyvind Kolås's avatar
      Added GeglNodeDynamic, a data structure to store evaluation · d152b43f
      Øyvind Kolås authored
      thread/context specifc data attached to nodes, at the moment it
      contains some of the rects travesals and internal refcount for buffer
      bookkeeping. Buffers (and potentially other pad data), should be moved
      here as well. A first step towards reentrancy.
      * gegl/Makefile.am:
      * gegl/gegl-chant.h:
      * gegl/gegl-cr-visitor.c: (visit_node):
      * gegl/gegl-debug-rect-visitor.c: (visit_node):
      * gegl/gegl-eval-mgr.c: (gegl_eval_mgr_apply):
      * gegl/gegl-eval-visitor.c: (visit_pad):
      * gegl/gegl-finish-visitor.c: (gegl_finish_visitor_class_init),
      (gegl_finish_visitor_init), (visit_node):
      * gegl/gegl-finish-visitor.h:
      * gegl/gegl-need-visitor.c: (visit_node):
      * gegl/gegl-node-dynamic.c: (gegl_node_dynamic_class_init),
      (gegl_node_dynamic_init), (gegl_node_dynamic_set_need_rect),
      (gegl_node_dynamic_get_result_rect),
      (gegl_node_dynamic_set_result_rect),
      (gegl_node_dynamic_get_need_rect):
      * gegl/gegl-node-dynamic.h:
      * gegl/gegl-node.c: (gegl_node_init), (gegl_node_set_need_rect),
      (gegl_node_get_result_rect), (gegl_node_set_result_rect),
      (gegl_node_get_need_rect), (gegl_node_get_bounding_box),
      (gegl_node_process), (lookup_dynamic), (gegl_node_get_dynamic),
      (gegl_node_remove_dynamic), (gegl_node_add_dynamic):
      * gegl/gegl-node.h:
      * gegl/gegl-operation-composer.c: (process), (calc_source_regions):
      * gegl/gegl-operation-composer.h:
      * gegl/gegl-operation-filter.c: (process), (calc_source_regions):
      * gegl/gegl-operation-filter.h:
      * gegl/gegl-operation-point-composer.c: (process_inner):
      * gegl/gegl-operation-point-filter.c: (process_inner):
      * gegl/gegl-operation-sink.c: (process), (calc_source_regions):
      * gegl/gegl-operation-sink.h:
      * gegl/gegl-operation-source.c: (process), (calc_source_regions):
      * gegl/gegl-operation-source.h:
      * gegl/gegl-operation.c: (gegl_operation_process),
      (gegl_operation_calc_source_regions), (gegl_operation_prepare),
      (gegl_operation_set_source_region), (calc_source_regions),
      (gegl_operation_get_requested_region),
      (gegl_operation_result_rect):
      * gegl/gegl-operation.h:
      * gegl/gegl-prepare-visitor.c: (visit_node):
      * gegl/gegl-types.h:
      * gegl/gegl-visitor.c: (gegl_visitor_class_init), (set_property),
      (get_property):
      * gegl/gegl-visitor.h:
      * operations/blur/box-blur.c: (process), (get_source_rect),
      (calc_source_regions):
      * operations/blur/gaussian-blur.c: (process), (get_source_rect),
      (calc_source_regions):
      * operations/color/stretch-contrast.c: (process),
      (calc_source_regions):
      * operations/core/buffer.c: (process):
      * operations/core/clone.c: (process):
      * operations/core/crop.c: (process), (calc_source_regions):
      * operations/core/nop.c: (process):
      * operations/core/shift.c: (process), (calc_source_regions):
      * operations/display/display.c: (process):
      * operations/file-io/jpg-load.c: (process):
      * operations/file-io/load.c: (prepare):
      * operations/file-io/magick-load.c: (process):
      * operations/file-io/pixbuf.c: (process):
      * operations/file-io/png-load.c: (process), (get_defined_region):
      * operations/file-io/png-save.c: (process):
      * operations/file-io/raw-load.c: (process):
      * operations/file-io/svg-load.c: (process), (get_defined_region):
      * operations/meta/layer.c: (prepare):
      * operations/render/FractalExplorer.c: (process):
      * operations/render/checkerboard.c: (process):
      * operations/render/color.c: (process):
      * operations/render/noise.c: (process):
      * operations/render/text.c: (process):
      * operations/transform/affine.c: (calc_source_regions), (process):
      * operations/workshop/demosaic-simple.c: (process),
      (get_source_rect), (calc_source_regions):
      * operations/workshop/gtk-display.c: (process):
      * operations/workshop/mandelbrot.c: (process):
      * operations/workshop/rawbayer-load.c: (process):
      d152b43f
  16. 28 Nov, 2006 1 commit
    • Øyvind Kolås's avatar
      Adapt to changes in previous commit. · ef32858d
      Øyvind Kolås authored
      
      	Adapt to changes in previous commit.
      
      	* operations/blur/box-blur.c: (hor_blur), (ver_blur):
      	* operations/blur/gaussian-blur.c: (iir_young_hor_blur),
      	(iir_young_ver_blur), (fir_hor_blur), (fir_ver_blur):
      	* operations/color/stretch-contrast.c: (buffer_get_min_max),
      	(process):
      	* operations/display/display.c: (process):
      	* operations/file-io/jpg-load.c: (gegl_buffer_import_jpg):
      	* operations/file-io/pixbuf.c: (process):
      	* operations/file-io/png-load.c: (gegl_buffer_import_png):
      	* operations/file-io/png-save.c: (gegl_buffer_export_png):
      	* operations/file-io/raw-load.c: (load_buffer):
      	* operations/file-io/svg-load.c: (gegl_buffer_import_svg):
      	* operations/render/FractalExplorer.c: (process):
      	* operations/render/checkerboard.c: (process):
      	* operations/render/color.c: (process):
      	* operations/render/noise.c: (process):
      	* operations/render/text.c: (process):
      	* operations/transform/interpolate-cubic.c: (affine_cubic):
      	* operations/transform/interpolate-lanczos.c: (affine_lanczos):
      	* operations/transform/linear.c: (affine_linear), (scale_linear):
      	* operations/transform/module.c: (gegl_module_register):
      	* operations/transform/nearest.c: (affine_nearest), (scale_nearest):
      	* operations/workshop/demosaic-simple.c: (demosaic):
      	* operations/workshop/gtk-display.c: (process):
      	* operations/workshop/mandelbrot.c: (process):
      	* operations/workshop/rawbayer-load.c: (load_buffer):
      	* bin/export.c: (gegl_buffer_export_png):
      	* bin/gegl-projection.c: (task_render):
      	* bin/gegl-view.c: (expose_event):
      ef32858d
  17. 09 Oct, 2006 1 commit