From 3a12a6c4a5a358e3af8c4b98b6660eb1a1cbe2eb Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Thu, 5 Apr 2018 14:38:24 +0900 Subject: [PATCH] evas - plug in dirty + pixels get hold in "is inside" for images this should fix T6791 @fix --- src/lib/evas/canvas/evas_object_image.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c index dbdd8cb78e..d3c165c4c4 100644 --- a/src/lib/evas/canvas/evas_object_image.c +++ b/src/lib/evas/canvas/evas_object_image.c @@ -2972,15 +2972,15 @@ evas_object_image_is_inside(Evas_Object *eo_obj, &imagew, &imageh, &uvw, &uvh, EINA_TRUE, EINA_FALSE); if (!pixels) return is_inside; - /* TODO: not handling o->dirty_pixels && o->pixels->func.get_pixels, - * should we handle it now or believe they were done in the last render? - */ if (o->dirty_pixels) { if (o->pixels->func.get_pixels) { - ERR("dirty_pixels && get_pixels not supported"); - // FIXME: no return here? + if (ENFN->gl_get_pixels_pre) + ENFN->gl_get_pixels_pre(ENC, output); + o->pixels->func.get_pixels(o->pixels->func.get_pixels_data, eo_obj); + if (ENFN->gl_get_pixels_post) + ENFN->gl_get_pixels_post(ENC, output); } }