Commit d2978a92 authored by Øyvind Kolås's avatar Øyvind Kolås

Modified caching hints for some of the renderer operations.

* operations/render/FractalExplorer.c: do not expand result rect (but
do cache).
* operations/render/checkerboard.c: do not expand result rect (and do
not cache).
* operations/render/color.c: do not expand result rect (and do not
cache).

svn path=/trunk/; revision=1596
parent d210b4cf
2007-07-31 Øyvind Kolås <pippin@gimp.org>
Modified caching hints for some of the renderer operations.
* operations/render/FractalExplorer.c: do not expand result rect (but
do cache).
* operations/render/checkerboard.c: do not expand result rect (and do
not cache).
* operations/render/color.c: do not expand result rect (and do not
cache).
2007-07-31 Øyvind Kolås <pippin@gimp.org>
* operations/io/load.c: (dispose), (prepare), (attach): rewritten to
......
......@@ -62,6 +62,7 @@ gegl_chant_boolean (useloglog, FALSE, "Use loglog smoothing")
#define GEGL_CHANT_SOURCE
#define GEGL_CHANT_PREPARE
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include <math.h>
......@@ -444,4 +445,10 @@ get_defined_region (GeglOperation *operation)
return result;
}
static void class_init (GeglOperationClass *klass)
{
klass->adjust_result_region = NULL;
klass->no_cache = FALSE;
}
#endif
......@@ -120,6 +120,7 @@ get_defined_region (GeglOperation *operation)
static void class_init (GeglOperationClass *klass)
{
klass->no_cache = TRUE;
klass->adjust_result_region = NULL;
}
#endif
......@@ -98,6 +98,7 @@ static void class_init (GeglOperationClass *klass)
{
klass->detect = detect;
klass->no_cache = TRUE;
klass->adjust_result_region = NULL;
}
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment