[gegl] ops: non-reproducible reference compositions - set reference hash to unstable for operations that do



commit ed77c64c1a29b9055a205fabacc70399b18cb77e
Author: John <jtm home gmail com>
Date:   Sun Jan 31 17:19:06 2021 +0000

    ops: non-reproducible reference compositions
    - set reference hash to unstable for operations that do not produce
      reproducible hashes.

 operations/common/c2g.c                            | 10 +++++++---
 operations/common/stress.c                         |  3 +++
 operations/external/path.c                         |  3 +++
 operations/seamless-clone/seamless-clone-compose.c |  3 +++
 4 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/operations/common/c2g.c b/operations/common/c2g.c
index c4e1c9b10..36e3e176e 100644
--- a/operations/common/c2g.c
+++ b/operations/common/c2g.c
@@ -456,9 +456,13 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->opencl_support = TRUE;
 
   gegl_operation_class_set_keys (operation_class,
-    "name",        "gegl:c2g",
-    "categories",  "grayscale:color",
-    "title",       "Color to Grayscale",
+    "name",                  "gegl:c2g",
+    "categories",            "grayscale:color",
+    "title",                 "Color to Grayscale",
+    /* Reference hash is not consistent from run to run
+    "reference-hash",        "992ec85d36a5ad598a2533c4593d89d3",
+    */
+    "reference-hash",        "unstable",
     "reference-composition", composition,
     "description",
     _("Color to grayscale conversion, uses envelopes formed with the STRESS approach "
diff --git a/operations/common/stress.c b/operations/common/stress.c
index af7fc146c..c51fc2cbd 100644
--- a/operations/common/stress.c
+++ b/operations/common/stress.c
@@ -266,7 +266,10 @@ gegl_op_class_init (GeglOpClass *klass)
     "name",                  "gegl:stress",
     "title",                 _("Spatio Temporal Retinex-like Envelope with Stochastic Sampling"),
     "categories",            "enhance:tonemapping",
+    /* Reference hash is not consistent from run to run
     "reference-hash",        "992ec85d36a5ad598a2533c4593d89d3",
+    */
+    "reference-hash",        "unstable",
     "reference-composition", composition,
     "description",
         _("Spatio Temporal Retinex-like Envelope with Stochastic Sampling"),
diff --git a/operations/external/path.c b/operations/external/path.c
index 19a13eeb5..f941bf61b 100644
--- a/operations/external/path.c
+++ b/operations/external/path.c
@@ -583,7 +583,10 @@ gegl_op_class_init (GeglOpClass *klass)
     "name",           "gegl:path",
     "title",          _("Render Path"),
     "categories",     "render:vector",
+    /* Reference hash is not consistent from run to run
     "reference-hash", "eba13d16fba3284ceee264073ebfa356",
+    */
+    "reference-hash",        "unstable",
     "reference-composition", composition,
     "description" , _("Renders a brush stroke"),
     NULL);
diff --git a/operations/seamless-clone/seamless-clone-compose.c 
b/operations/seamless-clone/seamless-clone-compose.c
index ddc77a139..f15ce79fb 100644
--- a/operations/seamless-clone/seamless-clone-compose.c
+++ b/operations/seamless-clone/seamless-clone-compose.c
@@ -98,7 +98,10 @@ gegl_op_class_init (GeglOpClass *klass)
   gegl_operation_class_set_keys (operation_class,
     "name",           "gegl:seamless-clone-compose",
     "categories",     "compositors:meta:blend",
+    /* Reference hash is not consistent from run to run
     "reference-hash", "53a7f14935f28383e36cd6ff7e4c1a72",
+    */
+    "reference-hash", "unstable",
     "description", "Seamless cloning composite operation",
     NULL);
 }


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