1. 04 Mar, 2014 1 commit
  2. 03 Dec, 2013 1 commit
  3. 19 Nov, 2013 1 commit
  4. 25 May, 2013 1 commit
  5. 07 Jun, 2012 1 commit
  6. 11 Apr, 2009 1 commit
  7. 22 Feb, 2009 1 commit
    • Martin Nordholts's avatar
      Remove the GEGL_INTERNAL define · 8d088ff8
      Martin Nordholts authored
      Remove the GEGL_INTERNAL define and instead of having incompatible
      public and internal APIs kept under control through preprocessing,
      make the internals depend on the public API and use the strategy of
      having a public API that is a subset of the internal API.
      
      svn path=/trunk/; revision=2929
      8d088ff8
  8. 21 Feb, 2009 3 commits
  9. 20 Oct, 2008 1 commit
    • Øyvind Kolås's avatar
      renamed this .. .. and this to .. .. this and .. .. this. These files · e77de3b3
      Øyvind Kolås authored
      * gegl/property-types/gegl-vector.c: renamed this ..
      * gegl/property-types/gegl-vector.h: .. and this to ..
      * gegl/property-types/gegl-path.c: .. this and ..
      * gegl/property-types/gegl-path.h: .. this.
      These files needed updating:
      * bin/editor.c:
      * bin/gegl-node-editor.c:
      * bin/gegl-spiro.c:
      * bin/gegl.c:
      * examples/gegl-paint.c:
      * gegl/gegl-chant.h:
      * gegl/gegl-types.h:
      * gegl/gegl-xml.c:
      * gegl/operation/gegl-operation.h:
      * gegl/property-types/Makefile.am:
      * gegl/property-types/gegl-paramspecs.c:
      * gegl/property-types/gegl-paramspecs.h:
      * operations/common/layer.c:
      * operations/common/load.c:
      * operations/common/magick-load.c:
      * operations/common/raw-load.c:
      * operations/external/ff-load.c:
      * operations/external/fill.c: 
      * operations/external/jpg-load.c:
      * operations/external/openraw.c:
      * operations/external/png-load.c:
      * operations/external/svg-load.c:
      * operations/external/v4l.c:
      * operations/workshop/stroke.c:
      
      svn path=/trunk/; revision=2653
      e77de3b3
  10. 15 Jun, 2008 1 commit
    • Øyvind Kolås's avatar
      renamed GeglNodeContext GeglOperation context and replaced the node · c940d3f6
      Øyvind Kolås authored
      field with an operation field.
      * gegl/gegl-plugin.h:
      * gegl/gegl-types.h:
      * gegl/graph/Makefile.am:
      * gegl/graph/gegl-node-context.c:
      * gegl/graph/gegl-node-context.h:
      * gegl/graph/gegl-node.c: 
      * gegl/graph/gegl-node.h:
      * gegl/graph/gegl-operation-context.c:
      * gegl/graph/gegl-operation-context.h:
      * gegl/operation/gegl-operation-composer.c:
      * gegl/operation/gegl-operation-filter.c:
      * gegl/operation/gegl-operation-point-composer.c:
      * gegl/operation/gegl-operation-sink.c:
      * gegl/operation/gegl-operation-source.c:
      * gegl/operation/gegl-operation.c:
      * gegl/operation/gegl-operation.h:
      * gegl/operation/gegl-operations.c:
      * gegl/process/gegl-cr-visitor.c:
      * gegl/process/gegl-debug-rect-visitor.c:
      * gegl/process/gegl-eval-mgr.c:
      * gegl/process/gegl-eval-visitor.c:
      * gegl/process/gegl-processor.c:
      * operations/common/introspect.c:
      * operations/common/load-buffer.c:
      * operations/common/magick-load.c:
      * operations/common/open-buffer.c:
      * operations/common/raw-load.c:
      * operations/common/remap.c:
      * operations/core/clone.c:
      * operations/core/crop.c:
      * operations/core/nop.c:
      * operations/core/shift.c:
      * operations/workshop/rawbayer-load.c:
      
      svn path=/trunk/; revision=2471
      c940d3f6
  11. 21 Apr, 2008 1 commit
  12. 22 Jan, 2008 1 commit
    • Øyvind Kolås's avatar
      Removed some public headers, the only way to get all the symbols · 7bce252f
      Øyvind Kolås authored
      and definitions needed for compiling gegl-plugins or other code
      needing acccess to types related to gegl plug-in infrastructure
      is now by including the catch-all gegl-plugin.h header.
      * gegl/Makefile.am: reduced number of installed headers.
      * gegl/module/geglmoduletypes.h: removed.
      * gegl/gegl-plugin.h: duplicate portions of private api to make it
      public. Moved operation abi version definition and geglmodule
      structure here.
      Modified the rest to accomodate change.
      * gegl/gegl-init.c:
      * gegl/gegl-types.h: 
      * bin/gegl-node-editor-plugin.h:
      * gegl/module/Makefile.am:
      * gegl/module/geglmodule.h:
      * gegl/module/geglmoduledb.c:
      * gegl/module/geglmoduledb.h:
      * gegl/operation/gegl-operation.h:
      * operations/affine/affine.c:
      * operations/affine/chant.h:
      * operations/affine/module.h:
      
      svn path=/trunk/; revision=1890
      7bce252f
  13. 21 Jan, 2008 1 commit
    • Øyvind Kolås's avatar
      First shout at installing headers making it possible to build external · 217e658f
      Øyvind Kolås authored
      operations, either as plug-ins or static objects in an application
      using GEGL.
      * gegl/Makefile.am: added gegl-chant.h and module/geglmodule*.h to the
      set of headers to be installed in the gegl header base dir.
      * gegl/module/geglmodule.h: added comment about module ABI versions,
      and updated instruction on when this ABI should be incremented. (we
      should probably allow a range of ABIs, one to be incremented on ABI
      addition and the lower threshold to be incremented on ABI change.
      * gegl/module/geglmoduletypes.h: removed invalid header.
      * gegl/gegl-chant.h: added comment at top.
      * gegl/graph/gegl-pad.h: moved definition of GeglPadType ..
      * gegl/gegl-types.h: .. here, as well as reorganized this file a bit
      to guard against multiple inclusion.
      * gegl/gegl.h: added some guards against multiple inclusion.
      The rest of these files were changed to make them compile, there are
      still some warnings about undeclared functions being issued that needs
      sorting out.
      * gegl/buffer/gegl-buffer-allocator.c:
      * gegl/buffer/gegl-buffer-load.c:
      * gegl/buffer/gegl-buffer-save.c:
      * gegl/buffer/gegl-buffer.c:
      * gegl/buffer/gegl-handler-cache.c:
      * gegl/buffer/gegl-region-generic.c:
      * gegl/buffer/gegl-tile.c:
      * gegl/gegl-dot.c:
      * operations/Makefile-operations.am:
      * operations/color/mono-mixer.c:
      * operations/io/exr-load.cpp:
      * operations/io/load-buffer.c:
      * operations/io/load.c:
      * operations/io/png-save.c:
      * operations/io/save-pixbuf.c:
      * operations/render/checkerboard.c:
      * operations/render/introspect.c:
      
      svn path=/trunk/; revision=1874
      217e658f
  14. 18 Jan, 2008 1 commit
    • Øyvind Kolås's avatar
      install operation header files in $(includedir)-0.0/operation/ do not · 5214a071
      Øyvind Kolås authored
      * gegl/operation/Makefile.am: install operation header files in
      $(includedir)-0.0/operation/
      * gegl/gegl-module.h: do not include gegl-types.h
      * gegl/gegl-types.h: added some ad-hoc guards against multiple
      typedefs.
      * gegl/graph/gegl-node-context.c:
      * gegl/graph/gegl-node.c:
      * gegl/operation/gegl-operation-area-filter.c:
      * gegl/operation/gegl-operation-composer.c:
      * gegl/operation/gegl-operation-filter.c:
      * gegl/operation/gegl-operation-meta.c:
      * gegl/operation/gegl-operation-point-composer.c:
      * gegl/operation/gegl-operation-point-filter.c:
      * gegl/operation/gegl-operation-sink.c:
      * gegl/operation/gegl-operation-source.c:
      * gegl/operation/gegl-operation.c:
      * gegl/operation/gegl-operation.h:
      * operations/affine/module.c:
      * operations/color/remap.c:
      * operations/core/clone.c:
      * operations/core/crop.c:
      * operations/core/nop.c:
      * operations/core/shift.c: modified to compile with header files
      modified to allow the operation headers being installed.
      
      svn path=/trunk/; revision=1870
      5214a071
  15. 07 Jan, 2008 1 commit
  16. 05 Jan, 2008 1 commit
    • Øyvind Kolås's avatar
      Renamed GeglNodeDynamic to GeglNodeContext. · a6c0d4dd
      Øyvind Kolås authored
      * gegl/gegl-types.h:
      * gegl/graph/Makefile.am:
      * gegl/graph/gegl-node-context.c:
      * gegl/graph/gegl-node-context.h:
      * gegl/graph/gegl-node-dynamic.c:
      * gegl/graph/gegl-node-dynamic.h:
      * gegl/graph/gegl-node.c: 
      * gegl/graph/gegl-node.h:
      * gegl/operation/gegl-operation.c:
      * gegl/operation/gegl-operation.h:
      * gegl/process/gegl-cr-visitor.c: 
      * gegl/process/gegl-debug-rect-visitor.c: 
      * gegl/process/gegl-eval-mgr.c: 
      * gegl/process/gegl-eval-visitor.c:
      * gegl/process/gegl-finish-visitor.c:
      * gegl/process/gegl-prepare-visitor.c:
      * gegl/process/gegl-processor.c: 
      
      svn path=/trunk/; revision=1800
      a6c0d4dd
  17. 29 Dec, 2007 1 commit
    • Øyvind Kolås's avatar
      constified BablFormats. · e3f265b0
      Øyvind Kolås authored
      * bin/export.c:
      * gegl/buffer/gegl-buffer-allocator.c:
      * gegl/buffer/gegl-buffer-allocator.h:
      * gegl/buffer/gegl-buffer-private.h:
      * gegl/buffer/gegl-buffer.c:
      * gegl/buffer/gegl-buffer.h:
      * gegl/buffer/gegl-cache.h:
      * gegl/gegl-chant.h:
      * gegl/gegl-init.c:
      * gegl/gegl-plugin.h:
      * gegl/gegl-types.h:
      * gegl/gegl.h:
      * gegl/graph/gegl-node.c:
      * gegl/graph/gegl-node.h:
      * gegl/operation/gegl-operation.c:
      * gegl/operation/gegl-operation.h:
      * gegl/process/gegl-processor.c:
      * gegl/property-types/Makefile.am:
      * gegl/property-types/gegl-paramspecs.c:
      * operations/io/png-save.c: 
      * operations/io/save-pixbuf.c:
      * operations/render/Makefile.am:
      * operations/workshop/Makefile.am: constified BablFormats.
      
      svn path=/trunk/; revision=1772
      e3f265b0
  18. 11 Nov, 2007 1 commit
  19. 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
  20. 20 May, 2007 1 commit
  21. 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
  22. 27 Jan, 2007 1 commit
    • Øyvind Kolås's avatar
      Added an API to do iterative processing, at the moment · 5b0c53b0
      Øyvind Kolås authored
      gegl_node_process is ported to use it, but the new code itself
      isn't exposed yet.
      * gegl/gegl-types.h: add GeglProcessor.
      * bin/export.c: (button_render_clicked):
      * bin/gegl-view.c: (task_monitor):
      * gegl/buffer/gegl-cache.c: (rect_area), (region_area),
      (area_left), (area_left2), (gegl_cache_render):
      * gegl/buffer/gegl-cache.h:
      * gegl/gegl-node.[ch]: (gegl_node_blit), (gegl_node_new_processor),
      (gegl_processor_work), (gegl_processor_destroy),
      (gegl_node_process):
      
      svn path=/trunk/; revision=1227
      5b0c53b0
  23. 28 Dec, 2006 1 commit
    • Øyvind Kolås's avatar
      Added a PATH paramspec (chantable from operations). · 54992a44
      Øyvind Kolås authored
      * gegl/gegl-paramspecs.[ch]: NEW files (copied from GIMP, shortened
      and appeneded).
      * gegl/Makefile.am:
      * gegl/gegl-chant.h:
      * gegl/gegl-plugin.h:
      * gegl/gegl-types.h:
      * gegl/gegl.h:
      use gegl_chant_path instead of gegl_chant_string for the properties
      which are filenames.
      * operations/file-io/jpg-load.c:
      * operations/file-io/load.c:
      * operations/file-io/magick-load.c:
      * operations/file-io/png-load.c:
      * operations/file-io/png-save.c:
      * operations/file-io/raw-load.c:
      * operations/file-io/svg-load.c:
      54992a44
  24. 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
  25. 12 Dec, 2006 1 commit
    • Øyvind Kolås's avatar
      Reimplemented the dirt handling with signals, making GEGL push dirt · bbee29e1
      Øyvind Kolås authored
              instead of poll for it.
      
              * gegl/gegl-clean-visitor.[ch]: REMOVED
              * gegl/gegl-dirt-visitor.[ch]: REMOVED
              * gegl/gegl-types.h: removed clean/dirt visitors.
              * gegl/Makefile.am: updated to reflect above change.
      
              * gegl/gegl-node.[ch]: (gegl_node_class_init), (gegl_node_init),
              (source_invalidated), (gegl_node_connect_from),
              (gegl_node_disconnect), (property_changed),
              (gegl_node_get_connected_to): Replaced dirt member with singal
              propagation for changed rects in the graph.
              * gegl/gegl-graph.c: (source_invalidated),
              (gegl_graph_get_pad_proxy): forward changes through ghost pads.
      
              * bin/gegl-projection.c: (gegl_projection_constructor),
              (gegl_projection_class_init), (gegl_projection_init),
              (task_monitor), (node_invalidated), (set_property),
              (gegl_projection_update_rect), (task_render),
              (gegl_projection_render): made projection work with new signal based
              dirt API.
      bbee29e1
  26. 08 Dec, 2006 1 commit
    • Øyvind Kolås's avatar
      Added GeglNodeDynamic, a data structure to store evaluation · 712b489b
      Ø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.
      * 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):
      712b489b
  27. 29 Oct, 2006 1 commit
    • Øyvind Kolås's avatar
      Minimized unneeded recomputation in the GUI test app with a new · 5f34521c
      Øyvind Kolås authored
      	dirt propagation infrastructure. The dirt accumulation is happening
      	as the graph is manipulated, properties are changed etc automatically.
      	The code probably needs more changes as well, but the basics seems
      	to work correctly.
      
      	* bin/gegl-projection.c: (gegl_projection_constructor),
      	(set_property), (task_render), (task_monitor): Handle dirt
      	tracking/cleaning for updates.
      	* bin/gegl-view.c: (set_property), (gegl_view_repaint):
      	* bin/gegl.c: (main): changed the default project.
      
      	* gegl/Makefile.am: added gegl-{clean,dirt}-visitor.[ch]
      	* gegl/gegl-types.h: added dirt and clean visitors.
      	* gegl/gegl-dirt-visitor.[ch] NEW:, visitor for propagating dirtied
      	regions in the graph.
      	* gegl/gegl-clean-visitor.[ch] NEW:, visitor that cleans up dirt
      	rectangles.
      
      	* gegl/gegl-node.[ch]: added gegl_node_get_dirty_rect,
      	gegl_node_clear_dirt and dirt_rect instance member.
      	* gegl/gegl-operation.c: (get_affected_region):
      
      	Added get_affected_region to operations that needed to override
      	default behavior.
      
      	* operations/blur/box-blur.c: (get_affected_region), (class_init):
      	* operations/blur/gaussian-blur.c: (get_affected_region),
      	(class_init):
      	* operations/core/shift.c: (get_affected_region), (class_init):
      	* operations/transform/affine.c: (op_affine_class_init),
      	(get_defined_region), (get_affected_region):
      	* operations/generated/porter-duff.rb: (op_affine_class_init).
      5f34521c
  28. 26 Sep, 2006 2 commits
  29. 11 Sep, 2006 1 commit
  30. 29 Aug, 2006 1 commit
  31. 31 May, 2006 1 commit
  32. 15 May, 2006 1 commit
  33. 31 Jul, 2005 1 commit
  34. 15 Jul, 2005 1 commit
  35. 11 Jun, 2005 1 commit
  36. 02 Jun, 2005 2 commits
    • Michael Natterer's avatar
      gegl/gegl-connection.[ch] gegl/gegl-eval-mgr.[ch] gegl/gegl-eval-visitor.c · 5d7d475b
      Michael Natterer authored
      2005-06-03  Michael Natterer  <mitch@gimp.org>
      
      	* gegl/gegl-connection.[ch]
      	* gegl/gegl-eval-mgr.[ch]
      	* gegl/gegl-eval-visitor.c
      	* gegl/gegl-filter.c
      	* gegl/gegl-graph.[ch]
      	* gegl/gegl-init.[ch]
      	* gegl/gegl-node.[ch]
      	* gegl/gegl-object.c
      	* gegl/gegl-property.c
      	* gegl/gegl-types.h
      	* gegl/gegl-utils.[ch]
      	* gegl/gegl-visitable.c
      	* gegl/gegl-visitor.c
      	* gegl/gegl.h: more cleanup.
      5d7d475b
    • Michael Natterer's avatar
      gegl/gegl-connection.[ch] gegl/gegl-eval-mgr.[ch] · 3200ea32
      Michael Natterer authored
      2005-06-02  Michael Natterer  <mitch@gimp.org>
      
      	* gegl/gegl-connection.[ch]
      	* gegl/gegl-eval-mgr.[ch]
      	* gegl/gegl-eval-visitor.[ch]
      	* gegl/gegl-filter.[ch]
      	* gegl/gegl-graph.[ch]
      	* gegl/gegl-node.[ch]
      	* gegl/gegl-object.[ch]
      	* gegl/gegl-property.[ch]
      	* gegl/gegl-types.h
      	* gegl/gegl-visitable.[ch]
      	* gegl/gegl-visitor.[ch]: same header and include cleanup
      	as in gegl/image
      
      	* gegl/gegl.h: added opaque typedefs.
      
      	* gegl/image/gegl-normalizer-mult.c
      	* gegl/image/gegl-normalizer.c: same cleanup here.
      3200ea32