discomfitor pushed a commit to branch enlightenment-0.21.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=e88bfc6fd35c1d96c88bbf9d9a70d5f2ee09845d

commit e88bfc6fd35c1d96c88bbf9d9a70d5f2ee09845d
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Sep 1 13:40:12 2017 -0400

    move pending client render queue in pixel callback to before render call
    
    no functional changes
---
 src/bin/e_comp_object.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index f1aeba1cc..f0b5b8f37 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -995,6 +995,11 @@ _e_comp_object_pixels_get(void *data, Evas_Object *obj)
       msg2.val = id;
       edje_object_message_send(cw->shobj, EDJE_MESSAGE_INT, 0, &msg2);
    }
+
+   /* queue another render if client is still dirty; cannot refresh here. */
+   if (e_pixmap_dirty_get(ec->pixmap) && e_pixmap_size_get(ec->pixmap, &pw, 
&ph))
+     e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
+
    if (cw->native)
      {
         E_FREE_FUNC(cw->pending_updates, eina_tiler_free);
@@ -1011,9 +1016,6 @@ _e_comp_object_pixels_get(void *data, Evas_Object *obj)
    /* shaped clients get precise mouse events to handle transparent pixels */
    evas_object_precise_is_inside_set(cw->obj, ec->shaped || ec->shaped_input);
 
-   /* queue another render if client is still dirty; cannot refresh here. */
-   if (e_pixmap_dirty_get(ec->pixmap) && e_pixmap_size_get(ec->pixmap, &pw, 
&ph))
-     e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
    //INF("%p PX(%dx%d) EC(%dx%d) CW(%dx%d)", ec, pw, ph, ec->w, ec->h, cw->w, 
cw->h);
    //e_comp_object_frame_wh_adjust(cw->smart_obj, pw, ph, &pw, &ph);
    //if ((ec->w != pw) || (ec->h != ph))

-- 


Reply via email to