Use correct windowmanager api calling sequence 57/11557/6
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>
Thu, 26 Oct 2017 08:10:31 +0000 (17:10 +0900)
committerZheng Wenlong <wenlong_zheng@nexty-ele.com>
Tue, 31 Oct 2017 00:08:13 +0000 (00:08 +0000)
commit8d37b7a8ffa999828b5ca6a311f9546bd1571c18
tree217e6627d64f8c0298a1be5cbcf27d0ff31a3ac9
parent2dbbe0dbd2e5d5aa43a3f719ca2186b7c334d1d1
Use correct windowmanager api calling sequence

    For an application which doesn't use qt, but wants to use the windowmanager-service,
    the application needs to call the windowmanager api in the correct sequence.
    Change this sample application to use the correct sequence.

    Rule1:
        Between activeSurface and syncDraw, application should not
        draw anything.
    Rule2:
        An application can change the window size when it received a syncDraw event,
        it does not need to do it in ivi_surface configuration.

    [Patch Sets 2]
    Miss a drawing control flag code, fix it.

BUG-AGL: SPEC-988
Change-Id: I913d80653c864b5c1039da9a15b616666bdde6e3
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
sample/simple-egl/src/simple-egl.cpp