[gimp/gimp-2-10] app: in gimppaintcore-loops, mark algorithms as mandatory/suppressed



commit ada815673ed239f772042f60ce0008e40cf492d9
Author: Ell <ell_se yahoo com>
Date:   Sat Feb 16 08:36:15 2019 -0500

    app: in gimppaintcore-loops, mark algorithms as mandatory/suppressed
    
    In gimppaintcore-loops, use {Mandatory,Supressed}AlgorithmDispatch,
    added in the previous commit, to mark certain algorithms as always
    occuring, or never occuring, in all hierarchies.
    
    (cherry picked from commit b717ead1abd487f663668ac131883dff0ffe4557)

 app/paint/gimppaintcore-loops.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/paint/gimppaintcore-loops.cc b/app/paint/gimppaintcore-loops.cc
index fdf8d08c15..e3725fdc90 100644
--- a/app/paint/gimppaintcore-loops.cc
+++ b/app/paint/gimppaintcore-loops.cc
@@ -1188,7 +1188,7 @@ struct CombinePaintMaskToCanvasBuffer :
   }
 };
 
-static AlgorithmDispatch<
+static SuppressedAlgorithmDispatch<
   CombinePaintMaskToCanvasBuffer,
   GIMP_PAINT_CORE_LOOPS_ALGORITHM_COMBINE_PAINT_MASK_TO_CANVAS_BUFFER,
   decltype (dispatch_paint_mask),
@@ -1866,7 +1866,7 @@ struct DoLayerBlend : Base
   }
 };
 
-static AlgorithmDispatch<
+static MandatoryAlgorithmDispatch<
   DoLayerBlend,
   GIMP_PAINT_CORE_LOOPS_ALGORITHM_DO_LAYER_BLEND,
   decltype (dispatch_paint_buf),


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