operations: add position-dependent key to many ops

parent d1804e3f
......@@ -333,9 +333,10 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->prepare = prepare;
gegl_operation_class_set_keys (operation_class,
"name", "gegl:checkerboard",
"categories", "render",
"description", _("Create a checkerboard pattern"),
"name", "gegl:checkerboard",
"categories", "render",
"position-dependent", "true",
"description", _("Create a checkerboard pattern"),
NULL);
}
......
......@@ -332,8 +332,9 @@ gegl_op_class_init (GeglOpClass *klass)
filter_class->process = process;
gegl_operation_class_set_keys (operation_class,
"name", "gegl:deinterlace",
"categories", "enhance",
"name", "gegl:deinterlace",
"categories", "enhance",
"position-dependent", "true",
"description", _("Fix images where every other row or column is missing"),
NULL);
}
......
......@@ -415,8 +415,9 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->prepare = prepare;
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:fractal-explorer",
"categories" , "render",
"name" , "gegl:fractal-explorer",
"categories" , "render",
"position-dependent", "true",
"description", _("Fractal Explorer"),
NULL);
}
......
......@@ -252,8 +252,9 @@ gegl_op_class_init (GeglOpClass *klass)
filter_class->process = process;
gegl_operation_class_set_keys (operation_class,
"name", "gegl:fractal-trace",
"categories", "map",
"name", "gegl:fractal-trace",
"position-dependent", "true",
"categories", "map",
"description", _("Transform the image with the fractals"),
NULL);
}
......
......@@ -152,9 +152,11 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->prepare = prepare;
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:grid",
"categories" , "render",
"description", _("Grid renderer"),
"name", "gegl:grid",
"position-dependent", "true",
"categories" , "render",
"description", _("Grid renderer"),
"position-dependent", "true",
NULL);
}
......
......@@ -494,10 +494,11 @@ gegl_op_class_init (GeglOpClass *klass)
filter_class->process = process;
gegl_operation_class_set_keys (operation_class,
"name", "gegl:lens-distortion",
"categories", "blur",
"description", _("Corrects barrel or pincushion lens distortion."),
"name", "gegl:lens-distortion",
"categories", "blur",
"position-dependent", "true",
"reference-composition", composition,
"description", _("Corrects barrel or pincushion lens distortion."),
NULL);
}
......
......@@ -134,8 +134,9 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->no_cache = TRUE;
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:linear-gradient",
"categories" , "render",
"name", "gegl:linear-gradient",
"categories", "render",
"position-dependent", "true",
"description" , _("Linear gradient renderer"),
NULL);
}
......
......@@ -144,8 +144,9 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->get_required_for_output = get_required_for_output;
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:map-absolute",
"categories" , "transform",
"name" , "gegl:map-absolute",
"categories" , "transform",
"position-dependent", "true",
"description", _("sample input with an auxiliary buffer that contain absolute source coordinates"),
NULL);
}
......
......@@ -424,10 +424,10 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->get_required_for_output = get_required_for_output;
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:mirrors",
"categories" , "blur",
"description",
_("Applies mirroring effect on the image."),
"name", "gegl:mirrors",
"position-dependent", "true",
"categories", "blur",
"description", _("Applies mirroring effect on the image."),
NULL);
}
......
......@@ -292,10 +292,11 @@ gegl_op_class_init (GeglOpClass *klass)
filter_class->process = process;
gegl_operation_class_set_keys (operation_class,
"name", "gegl:motion-blur-circular",
"categories", "blur",
"description", _("Circular motion blur"),
NULL);
"name", "gegl:motion-blur-circular",
"categories", "blur",
"position-dependent", "true",
"description", _("Circular motion blur"),
NULL);
}
#endif
......@@ -237,10 +237,11 @@ gegl_op_class_init (GeglOpClass *klass)
filter_class->process = process;
gegl_operation_class_set_keys (operation_class,
"name", "gegl:motion-blur-zoom",
"categories", "blur",
"description", _("Zoom motion blur"),
NULL);
"name", "gegl:motion-blur-zoom",
"categories", "blur",
"position-dependent", "true",
"description", _("Zoom motion blur"),
NULL);
}
#endif
......@@ -418,8 +418,9 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->opencl_support = TRUE;
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:cell-noise",
"categories" , "render",
"name", "gegl:cell-noise",
"categories", "render",
"position-dependent", "true",
"description", _("Generates a cellular texture."),
NULL);
}
......
......@@ -110,8 +110,9 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->get_cached_region = NULL;
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:perlin-noise",
"categories" , "render",
"name", "gegl:perlin-noise",
"categories", "render",
"position-dependent", "true",
"description", _("Perlin noise generator"),
NULL);
......
......@@ -320,8 +320,9 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->opencl_support = TRUE;
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:simplex-noise",
"categories" , "render",
"name", "gegl:simplex-noise",
"categories", "render",
"position-dependent", "true",
"description", _("Generates a solid noise texture."),
NULL);
}
......
......@@ -509,8 +509,10 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->get_required_for_output = get_required_for_output;
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:panorama-projection",
"categories" , "misc",
"name", "gegl:panorama-projection",
"reference-composition", composition,
"position-dependent", "true",
"categories" , "misc",
"description", _("Perform a equlinear/gnomonic or little planet/stereographic projection of a equirectangular input image."),
NULL);
}
......
......@@ -649,8 +649,9 @@ gegl_op_class_init (GeglOpClass *klass)
filter_class->process = process;
gegl_operation_class_set_keys (operation_class,
"name", "gegl:pixelize",
"categories", "blur",
"name", "gegl:pixelize",
"categories", "blur",
"position-dependent", "true",
"description", _("Simplify image into an array of solid-colored rectangles"),
NULL);
}
......
......@@ -416,8 +416,9 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->get_cached_region = get_cached_region;
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:plasma",
"categories" , "render",
"name", "gegl:plasma",
"categories", "render",
"position-dependent", "true",
"description", _("Creates an image filled with a plasma effect."),
NULL);
}
......
......@@ -416,8 +416,9 @@ gegl_op_class_init (GeglOpClass *klass)
filter_class->process = process;
gegl_operation_class_set_keys (operation_class,
"name", "gegl:polar-coordinates",
"categories", "enhance",
"name", "gegl:polar-coordinates",
"categories", "enhance",
"position-dependent", "true",
"description", _("Convert image to or from polar coordinates"),
NULL);
}
......
......@@ -84,8 +84,9 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->attach = attach;
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:rectangle",
"categories" , "input",
"name", "gegl:rectangle",
"categories", "input",
"position-dependent", "true",
"description",
_("A rectangular source of a fixed size with a solid color"),
NULL);
......
......@@ -165,8 +165,9 @@ gegl_op_class_init (GeglOpClass *klass)
filter_class->process = process;
gegl_operation_class_set_keys (operation_class,
"name", "gegl:ripple",
"categories", "distort",
"name", "gegl:ripple",
"categories", "distort",
"position-dependent", "true",
"description", _("Displace pixels in a ripple pattern"),
NULL);
}
......
......@@ -4371,9 +4371,10 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->opencl_support = TRUE;
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:texturize-canvas",
"categories" , "artistic",
"license" , "GPL3+",
"name", "gegl:texturize-canvas",
"categories", "artistic",
"license", "GPL3+",
"position-dependent", "true",
"description",_("Textures the image as if it were an artist's canvas."),
NULL);
}
......
......@@ -229,9 +229,10 @@ gegl_op_class_init (GeglOpClass *klass)
filter_class->process = process;
gegl_operation_class_set_keys (operation_class,
"categories", "artistic",
"license", "GPL3+",
"name", "gegl:tile-glass",
"categories", "artistic",
"license", "GPL3+",
"name", "gegl:tile-glass",
"position-dependent", "true",
"description", _("Simulate distortion caused by rectangular glass tiles"),
NULL);
}
......
......@@ -160,8 +160,9 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->get_cached_region = get_cached_region;
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:tile-seamless",
"categories" , "misc",
"name" , "gegl:tile-seamless",
"categories" , "misc",
"position-dependent", "true",
"description", _("Make the input buffer seamlessly tileable."
" The algorithm is not content-aware,"
" so the result may need post-processing."),
......
......@@ -129,11 +129,12 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->get_invalidated_by_change = get_invalidated_by_change;
gegl_operation_class_set_keys (operation_class,
"name", "gegl:tile",
"categories", "misc",
"description",
_("Infinitely repeats the input image."),
"reference-composition", composition,
NULL);
"name", "gegl:tile",
"categories", "misc",
"position-dependent", "true",
"reference-composition", composition,
"description",
_("Infinitely repeats the input image."),
NULL);
}
#endif
......@@ -376,8 +376,9 @@ gegl_op_class_init (GeglOpClass *klass)
point_filter_class->cl_process = cl_process;
gegl_operation_class_set_keys (operation_class,
"name", "gegl:vignette",
"categories", "render",
"name", "gegl:vignette",
"position-dependent", "true",
"categories", "render",
"description", _("Applies a vignette to an image. Simulates the luminance "
"fall off at the edge of exposed film, and some other "
"fuzzier border effects that can naturally occur with "
......
......@@ -406,8 +406,9 @@ gegl_op_class_init (GeglOpClass *klass)
filter_class->process = process;
gegl_operation_class_set_keys (operation_class,
"name", "gegl:warp",
"categories", "transform",
"name", "gegl:warp",
"categories", "transform",
"position-dependent", "true",
"description", _("Compute a relative displacement mapping from a stroke"),
NULL);
}
......
......@@ -175,8 +175,9 @@ gegl_op_class_init (GeglOpClass *klass)
filter_class->process = process;
gegl_operation_class_set_keys (operation_class,
"name", "gegl:waves",
"categories", "distort",
"name", "gegl:waves",
"categories", "distort",
"position-dependent", "true",
"description", _("Distort the image with waves"),
NULL);
}
......
......@@ -268,8 +268,9 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->get_required_for_output = get_required_for_output;
gegl_operation_class_set_keys (operation_class,
"name", "gegl:whirl-pinch",
"categories", "distort",
"name", "gegl:whirl-pinch",
"categories", "distort",
"position-dependent", "true",
"description", _("Distort an image by whirling and pinching"),
NULL);
}
......
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