[gegl] gcut: dead code removal



commit 66ff4f907b2d770ea7cf76ec4c7b52c4ce10b16c
Author: Øyvind Kolås <pippin gimp org>
Date:   Sun Aug 13 00:57:52 2017 +0200

    gcut: dead code removal

 docs/NEWS.txt        |    2 ++
 gcut/default.edl     |    2 +-
 gcut/default.edl.inc |    2 +-
 gcut/gcut-ui.c       |   12 ------------
 gcut/gcut.c          |    3 ---
 5 files changed, 4 insertions(+), 17 deletions(-)
---
diff --git a/docs/NEWS.txt b/docs/NEWS.txt
index b51ffa3..a970364 100644
--- a/docs/NEWS.txt
+++ b/docs/NEWS.txt
@@ -22,6 +22,8 @@ ff-load/ff-save: make audio frame handling more generic.
 
 c2g, avoid possible infinite loop on transparent areas.
 
+Fixes to gaussian-blur and ops core for multi-threaded blurring.
+
 Applications
 ~~~~~~~~~~~~
 
diff --git a/gcut/default.edl b/gcut/default.edl
index b6d83a1..56becfc 100644
--- a/gcut/default.edl
+++ b/gcut/default.edl
@@ -27,6 +27,6 @@ gegl:noise-solid opi=0:0 y-size=4.6258320808410645 seed=668093247 gegl:crop opi=
 gegl:noise-solid opi=0:0 gegl:crop opi=0:0 width=400 height=400 0.000s 1.000s -- [fade=1.440s] svg:src-over 
opi=0:0 aux=[  gegl:text opi=0:0 string='crash recovery by default' size=0.081632360816001892rel 
color='rgb(1.0000, 1.0000, 0.0000)' width=1 height=1 gegl:translate opi=0:0 x=0.10000000000000001rel 
y=0.42925620079040527rel ]
 gegl:noise-solid opi=0:0 gegl:crop opi=0:0 width=400 height=400 0.000s 1.000s -- [fade=1.360s] svg:src-over 
opi=0:0 aux=[  gegl:text opi=0:0 string='overlays:audio filter' size=0.10000000000000001rel 
color='rgb(1.0000, 1.0000, 0.0000)' width=1 height=1 gegl:translate opi=0:0 x=0.10000000000000001rel 
y=0.48208630084991455rel ]
 gegl:noise-solid gegl:crop width=400 height=400 0.000s 1.000s -- [fade=1.360s] over aux=[ text size=0.1rel 
string='network rendering' color=yellow translate x=0.1rel y=0.8rel ]
---   #end titles
+--           #end titles
 gegl:color opi=0:0 gegl:crop opi=0:0 width=400 height=400 0.000s 18.960s -- svg:src-over opi=0:0 aux=[  
gegl:text opi=0:0 string='end titles\n\nfull of newlines\n\nand some images and more\n\nmost of the 
time\n\n\nthough\n\nusing an image that one pans\nwill provide better typographic control\nperhaps based on a 
pdf/svg\n\nthis is is also where I should stick misc info' size=0.040000000000000001rel color='rgb(1.0000, 
1.0000, 1.0000)' width=1 height=8 gegl:translate opi=0:0 x=0.10000000000000001rel y={  0.000000=1.000000rel  
32.000000=-2.000000rel  }  ]
 -----
diff --git a/gcut/default.edl.inc b/gcut/default.edl.inc
index 3179c6d..6606a43 100644
--- a/gcut/default.edl.inc
+++ b/gcut/default.edl.inc
@@ -27,6 +27,6 @@
 "gegl:noise-solid opi=0:0 gegl:crop opi=0:0 width=400 height=400 0.000s 1.000s -- [fade=1.440s] svg:src-over 
opi=0:0 aux=[  gegl:text opi=0:0 string='crash recovery by default' size=0.081632360816001892rel 
color='rgb(1.0000, 1.0000, 0.0000)' width=1 height=1 gegl:translate opi=0:0 x=0.10000000000000001rel 
y=0.42925620079040527rel ]\n"
 "gegl:noise-solid opi=0:0 gegl:crop opi=0:0 width=400 height=400 0.000s 1.000s -- [fade=1.360s] svg:src-over 
opi=0:0 aux=[  gegl:text opi=0:0 string='overlays:audio filter' size=0.10000000000000001rel 
color='rgb(1.0000, 1.0000, 0.0000)' width=1 height=1 gegl:translate opi=0:0 x=0.10000000000000001rel 
y=0.48208630084991455rel ]\n"
 "gegl:noise-solid gegl:crop width=400 height=400 0.000s 1.000s -- [fade=1.360s] over aux=[ text size=0.1rel 
string='network rendering' color=yellow translate x=0.1rel y=0.8rel ]\n"
-"--   #end titles\n"
+"--           #end titles\n"
 "gegl:color opi=0:0 gegl:crop opi=0:0 width=400 height=400 0.000s 18.960s -- svg:src-over opi=0:0 aux=[  
gegl:text opi=0:0 string='end titles\\n\\nfull of newlines\\n\\nand some images and more\\n\\nmost of the 
time\\n\\n\\nthough\\n\\nusing an image that one pans\\nwill provide better typographic control\\nperhaps 
based on a pdf/svg\\n\\nthis is is also where I should stick misc info' size=0.040000000000000001rel 
color='rgb(1.0000, 1.0000, 1.0000)' width=1 height=8 gegl:translate opi=0:0 x=0.10000000000000001rel y={  
0.000000=1.000000rel  32.000000=-2.000000rel  }  ]\n"
 "-----\n"
diff --git a/gcut/gcut-ui.c b/gcut/gcut-ui.c
index aa44610..adc94cf 100644
--- a/gcut/gcut-ui.c
+++ b/gcut/gcut-ui.c
@@ -3058,11 +3058,6 @@ static void help_ui (Mrg *mrg, GeglEDL *edl)
   }
 }
 
-gchar *message = NULL;
-
-extern int cache_hits;
-extern int cache_misses;
-
 long babl_ticks (void);
 
 void gcut_ui (Mrg *mrg, void *data)
@@ -3082,13 +3077,6 @@ void gcut_ui (Mrg *mrg, void *data)
     cairo_paint (mrg_cr (mrg));
   }
 
-  if (message)
-  {
-    mrg_set_style (mrg, "font-size: 0.1yh");
-    mrg_printf (mrg, "%s", message);
-    return;
-  }
-
   g_mutex_lock (&edl->buffer_copy_mutex);
   if (edl->buffer_copy_temp)
     g_object_unref (edl->buffer_copy_temp);
diff --git a/gcut/gcut.c b/gcut/gcut.c
index 1b917bc..4178573 100644
--- a/gcut/gcut.c
+++ b/gcut/gcut.c
@@ -202,9 +202,6 @@ Clip *gcut_get_clip (GeglEDL *edl, double frame_pos, double *clip_frame_pos)
   return NULL;
 }
 
-int cache_hits = 0;
-int cache_misses = 0;
-
 void gcut_set_use_proxies (GeglEDL *edl, int use_proxies)
 {
   double frame_pos;


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