Summary:
When size of view changed, call resize function in render.
Test Plan: N/A
Reviewers: Hermet
Subscribers: cedric, SanghyeonLee, #reviewers, smohanty, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7890
Change-Id: Id235b654a2b14f09533a6dff5466ec1170e56c5f
//Size is changed, cached data is invalid.
if ((size.w != vg_entry->w) || (size.h != vg_entry->h))
- drop_cache = EINA_TRUE;
-
- vg_entry = evas_cache_vg_entry_resize(vg_entry, size.w, size.h);
- evas_cache_vg_entry_del(pd->vg_entry);
- pd->vg_entry = vg_entry;
+ {
+ drop_cache = EINA_TRUE;
+ vg_entry = evas_cache_vg_entry_resize(vg_entry, size.w, size.h);
+ evas_cache_vg_entry_del(pd->vg_entry);
+ pd->vg_entry = vg_entry;
+ }
//update for adjusted pos and size.
offset.x = w - size.w;