Commit Graph

31285 Commits

Author SHA1 Message Date
Michael Natterer
a0ce43dc93 app: don't pass 1.0 as boolean value, not that it would change anything... 2012-05-02 17:46:13 +02:00
Michael Natterer
f036b77f9a app: fix typo that caused wrong paint apply offset in bucket fill 2012-05-02 17:46:13 +02:00
Øyvind Kolås
c872a9368e app: sprinkle level argument over process functions 2012-05-02 17:46:13 +02:00
Michael Natterer
942ed2316b app: remove gimp_drawable_process_lut() 2012-05-02 17:46:13 +02:00
Michael Natterer
cf86aeceb3 app: add GimpOperationEqualize and port equalize to it 2012-05-02 17:46:13 +02:00
Michael Natterer
8d5471502e app: move GimpHistogram from base/ to core/ 2012-05-02 17:46:13 +02:00
Michael Natterer
de0321a82e app: add gimp_gegl_node_set_layer_mode()
and remove all other code that does layer_mode -> node.
2012-05-02 17:46:13 +02:00
Michael Natterer
72cd3c0fc8 app: add our own GimpOperationNormalMode so we can opt out of premultiply 2012-05-02 17:46:12 +02:00
Michael Natterer
e947bb2c39 app: add a "premultiplied" property to GimpOperationPointLayerMode
and default to TRUE. While premultiplied is the right thing to do for
the projection, we can't have it bleeding blackness into our pixels
when using the mode ops for applying paint to drawables, so we will
have to implement each layer mode with both options.
2012-05-02 17:46:12 +02:00
Michael Natterer
fb74b9e822 app: chnage gimp_gegl_create_apply_opacity_node()'s mask offset
to be the offset *of* the mask, not the offset *into* the mask, also
reorder parameters.
2012-05-02 17:46:12 +02:00
Michael Natterer
5ad9b6fdd9 app: add gimp_gegl_create_apply_buffer_node()
which creates a graph that applies paint, and factor out
gimp_gegl_add_buffer_source() which adds a buffer source with optional
offset to a graph.
2012-05-02 17:46:12 +02:00
Michael Natterer
7223af17a2 app: completely port GimpDrawable::apply_region()'s API to GeglBuffer
and pass lots of coords that were hidden inside PixelRegions
explicitly.
2012-05-02 17:46:12 +02:00
Michael Natterer
bfd54a69b7 app: implement "disable layer mask" in the GEGL graph 2012-05-02 17:46:12 +02:00
Michael Natterer
061e044e0a app: change GimpDrawable::replace_region() by ::replace_buffer() 2012-05-02 17:46:12 +02:00
Michael Natterer
a4c83d13ed app: forgot to remove the Threshold cruft typedef 2012-05-02 17:46:12 +02:00
Michael Natterer
cde58408fa app: remove the legacy levels cruft 2012-05-02 17:46:12 +02:00
Michael Natterer
a34b19774b app: remove the legacy curves cruft
and move PDB parameter collection into GimpCurvesConfig convenience
constructors.
2012-05-02 17:46:11 +02:00
Michael Natterer
3bb973f24b app: pass the right undo buffer and extents to gimp_drawable_push_undo()
the coords need to be in drawable bounds now that we got rid of the
weird sparse logic.
2012-05-02 17:46:11 +02:00
Michael Natterer
5bc683f6bc app: make gimpdrawable-combine.c more readable before proceeding 2012-05-02 17:46:11 +02:00
Michael Natterer
4bcddb04a2 app: turn gimp_drawable_apply_buffer()'s src1_tiles argument into base_buffer 2012-05-02 17:46:11 +02:00
Michael Natterer
579d894778 app: turn GimpDrawable::apply_region() into ::apply_buffer()
and GimpDrawableUndo.src2_tiles into applied_buffer.
2012-05-02 17:46:11 +02:00
Michael Natterer
ca734f91b7 app: port gimp_paint_core_paste() to gimp_drawable_apply_buffer()
using the new TempBuf-GeglBuffer.
2012-05-02 17:46:11 +02:00
Michael Natterer
ea8eebcd47 app: support TempBuf backed buffer in gimp_drawable_apply_buffer() 2012-05-02 17:46:11 +02:00
Michael Natterer
d9825e0aea app: use gimp_drawable_apply_buffer() for legacy FS composition 2012-05-02 17:46:11 +02:00
Michael Natterer
91c33799e4 app: use utility functions to create a GeglBuffer from a TempBuf
and to get it back from the buffer.
2012-05-02 17:46:11 +02:00
Michael Natterer
fe1f140e1a app: port blend to gimp_drawable_apply_buffer() 2012-05-02 17:46:11 +02:00
Michael Natterer
6dfaf8ae50 app: more gimp_drawable_apply_region() -> apply_buffer() 2012-05-02 17:46:10 +02:00
Michael Natterer
d2506e43bc app: flush and refetch the shadow buffer before handing it out 2012-05-02 17:46:10 +02:00
Michael Natterer
99ae46b4ed app: turn the drawable's shadow tiles into a shadow buffer 2012-05-02 17:46:10 +02:00
Michael Natterer
dbc881376e app: add gimp_drawable_apply_buffer() and port edit, bucket fill, stroke 2012-05-02 17:46:10 +02:00
Michael Natterer
6534ebb866 app: more copy_region() -> gegl_buffer_copy() 2012-05-02 17:46:10 +02:00
Michael Natterer
c401cf4cba app: tile_manager_read_pixel_data_1() -> gegl_buffer_sample() 2012-05-02 17:46:10 +02:00
Michael Natterer
6c59c45612 app: replace GimpPaintCore's undo_tiles by a GeglBuffer
and simply use a dumb straight copy of the drawable, it's GEGL's job
to do proper COW.
2012-05-02 17:46:10 +02:00
Michael Natterer
0f38966664 app: store GimpImageMap's undo pixels as GeglBuffer, not TileManager 2012-05-02 17:46:10 +02:00
Michael Natterer
c24710b23a app: remove swap_region() and its helper function 2012-05-02 17:46:10 +02:00
Michael Natterer
904a35d722 app: remove width, height from GimpDrawableUndo and GimpDrawable::swap_tiles()
because we always store/swap a buffer of the actual size now.
2012-05-02 17:46:09 +02:00
Michael Natterer
a0c1007b66 app: port GimpDrawableUndo, GimpDrawable::push_undo() and ::swap_tiles()
which gets rid of the manual implementation of sparse undo buffers,
but GEGL will take care of proper COW here soo enough.
2012-05-02 17:46:08 +02:00
Øyvind Kolås
2ff19d7087 libgimp: flush underlying drawable on gegl_buffer_flush 2012-05-02 17:46:08 +02:00
Michael Natterer
1abf5d8e90 plug-ins: clean up goat-exercise.c so it is a better example 2012-05-02 17:46:08 +02:00
Michael Natterer
e4acf6e9cf Require GEGL in gimp-2.0.pc 2012-05-02 17:46:08 +02:00
Michael Natterer
e9c387679b plug-ins: fix mkgen.pl to pass the destdir newly required by make_file()
Also, add support for "gegl => 1" in plugin-degs.pl and regenerated
all build files.
2012-05-02 17:46:08 +02:00
Michael Natterer
f2aa2c2726 plug-ins: remove duplicate GEGL_CFLAGS from winsnap's Makefile.am 2012-05-02 17:46:08 +02:00
Michael Natterer
efb82673de libgimp: make GimpTileBackendPlugin properly private, and some cleanup 2012-05-02 17:46:08 +02:00
Øyvind Kolås
d1ced11415 plug-ins: add GEGL_CFLAGS to many Makefile.am's 2012-05-02 17:46:08 +02:00
Øyvind Kolås
4bdbff08d7 libgimp: add a GeglBuffer backend for plug-ins
Also added an API to get GeglBuffers for drawables, you choose whether you
get.
2012-05-02 17:46:08 +02:00
Michael Natterer
153f56655a app: rename the buffer's tile_source_node to buffer_source_node 2012-05-02 17:46:08 +02:00
Michael Natterer
a982a5ea3a app: change GimpDrawable::get_tiles() to ::get_buffer()
and shuffle code around because the other API is now virtual.
2012-05-02 17:46:07 +02:00
Michael Natterer
f8f4455459 app: change GimpDrawable::set_tiles() to ::set_buffer()
and remove the "type" argument, GeglBuffers have a format.
2012-05-02 17:46:07 +02:00
Michael Natterer
767e472fe8 app: port gimpimage-convert.c to gimp_drawable_set_buffer() 2012-05-02 17:46:07 +02:00
Michael Natterer
938c686daf app: minor cleanup and include removal 2012-05-02 17:46:07 +02:00