1. 17 May, 2019 1 commit
    • Øyvind "pippin" Kolås's avatar
      buffer: use internal floorf/ceilf implementations · f1be6fb4
      Øyvind "pippin" Kolås authored
      This avoids both function call overhead and extra checks for values that
      are outside MININT/MAXINT range, for the uses inside GeglBuffer we only
      care about coordinates that are representable as integers - thus these
      inline-able shortcut versions are good enough for us.
      
      The speedup seems to consistently make all samplers about 10% faster
      according to the tests in perf/
      f1be6fb4
  2. 04 Apr, 2019 1 commit
    • Edward E.'s avatar
      gegl: guarantee G_OS_WIN32 is set up in platform dependent headers · 6950dda4
      Edward E. authored
      Two gegl headers test for G_OS_WIN32, so have them include a glib header
      proactively. Currently, in every case in gegl where these two are
      included, a glib header had already been included. However, this is not
      assured to be true later, given the possibility of code creep.
      6950dda4
  3. 27 Nov, 2018 1 commit
  4. 01 Oct, 2018 1 commit
  5. 27 Sep, 2018 2 commits
  6. 24 Sep, 2018 1 commit
  7. 11 Jul, 2018 1 commit
  8. 02 Apr, 2018 1 commit
  9. 29 Jan, 2018 1 commit
  10. 20 Jan, 2018 2 commits
  11. 18 Jan, 2018 1 commit
  12. 23 Dec, 2016 2 commits
  13. 04 Jul, 2014 1 commit
    • Øyvind "pippin" Kolås's avatar
      process: propagate level argument further · aa92eab4
      Øyvind "pippin" Kolås authored
      Adding a GEGL_MIPMAP_RENDERING environment variable, which when set causes
      gegl_node_blit to pass this level, rather than 0 to the eval_manager for
      rendering. The level argument is now propagated all the way down to the
      operations process() vfuncs.
      aa92eab4
  14. 04 Mar, 2014 1 commit
  15. 03 Dec, 2013 1 commit
  16. 19 Nov, 2013 1 commit
  17. 25 May, 2013 1 commit
  18. 07 Jun, 2012 1 commit
  19. 11 Apr, 2009 1 commit
  20. 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
  21. 21 Feb, 2009 3 commits
  22. 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
  23. 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
  24. 21 Apr, 2008 1 commit
  25. 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
  26. 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
  27. 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
  28. 07 Jan, 2008 1 commit
  29. 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
  30. 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
  31. 11 Nov, 2007 1 commit
  32. 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
  33. 20 May, 2007 1 commit
  34. 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
  35. 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