Evas filters: Allow calling program_set and source_set in any order
authorJean-Philippe Andre <jp.andre@samsung.com>
Fri, 7 Feb 2014 05:23:29 +0000 (14:23 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 7 Feb 2014 08:59:18 +0000 (17:59 +0900)
commit637416d62ea90de25aa457197bdaaaca15206a66
tree49d4e3a60cd12baea512d7b2801ad2d1a46415c9
parent71080b220e29228ce593d55b0329ce4862d3bb98
Evas filters: Allow calling program_set and source_set in any order

If source_set was called after program_set, then parsing would fail.
It used to work because the program was re-parsed at source_set.
Now, save the code, mark the filter as changed, and reparse again
if the source changed (keep track of invalid programs to avoid
excessive parsing).
src/lib/evas/canvas/evas_object_text.c
src/lib/evas/filters/evas_filter_parser.c