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.michael@samsung.com>
}
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;