- 03 Nov, 2008 4 commits
-
-
Øyvind Kolås authored
* gegl/buffer/gegl-buffer.c: added FIXME that gegl_buffer_create_sub_buffer needs optimizing (It uses g_object_new and is called by gegl_buffer_get making object creation a bottleneck for a lowlevel operation that should be fast.) svn path=/trunk/; revision=2695
-
Øyvind Kolås authored
* operations/external/stroke.c: (prepare): use RaGaBaA float. svn path=/trunk/; revision=2694
-
Øyvind Kolås authored
* gegl/process/gegl-processor.c: (gegl_processor_set_rectangle): do not intersect with the incoming rectangle with the bounding box of the composition (computing the bounding box is expensive and not yet cache, the rectangle can be frequently reset). svn path=/trunk/; revision=2693
-
Øyvind Kolås authored
* gegl/operation/gegl-operation-point-composer.c: (gegl_operation_composer_process2): s/"over"/"gegl:over"/ svn path=/trunk/; revision=2692
-
- 02 Nov, 2008 10 commits
-
-
Øyvind Kolås authored
* bin/gegl.c: #include "gegl-path-smooth.h" * bin/editor.c: removed unusded variables. * bin/Makefile.am: fix whitespace issues. svn path=/trunk/; revision=2691
-
Øyvind Kolås authored
* operations/common/introspect.c: (process): move unused variable inside #if 0 block. svn path=/trunk/; revision=2690
-
Øyvind Kolås authored
* bin/editor.c: (stroke_press_event), (stroke_motion_notify_event): disable use of dynamics by default (it slows things down too much for now). svn path=/trunk/; revision=2689
-
Øyvind Kolås authored
* bin/Makefile.am: added rules to build commands for pie menu. * bin/editor.c: reorganized path/stroke/pie-menu interaction code to be a statemachine,.. editor.c is getting a bit bulky. Added code to modify existing linewidth markers. The painting code currently has the overhead of a simple dynamics engine. * bin/gegl-node-editor.c: (type_editor_path): * bin/gegl-view.c: (button_press_event): svn path=/trunk/; revision=2688
-
Øyvind Kolås authored
* gegl/property-types/gegl-path.c: cache length of path, and incrementally updated it on line_to's. svn path=/trunk/; revision=2687
-
Øyvind Kolås authored
* gegl/property-types/gegl-path.c: (gegl_path_stroke): when stroking make the linewidth and opacity parameter paths act as weights on the values from properties. svn path=/trunk/; revision=2686
-
Øyvind Kolås authored
* gegl/property-types/gegl-path.c: (subpath_changed), (gegl_path_add_parameter_path), Make changes to subpaths cause a full invalidation of the parent path object. (gegl_path_stamp), (gegl_path_stroke): take parameter scaling factors from "linewidth" and "opacity" path parameters if they are available. * gegl/property-types/gegl-path.h: * operations/external/stroke.c: (get_bounding_box), (process), (gegl_chant_class_init): pass in extra information that might be useful to limit un-needed composites of stamps outside the roi. svn path=/trunk/; revision=2685
-
Michael Natterer authored
svn path=/trunk/; revision=2684
-
Michael Natterer authored
2008-11-02 Michael Natterer <mitch@gimp.org> * operations/common/opacity.c: always take the "value" property into account even if there is an aux mask input. This way we can optimize one node away when a graph has both opacity and mask nodes (as in the gimp layer stack). svn path=/trunk/; revision=2683
-
Øyvind Kolås authored
* gegl/property-types/gegl-path.[ch]: cleaned up header and made it possible to query a path if it has any interpolated parameters. svn path=/trunk/; revision=2682
-
- 01 Nov, 2008 8 commits
-
-
Øyvind Kolås authored
* operations/external/fill.c: removed unused winding parameter. * bin/gegl.c: added an empty stroke op on top of the GEGL logo, select this node in the treeview to start adding strokes on top of the drawing. svn path=/trunk/; revision=2681
-
Øyvind Kolås authored
* bin/gegl-view.c: (gegl_view_class_init), (button_press_event), (button_release_event), (motion_notify_event): do zoom on middle mouse, since the editor now uses right mouse button for a context-menu. svn path=/trunk/; revision=2680
-
Øyvind Kolås authored
* bin/editor.c: refactored cairo code that shows on screen drawings and pointer interaction code to operate with a state machine for different modes. (menu_clear), (menu_add), (path_editor_keybinding), (fill_press_event), (fill_release_event), (fill_motion_notify_event), (cairo_expose), (cairo_gui_expose), (stroke_press_event), (stroke_release_event), (stroke_motion_notify_event), (gui_press_event), (gui_motion_event), (gui_release_event), (editor_set_active), (editor_main). svn path=/trunk/; revision=2679
-
Øyvind Kolås authored
* gegl/property-types/gegl-path.c: (gegl_path_insert): fix slice allocation to only allocate enough memory for stored coordinates. svn path=/trunk/; revision=2678
-
Øyvind Kolås authored
* gegl/operation/gegl-operation-point-composer.c: (gegl_operation_composer_process2): quiten gcc about variable that really is only accessed when set. svn path=/trunk/; revision=2677
-
Øyvind Kolås authored
* bin/gegl.c: (main): initialize the smooth path (used for stroking) svn path=/trunk/; revision=2676
-
Øyvind Kolås authored
* gegl/property-types/gegl-path.[ch]: (gegl_path_is_empty): added a new call to quickly determine if there are any control points in the path. (ensure_tail): added caching code for the tail of the linked list to avoid having to traverse it fully on each add. (flatten_copy), (flatten_rel_copy), (gegl_path_list_append), (gegl_path_clear), (gegl_path_remove), (gegl_path_replace), (gegl_path_append), (gegl_path_list_append_item): make use of the cache tail to speed up instruction appends. svn path=/trunk/; revision=2675
-
Manish Singh authored
* bin/gegl.c: follow gegl-spiro -> gegl-path-spiro rename here too. svn path=/trunk/; revision=2674
-
- 30 Oct, 2008 9 commits
-
-
Øyvind Kolås authored
* gegl/operation/gegl-operation.[ch]: (gegl_operation_invalidate): added a boolean argument as a final argument, if TRUE the op requests that it's output cache should be cleared for the region that is invalidated. * gegl/graph/gegl-node.[ch]: (gegl_node_invalidated), (source_invalidated), (property_changed), (gegl_node_insert_before): * operations/external/fill.c: pass TRUE. * operations/external/stroke.c: pass FALSE. * operations/common/open-buffer.c: pass FALSE. svn path=/trunk/; revision=2673
-
Øyvind Kolås authored
* operations/workshop/stroke.c: moded .. * operations/external/stroke.c: .. here and added cairo based hitdetection (for fixed/max linewidth). * operations/external/Makefile.am: added new file. svn path=/trunk/; revision=2672
-
Øyvind Kolås authored
* bin/Makefile.am: added gegl-path-smooth.[ch] * bin/gegl-spiro.c: * bin/gegl-spiro.h: renamed to: * bin/gegl-path-spiro.c: * bin/gegl-path-spiro.h: And split out the path smoother to: * bin/gegl-path-smooth.c: [NEW] * bin/gegl-path-smooth.h: [NEW] svn path=/trunk/; revision=2671
-
Øyvind Kolås authored
* bin/editor.c: Moved static globals for interaction code into a struct (path_editor_keybinding), (fill_press_event), (fill_release_event), (fill_motion_notify_event), (cairo_expose), (stroke_press_event), (stroke_release_event), (stroke_motion_notify_event), (editor_set_active): svn path=/trunk/; revision=2670
-
Øyvind Kolås authored
* bin/editor.c: (fill_press_event), (fill_release_event), (fill_motion_notify_event), (stroke_press_event), (stroke_release_event), (stroke_motion_notify_event), (path_changed), (editor_set_active): made pointer events when the selected node is a gegl:stroke append to the path and a new path insert above it uppon button release, making it ready to start the cycle afresh. * bin/gegl-tree-editor-action.[ch]: (gegl_add_child): exposed to rest of GEGL binary. svn path=/trunk/; revision=2669
-
Øyvind Kolås authored
* gegl/property-types/gegl-path.c: removed ad-hoc code for path changes, special cased the damaged rectangle when appending line-to instructions to the path. svn path=/trunk/; revision=2668
-
Øyvind Kolås authored
* gegl/gegl-chant.h: changed the path change singaling behavior, ops having a GeglPath property now needs to have a path_changed function within the compilation unit, that will be invoked when the path property changes. * operations/external/fill.c: (path_changed): changed .. * operations/workshop/stroke.c: (path_changed): .. accordingly. svn path=/trunk/; revision=2667
-
Øyvind Kolås authored
* gegl/process/gegl-processor.c: (render_rectangle): Initial steps aiming towards more tile aligned access for the chunks that are pulled by GeglProcessor. svn path=/trunk/; revision=2666
-
Øyvind Kolås authored
* gegl/buffer/gegl-cache.c: (gegl_cache_invalidate): turn of forced blanking of regions that are invalidated. svn path=/trunk/; revision=2665
-
- 29 Oct, 2008 2 commits
-
-
Øyvind Kolås authored
* gegl/property-types/gegl-path.[ch]: Reduce memory usage by making the information kept about each control point depend on it's type. External API remains the same as before, the changes only affect internal storage (and how far the array at the end of the struct can be accessed in const * returns. (copy_data), (gegl_path_list_append_item), (flatten_copy), (flatten_rel_copy), (gegl_path_list_destroy), (gegl_path_item_free), (gegl_path_remove), (gegl_path_insert), (gegl_path_replace), (gegl_path_parameter_path), (gegl_path_stroke): svn path=/trunk/; revision=2664
-
Øyvind Kolås authored
* bin/editor.c: (editor_set_active): make the paths of strokes editable. svn path=/trunk/; revision=2663
-
- 27 Oct, 2008 1 commit
-
-
Øyvind Kolås authored
* gegl/property-types/gegl-path.[ch]: added lists of key/value pairs for auxiliary information for positions along the path. svn path=/trunk/; revision=2662
-
- 21 Oct, 2008 5 commits
-
-
Martin Nordholts authored
* gegl/process/gegl-processor.c (gegl_processor_work): Simplified by putting duplicated code in one place. svn path=/trunk/; revision=2661
-
Martin Nordholts authored
* gegl/operation/gegl-operation-filter.c (gegl_operation_filter_process): Remove fixed FIXME. svn path=/trunk/; revision=2660
-
Martin Nordholts authored
* gegl/operation/gegl-operation.h: Clarified the documenation of GeglOperationClass::process(). * gegl/process/gegl-processor.c (gegl_node_new_processor): Added a FIXME about how to get rid of the GeglOperationSink dependency. svn path=/trunk/; revision=2659
-
Martin Nordholts authored
* gegl/operation/gegl-operation.h: Update docs for GeglOperationClass::process(), the 'result_rect' parameter is now called 'roi'. svn path=/trunk/; revision=2658
-
Øyvind Kolås authored
* gallery/OpenRaster-04.xml: updated to gegl: prefix. (this was the only missed file, (as well as this ChangeLog)) svn path=/trunk/; revision=2657
-
- 20 Oct, 2008 1 commit
-
-
Øyvind Kolås authored
* examples/gegl-paint.c: (paint_press): used s/"vector"/"path"/ * operations/workshop/external/gluas.c: update chant to file_path. svn path=/trunk/; revision=2656
-