summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-08-25 10:51:27 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-08-25 10:51:27 -0700
commite9cd3e4c7ccbaed1c50bfb0ea14b1031004d8028 (patch)
tree9c7c7125f6f6d99ac37d7428981b9709e2914253
parentef55155e0e429c810fd2b7d138597389e7fe0be6 (diff)
evas: remove image_content_hint_get from backend as it is unused.
-rw-r--r--src/lib/evas/include/evas_private.h1
-rw-r--r--src/modules/evas/engines/gl_generic/evas_engine.c9
-rw-r--r--src/modules/evas/engines/software_generic/evas_engine.c1
3 files changed, 0 insertions, 11 deletions
diff --git a/src/lib/evas/include/evas_private.h b/src/lib/evas/include/evas_private.h
index cd8dd737d7..74ef28d84a 100644
--- a/src/lib/evas/include/evas_private.h
+++ b/src/lib/evas/include/evas_private.h
@@ -1536,7 +1536,6 @@ struct _Evas_Func
1536 void *(*image_scaled_update) (void *engine, void *scaled, void *image, int dst_w, int dst_h, Eina_Bool smooth, Evas_Colorspace cspace); 1536 void *(*image_scaled_update) (void *engine, void *scaled, void *image, int dst_w, int dst_h, Eina_Bool smooth, Evas_Colorspace cspace);
1537 1537
1538 void (*image_content_hint_set) (void *engine, void *surface, int hint); 1538 void (*image_content_hint_set) (void *engine, void *surface, int hint);
1539 int (*image_content_hint_get) (void *engine, void *surface);
1540 int (*font_pen_coords_get) (void *engine, Evas_Font_Set *font, const Evas_Text_Props *intl_props, int pos, int *cpen_x, int *cy, int *cadv, int *ch); 1539 int (*font_pen_coords_get) (void *engine, Evas_Font_Set *font, const Evas_Text_Props *intl_props, int pos, int *cpen_x, int *cy, int *cadv, int *ch);
1541 Eina_Bool (*font_text_props_info_create) (void *engine, Evas_Font_Instance *fi, const Eina_Unicode *text, Evas_Text_Props *intl_props, const Evas_BiDi_Paragraph_Props *par_props, size_t pos, size_t len, Evas_Text_Props_Mode mode, const char *lang); 1540 Eina_Bool (*font_text_props_info_create) (void *engine, Evas_Font_Instance *fi, const Eina_Unicode *text, Evas_Text_Props *intl_props, const Evas_BiDi_Paragraph_Props *par_props, size_t pos, size_t len, Evas_Text_Props_Mode mode, const char *lang);
1542 int (*font_right_inset_get) (void *engine, Evas_Font_Set *font, const Evas_Text_Props *text_props); 1541 int (*font_right_inset_get) (void *engine, Evas_Font_Set *font, const Evas_Text_Props *text_props);
diff --git a/src/modules/evas/engines/gl_generic/evas_engine.c b/src/modules/evas/engines/gl_generic/evas_engine.c
index 201f681b86..56f49392e0 100644
--- a/src/modules/evas/engines/gl_generic/evas_engine.c
+++ b/src/modules/evas/engines/gl_generic/evas_engine.c
@@ -1330,14 +1330,6 @@ eng_image_content_hint_set(void *engine, void *image, int hint)
1330 evas_gl_common_image_content_hint_set(image, hint); 1330 evas_gl_common_image_content_hint_set(image, hint);
1331} 1331}
1332 1332
1333static int
1334eng_image_content_hint_get(void *engine EINA_UNUSED, void *image)
1335{
1336 Evas_GL_Image *gim = image;
1337 if (!gim) return EVAS_IMAGE_CONTENT_HINT_NONE;
1338 return gim->content_hint;
1339}
1340
1341static void 1333static void
1342eng_image_cache_flush(void *engine) 1334eng_image_cache_flush(void *engine)
1343{ 1335{
@@ -3150,7 +3142,6 @@ module_open(Evas_Module *em)
3150 ORD(image_scaled_update); 3142 ORD(image_scaled_update);
3151 3143
3152 ORD(image_content_hint_set); 3144 ORD(image_content_hint_set);
3153 ORD(image_content_hint_get);
3154 3145
3155 ORD(image_cache_flush); 3146 ORD(image_cache_flush);
3156 ORD(image_cache_set); 3147 ORD(image_cache_set);
diff --git a/src/modules/evas/engines/software_generic/evas_engine.c b/src/modules/evas/engines/software_generic/evas_engine.c
index 04bb27d815..f54c0843d6 100644
--- a/src/modules/evas/engines/software_generic/evas_engine.c
+++ b/src/modules/evas/engines/software_generic/evas_engine.c
@@ -4787,7 +4787,6 @@ static Evas_Func func =
4787 eng_image_map_clean, 4787 eng_image_map_clean,
4788 NULL, // eng_image_scaled_get - used for live scaling in GL only (fastpath) 4788 NULL, // eng_image_scaled_get - used for live scaling in GL only (fastpath)
4789 NULL, // eng_image_content_hint_set - software doesn't use it 4789 NULL, // eng_image_content_hint_set - software doesn't use it
4790 NULL, // eng_image_content_hint_get - software doesn't use it
4791 eng_font_pen_coords_get, 4790 eng_font_pen_coords_get,
4792 eng_font_text_props_info_create, 4791 eng_font_text_props_info_create,
4793 eng_font_right_inset_get, 4792 eng_font_right_inset_get,