Evas filters: fix black squares with the GL engine
authorJean-Philippe ANDRE <jpeg@videolan.org>
Sun, 2 Mar 2014 10:08:22 +0000 (19:08 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 4 Mar 2014 01:37:19 +0000 (10:37 +0900)
commit83746e56298337daa856524d30643c9d417bd437
treedfa29eb5d35a9999e684f9f95cac91d0f1835c1e
parent7f63b4a3eb7bfbbd8b8ba75d00a5446078775c07
Evas filters: fix black squares with the GL engine

If a text object changes regularily, there might be cases where
the object will be rendered as a simple black rectangle for just
one frame.

It seems that the previous output buffer is deleted before being
actually rendered on screen. This patch will delay the deletion
of the previous buffer until the current one has been rendered
to the target surface.

And again, thanks zmike for reporting.

@fix

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
src/lib/evas/canvas/evas_object_text.c
src/lib/evas/filters/evas_filter.c
src/lib/evas/filters/evas_filter_private.h