evas_render: Move plane setup code

Put this at the start of render so we can remove stuff on planes from
the scene graph entirely.  This stops us from drawing the entire object
underneat the plane.

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7194
This commit is contained in:
Derek Foreman 2018-10-22 10:32:24 -05:00
parent 9362bc9bb2
commit 95dce74b85
1 changed files with 2 additions and 1 deletions

View File

@ -3234,6 +3234,8 @@ evas_render_updates_internal(Evas *eo_e,
evas_render_pre(eo_e, evas);
_evas_planes(e);
eina_evlog("+render_calc", eo_e, 0.0, NULL);
evas_call_smarts_calculate(eo_e);
eina_evlog("-render_calc", eo_e, 0.0, NULL);
@ -3413,7 +3415,6 @@ evas_render_updates_internal(Evas *eo_e,
else
_evas_object_image_video_overlay_hide(eo_obj);
}
_evas_planes(e);
eina_evlog("-render_phase7", eo_e, 0.0, NULL);
/* phase 8. go thru each update rect and render objects in it*/