Rework socket communication to use glib instead of qt

As we're moving into a situation where qt4 and qt5 exists both in our system we have to
make sure nothing a qt5 application needs is linking against qt4.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Change build system to use autotools instead of qmake

Signed-off-by: Simon Busch <morphis@gravedo.de>
Correct description of pkg-config entry

Signed-off-by: Simon Busch <morphis@gravedo.de>
Add missing glib.h include

Signed-off-by: Simon Busch <morphis@gravedo.de>
Add missing fdpass.c to list of sources for compilation

Signed-off-by: Simon Busch <morphis@gravedo.de>
Don't call client initialization more than once

Signed-off-by: Simon Busch <morphis@gravedo.de>
Adjust for native window API changes for sync fence support

Signed-off-by: Simon Busch <morphis@gravedo.de>
Cleanup offscreen rendering code

Signed-off-by: Simon Busch <morphis@gravedo.de>
Implement new native window API method setBufferCount

Signed-off-by: Simon Busch <morphis@gravedo.de>
Link against libhybris-eglplatformcommon

Signed-off-by: Simon Busch <morphis@gravedo.de>
Mark buffer as still used when it's returned to our native window implementation

Signed-off-by: Simon Busch <morphis@gravedo.de>
Implemented dynamic buffer count support.

 * one drawback is that the "bufferCount()" method isn't static anymore, so the HostWindowOpenGLHybris has to pick a number itself.

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Add proper reference counting and correct buffer resizing

Signed-off-by: Simon Busch <morphis@gravedo.de>
Supply a buffer handle through c'tor and unregister buffer for process and buffer destruction

Signed-off-by: Simon Busch <morphis@gravedo.de>
Move protocol message definition to separate header to be shared accross different components

Signed-off-by: Simon Busch <morphis@gravedo.de>
Rework WebosSurfaceManagerRemoteClient to handle different message types

Signed-off-by: Simon Busch <morphis@gravedo.de>
Implement method to send message to restore a buffer after rendering

Signed-off-by: Simon Busch <morphis@gravedo.de>
Remove unneeded increment of buffer reference count

Signed-off-by: Simon Busch <morphis@gravedo.de>
Move buffer allocation into own class

Signed-off-by: Simon Busch <morphis@gravedo.de>
Track buffer handle ownership to free either the handle or the actual memory

Signed-off-by: Simon Busch <morphis@gravedo.de>