Evas render: Fix another map clip render issue
authorJean-Philippe Andre <jp.andre@samsung.com>
Fri, 20 Nov 2015 05:23:29 +0000 (14:23 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 20 Nov 2015 05:23:29 +0000 (14:23 +0900)
commit58a1b2767ed5983130b7a79d456ec71786a17a7d
tree752461baf0e6d2ea7b26ce5c5d6bfba78b117cd1
parentec92726ca981806a2eb6f9c153af8f7dd46d6a03
Evas render: Fix another map clip render issue

This time it's only about performance. We seem to be setting the
changed flag too often, which might trigger unnecessary redraws.

- map flag is set if there is currently a map AND it's not an image
  object (because images can map themselves)
- hmap flag is set if there was a map before

So, map != hmap does not imply a transition between a mapped and
non-mapped state. Add an extra check before marking the clip
as dirty and changed.
src/lib/evas/canvas/evas_render.c