ecore_evas_x: Check 1 for gl_sync_draw_done instead of 0 before sending comp_sync_dra...
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Wed, 8 Jan 2014 14:24:50 +0000 (23:24 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Wed, 8 Jan 2014 14:32:43 +0000 (23:32 +0900)
commit96fe10ba68ba346604e66e0837ffe93a89714e6f
treeeb7ee1c985565da0aea7861638ebe8dde8afac12
parente5bfbedfa20bf886f5687eaa880a4cdc664a41a6
ecore_evas_x: Check 1 for gl_sync_draw_done instead of 0 before sending comp_sync_draw_size_done.

There was a corner case which gl_sync_draw_done is set to -1. So send
comp_sync_draw_size_done when the gl_sync_draw_done is not 1. It can be -1 or 0.

This is a manual cherry-pick from tizen.org.
Thanks to original author Jiyoun Park.

commit 4be6c821df4ccd418dbe44f7e6fecbcd7dd66d74
Author: Jiyoun Park <jy0703.park@samsung.com>
Date:   Thu Jul 4 18:04:11 2013 +0900

    fix lockup issue (N_SE-44214)
    because this sync draw done cannot be send

    Change-Id: Id05978e925d5b44d6ca9af0a1684bbb255b9ec5b
src/modules/ecore_evas/engines/x/ecore_evas_x.c