evas_render: Ignore objects on planes for rendering
authorDerek Foreman <derek.foreman.samsung@gmail.com>
Mon, 22 Oct 2018 15:37:35 +0000 (10:37 -0500)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 18 Dec 2018 04:23:55 +0000 (13:23 +0900)
We want to pretend they're just not there at this point since the
hardware is responsible for drawing them.

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7198

src/lib/evas/canvas/evas_render.c

index 315d74f..5443569 100644 (file)
@@ -1246,6 +1246,7 @@ _evas_render_phase1_process(Phase1_Context *p1ctx)
 
         EINA_INLIST_FOREACH(lay->objects, obj)
           {
+             if (evas_object_is_on_plane(obj->object, obj)) continue;
              clean_them |= _evas_render_phase1_object_process
                 (p1ctx, obj, EINA_FALSE, EINA_FALSE, EINA_FALSE, 2);
           }