Add eng_output_resize code.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83256
This commit is contained in:
Christopher Michael 2013-01-24 09:17:30 +00:00 committed by Christopher Michael
parent 3dcaec35b5
commit 6eda15c183
1 changed files with 8 additions and 0 deletions

View File

@ -246,7 +246,15 @@ eng_output_free(void *data)
static void
eng_output_resize(void *data, int w, int h)
{
Render_Engine *re;
if (!(re = (Render_Engine *)data)) return;
re->outbuf_reconfigure(re->ob, w, h,
re->ob->rotation, re->ob->depth,
re->ob->priv.destination_alpha);
evas_common_tilebuf_free(re->tb);
if ((re->tb = evas_common_tilebuf_new(w, h)))
evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE);
}
static void