evas: remove image_content_hint_get from backend as it is unused.

This commit is contained in:
Cedric BAIL 2017-08-25 10:51:27 -07:00
parent ef55155e0e
commit e9cd3e4c7c
3 changed files with 0 additions and 11 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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,