[gimp] app: add "cairo-ARGB32" to "R'G'B'A u8" in gimp_babl_init_fishes().



commit a03e52ea08b2be7bcd836f306e3711c56aec5f13
Author: Jehan <jehan girinstud io>
Date:   Wed Aug 1 16:42:39 2018 +0200

    app: add "cairo-ARGB32" to "R'G'B'A u8" in gimp_babl_init_fishes().
    
    This fish is used for text layers, so if we let it to be
    lazy-initialized, the first time one writes text in a text layer, it
    generates a few seconds delay, which is really not great.

 app/gegl/gimp-babl.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/app/gegl/gimp-babl.c b/app/gegl/gimp-babl.c
index 4383fe9540..503e61bc7e 100644
--- a/app/gegl/gimp-babl.c
+++ b/app/gegl/gimp-babl.c
@@ -157,7 +157,8 @@ gimp_babl_init_fishes (GimpInitStatusFunc status_callback)
     { "RaGaBaA float",  "R'G'B'A float" },
     { "RaGaBaA float",  "RGBA float"    },
     { "RGBA float",     "RaGaBaA float" },
-    { "R'G'B' u8",      "RaGaBaA float" }
+    { "R'G'B' u8",      "RaGaBaA float" },
+    { "cairo-ARGB32",   "R'G'B'A u8"    }
   };
 
   gint i;


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