gegl r1501 - in trunk: . gegl



Author: ok
Date: 2007-05-23 22:52:49 +0100 (Wed, 23 May 2007)
New Revision: 1501
ViewCVS link: http://svn.gnome.org/viewcvs/gegl?rev=1501&view=rev

Added:
   trunk/gegl/gegl-operation-area-filter.c
   trunk/gegl/gegl-operation-area-filter.h
Modified:
   trunk/ChangeLog
   trunk/gegl/Makefile.am
   trunk/gegl/gegl-chant.h
   trunk/gegl/gegl-operation.c
   trunk/gegl/gegl-operation.h
Log:
Added a new base class for operations that includes computations for
the defined, needed and affected neighbourhood based on extents in
four dimensions. The implementing operation has to implement the
virutal method tickle, which updates the extents from the properties
in an operation specific manner before the computations are made.
* gegl/gegl-operation.[ch]: added new virtual method tickle().
(gegl_operation_get_defined_region): tickle first
(gegl_operation_get_affected_region): tickle first
(gegl_operation_calc_source_regions): tickle first
* gegl/gegl-operation-area-filter.[ch]:
* gegl/Makefile.am: added new files.
* gegl/gegl-chant.h: added support for GeglOperationAreaFilter
baseclass, static void tickle(GeglOperation *operation) is expected
to be defined in operations using this base.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]