added evas_common_image_init()/shutdown()
authortsauerbeck <tsauerbeck>
Sat, 17 Jan 2004 16:27:58 +0000 (16:27 +0000)
committertsauerbeck <tsauerbeck@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 17 Jan 2004 16:27:58 +0000 (16:27 +0000)
SVN revision: 8527

legacy/evas/src/lib/engines/buffer/evas_engine.c
legacy/evas/src/lib/engines/common/evas_image_main.c
legacy/evas/src/lib/engines/directfb/evas_engine_dfb.c
legacy/evas/src/lib/engines/fb/evas_engine.c
legacy/evas/src/lib/engines/gl_x11/evas_engine.c
legacy/evas/src/lib/engines/software_qtopia/evas_engine.c
legacy/evas/src/lib/engines/software_x11/evas_engine.c
legacy/evas/src/lib/include/evas_common.h

index f5df5d9b14f88d6790d57cc1545529b893dff833..e265e426299a44f0fd541e8f0835de384a8e2228 100644 (file)
@@ -298,6 +298,7 @@ evas_engine_buffer_output_free(void *data)
    free(re);
 
    evas_common_font_shutdown();
+   evas_common_image_shutdown();
 }
 
 static void
index 96c2b1e3aa655fc0209e7365b61102fcac69b0f8..bf8fd0a963bcd4f2e38a8fa19d5c9200f121b3f1 100644 (file)
@@ -55,6 +55,17 @@ image_debug(void)
 void
 evas_common_image_init(void)
 {
+#ifdef BUILD_LOADER_EET
+   eet_init();
+#endif
+}
+
+void
+evas_common_image_shutdown(void)
+{
+#ifdef BUILD_LOADER_EET
+   eet_shutdown();
+#endif
 }
 
 RGBA_Surface *
index d527d627f744ef28f09912525b77c6657a3d03e4..8ce3a0e6a921a1adc3d169ad9c77224d81296231 100644 (file)
@@ -210,6 +210,7 @@ evas_engine_directfb_output_free(void *data)
    free(re);
 
    evas_common_font_shutdown();
+   evas_common_image_shutdown();
 }
 
 void
index ba0345c400bfe006df20eb4783e6875b72e1b8da..f45c2ff118469be40f7dc9234c2858526659d74c 100644 (file)
@@ -244,6 +244,7 @@ evas_engine_fb_output_free(void *data)
    free(re);
 
    evas_common_font_shutdown();
+   evas_common_image_shutdown();
 }
 
 static void
index d7bf0ce84913c759a27c049c06ddb9deb5a94761..2fe7fd49883162e44393636c35a1804ad23b1487 100644 (file)
@@ -259,6 +259,7 @@ evas_engine_gl_x11_output_free(void *data)
    free(re);
 
    evas_common_font_shutdown();
+   evas_common_image_shutdown();
 }
 
 static void
index df9bdb5de0a0828a40d89ae758f196c779250b19..15610034738c4cda85eeda390f46606c55238541 100644 (file)
@@ -260,6 +260,7 @@ evas_engine_software_qtopia_output_free(void *data)
    free(re);
 
    evas_common_font_shutdown();
+   evas_common_image_shutdown();
 }
 
 static void
index a5bfd26d79deff69f363554bbb6efe4f8e2b1453..79f452e1530d611b4ad2b0b674b3504aa80cb0d8 100644 (file)
@@ -303,6 +303,7 @@ evas_engine_software_x11_output_free(void *data)
    free(re);
 
    evas_common_font_shutdown();
+   evas_common_image_shutdown();
 }
 
 static void
index 71f81a8674b774dbf30c8f14fc0407973fbab607..ceea0228c8265fb5c4e70ec8edd4ab93b183cea4 100644 (file)
@@ -742,6 +742,7 @@ void evas_common_scale_rgba_in_to_out_clip_sample      (RGBA_Image *src, RGBA_Im
 
 /****/
 void          evas_common_image_init              (void);
+void          evas_common_image_shutdown          (void);
 
 RGBA_Surface *evas_common_image_surface_new       (void);
 void          evas_common_image_surface_free      (RGBA_Surface *is);