devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=08bb6b1eec01a2ee05be8004a476a639fe2cd34d
commit 08bb6b1eec01a2ee05be8004a476a639fe2cd34d Author: Chris Michael <cp.mich...@samsung.com> Date: Tue Dec 6 13:17:16 2016 -0500 evas-drm: Don't destroy Outbuf on resize On an engine resize, we previously would destroy the Outbuf structure. This patch modifies the code so that on a resize we no longer have to destroy the old Outbuf and reallocate a new one. Instead, we will just reconfigure the existing one and update it's properties. Signed-off-by: Chris Michael <cp.mich...@samsung.com> --- src/modules/evas/engines/drm/evas_engine.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/modules/evas/engines/drm/evas_engine.c b/src/modules/evas/engines/drm/evas_engine.c index 3c198fb..7fe688c 100644 --- a/src/modules/evas/engines/drm/evas_engine.c +++ b/src/modules/evas/engines/drm/evas_engine.c @@ -94,13 +94,8 @@ eng_setup(Evas *evas, void *einfo) } else { - Outbuf *ob; - - ob = _outbuf_setup(info, epd->output.w, epd->output.h); - if (!ob) return 0; - - evas_render_engine_software_generic_update(&re->generic, ob, - ob->w, ob->h); + _outbuf_reconfigure(re->generic.ob, epd->output.w, epd->output.h, + info->info.rotation, info->info.depth); } epd->engine.data.output = re; --