summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-08-09 15:04:31 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-08-24 10:32:35 -0700
commit016d595d83a30a4917100b95fdd78430c0ee568e (patch)
treed44dd4b63023e0c4d6b010679d89da8fbd35c0c3
parent90df46d5b4ae2aa1ad33202595401a18c4c8e398 (diff)
downloadefl-016d595d83a30a4917100b95fdd78430c0ee568e.tar.gz
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
void *(*image_scaled_update) (void *engine, void *scaled, void *image, int dst_w, int dst_h, Eina_Bool smooth, Evas_Colorspace cspace);
void (*image_content_hint_set) (void *engine, void *surface, int hint);
- int (*image_content_hint_get) (void *engine, void *surface);
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);
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);
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)
evas_gl_common_image_content_hint_set(image, hint);
}
-static int
-eng_image_content_hint_get(void *engine EINA_UNUSED, void *image)
-{
- Evas_GL_Image *gim = image;
- if (!gim) return EVAS_IMAGE_CONTENT_HINT_NONE;
- return gim->content_hint;
-}
-
static void
eng_image_cache_flush(void *engine)
{
@@ -3150,7 +3142,6 @@ module_open(Evas_Module *em)
ORD(image_scaled_update);
ORD(image_content_hint_set);
- ORD(image_content_hint_get);
ORD(image_cache_flush);
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 =
eng_image_map_clean,
NULL, // eng_image_scaled_get - used for live scaling in GL only (fastpath)
NULL, // eng_image_content_hint_set - software doesn't use it
- NULL, // eng_image_content_hint_get - software doesn't use it
eng_font_pen_coords_get,
eng_font_text_props_info_create,
eng_font_right_inset_get,