Commit graph

31621 commits

Author SHA1 Message Date
Michael Natterer f851bf0930 pdb: use compat formats for drawable-get-pixel and drawable-set-pixel
unless the plug-in is precision-aware.
2012-05-02 17:51:16 +02:00
Michael Natterer e15702cbe5 app: create gimp-babl-compat.[ch] for gimp_babl_format_get_image_type()
and remove gimp_drawable_type().
2012-05-02 17:51:15 +02:00
Michael Natterer 96ebc6f848 app: add "new_precision" argument to gimp_drawable_convert_type()
for clarity and consistency with the "new_base_type" argument.
2012-05-02 17:51:15 +02:00
Michael Natterer 0e8a00db8b app: honor precision when copying drawables between images 2012-05-02 17:51:15 +02:00
Michael Natterer 5167550271 app: add GIMP_PRECISION_U16 and all needed 16 bit integer formats 2012-05-02 17:51:15 +02:00
Michael Natterer 816a811958 app: enable "use_gegl" toggling in gimp_drawable_real_apply_buffer() 2012-05-02 17:51:14 +02:00
Michael Natterer 2de801e1de app: enable the precision combo in GimpTemplateEditor 2012-05-02 17:51:14 +02:00
Michael Natterer 21dfb8bd9f app/libgimp: enable plug-ins on high precision images
Add gimp_plugin_enable_precision() in libgimp which switches the
plug-in to deal with the drawables' real precision, call it from the
libgimp GeglBuffer and Babl format APIs. If it's not enabled, let the
core's plug-in convert the tiles to legacy formats when sending them
over the wire.
2012-05-02 17:51:14 +02:00
Michael Natterer 85ee13dd7d app: don't crash GimpOperationReplaceMode is mask is NULL 2012-05-02 17:51:14 +02:00
Michael Natterer 32f6015898 app: change replace's "opacity" property from float to double 2012-05-02 17:51:14 +02:00
Ville Sokk 753bc23834 app: new gegl replace mode that uses mask and opacity inputs 2012-05-02 17:51:14 +02:00
Michael Natterer 0011fe5c50 app: special case REPLACE_MODE in gimp_gegl_create_apply_buffer_node()
it needs the mask/opacity on a separate input.
2012-05-02 17:51:14 +02:00
Michael Natterer c0f7538f4f app: port gimpchannel-combine.c to float
so all basic mask manipulations are float now
2012-05-02 17:51:14 +02:00
Michael Natterer ae9ced8432 app: port gimp_channel_bounds() and is_empty() to float 2012-05-02 17:51:14 +02:00
Michael Natterer 90d5624c71 app: use the mask's actual format instead of always float in GimpMaskUndo 2012-05-02 17:51:14 +02:00
Ville Sokk 7eb0d8f4c8 app: added initial gegl replace mode 2012-05-02 17:51:13 +02:00
Michael Natterer 558d4879cd app: create a u8 preview of the right size for GimpBuffers 2012-05-02 17:51:13 +02:00
Michael Natterer 6bff1b21d0 app: uncruftify combine_regions_replace() a bit to ease porting 2012-05-02 17:51:13 +02:00
Michael Natterer cdd3df6c51 app: remove unused function cubic() from paint-funcs.c 2012-05-02 17:51:13 +02:00
Michael Natterer 5e18004bff app: get rid of base-utils.[ch] and move its functions to gimp-utils.[ch] 2012-05-02 17:51:13 +02:00
Michael Natterer 5cf45ff30b app: remove apply_mask_to_region() and its helper functions 2012-05-02 17:51:13 +02:00
Michael Natterer 3090b07606 app: use gimp_gegl_apply_mask() in gimp_drawable_real_replace_buffer() 2012-05-02 17:51:13 +02:00
Michael Natterer 3d095fa806 app: completely port gradient rendering to GEGL 2012-05-02 17:51:13 +02:00
Michael Natterer 71e51e18c9 app: don't pass a PixelRegion to gradient_precalc_shapeburst()
it only needs a rectangle.
2012-05-02 17:51:13 +02:00
Michael Natterer 0a4e138353 app: port gradient rendering with supersampling to GEGL, always use float 2012-05-02 17:51:13 +02:00
Michael Natterer f857f1f53f app: fold the foo_to_bar_buffer() functions into their callers
They contained a single function call now.
2012-05-02 17:51:12 +02:00
Michael Natterer 03ba250879 app: remove combine_mask_and_region() and its helper functions 2012-05-02 17:51:12 +02:00
Michael Natterer 4772d3e832 app: add gimp_gegl_combine_mask() and use it in GimpPaintCore 2012-05-02 17:51:12 +02:00
Michael Natterer c07790fa54 app: add gimp_gegl_apply_mask() and use it in GimpPaintCore 2012-05-02 17:51:12 +02:00
Michael Natterer 1bbd3d40a8 app: make the GimpTempBuf struct private and add accessors 2012-05-02 17:51:12 +02:00
Michael Natterer 3a46cfbbc6 app/pdb: allow some more stuff on indexed by simply removing the restriction 2012-05-02 17:51:12 +02:00
Michael Natterer a016b8102b app: change the maskPR in gimp_drawable_replace_buffer() to GeglBuffer 2012-05-02 17:51:12 +02:00
Michael Natterer a295589157 app: enable blur/sharpen via GimpConvolve on indexed drawables 2012-05-02 17:51:12 +02:00
Michael Natterer 5273a6dbab app: the paint_mask buffer in gimp_paint_core_replace() contains a GimpTempBuf
not a TileManager, so use the right API to get a PixelRegion on it.
2012-05-02 17:51:12 +02:00
Michael Natterer 028d492937 app: GimpBrushCore: hardode one less brush mask format 2012-05-02 17:51:11 +02:00
Michael Natterer a15056095b app: enable GimpDodgeBurn on indexed drawables 2012-05-02 17:51:11 +02:00
Michael Natterer 7f8c6c475f app: show the precision in the image title string for %t 2012-05-02 17:51:11 +02:00
Michael Natterer 8f3fe621e6 app: s/Bit/bit/ in the precision strings 2012-05-02 17:51:11 +02:00
Michael Natterer 736eb26637 app: port GimpCanvasTransformPreview to gegl_buffer_sample() 2012-05-02 17:51:11 +02:00
Michael Natterer ccbd46afce app: fix the image's projection to 8 bit until we got a GEGL projection 2012-05-02 17:51:11 +02:00
Michael Natterer a34afd63d8 app: add GIMP_PRECISION_FLOAT and all its formats
Images in that format can't be created currently, the legacy code
crashes royally on it.
2012-05-02 17:51:11 +02:00
Michael Natterer e285eb5daa app: hide GimpTemplateEditor's precision combo 2012-05-02 17:51:10 +02:00
Michael Natterer 1cec6565c9 app: allow to create TileManagers with >4 bpp 2012-05-02 17:51:10 +02:00
Michael Natterer 8a55b13577 app: add gimp_babl_component_format() and use it in GimpImage 2012-05-02 17:51:10 +02:00
Michael Natterer 8d4672eb5e app: get mask and component formats from the image instead of hardcoding. 2012-05-02 17:51:10 +02:00
Michael Natterer d724aca1a3 app: add a precision combo to GimpTemplateEditor 2012-05-02 17:51:10 +02:00
Michael Natterer acda2b06fc app: add "precision" member and API to GimpTemplate 2012-05-02 17:51:09 +02:00
Michael Natterer 4dee9fa672 app: rename GimpTemplate::image-type to ::base-type
but keep the "image-type" property name, it's stored in template files.
2012-05-02 17:51:09 +02:00
Michael Natterer c07325a005 app: add "precision" argument to gimp_image_new() 2012-05-02 17:51:09 +02:00
Michael Natterer 4f83ca48dc app: add missing formats to gimp_babl_get_description() 2012-05-02 17:51:09 +02:00