Rework buffer management according to recent changes in libwebos-gui

Signed-off-by: Simon Busch <morphis@gravedo.de>
Set EGL_PLATFORM to null when launching native client

Signed-off-by: Simon Busch <morphis@gravedo.de>
Supplying right number of arguments when launching native app process

Signed-off-by: Simon Busch <morphis@gravedo.de>
LunaSysMgr.upstart: Remove outdated comments

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Idf7dcd6e4079fb435753667c42f715dac390a180
Reviewed-on: https://g2g.palm.com/2135
Reviewed-by: Build Verification
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Merge remote-tracking branch 'upstream/master' into webOS-ports/master-next
Close a surface manager client when the corresponding window is removed

Signed-off-by: Simon Busch <morphis@gravedo.de>
IpcClientHost: Fix build without libhybris (e.g. qemuarm)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
HostWindowDataOpenGLHybris: OffscreenNativeWindowBuffer is now defined in its own header file.

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>