Implement setBufferCount, needed for practical buffer handling

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
WIP: Add wayland eglplatform

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
eglplatform_wayland depends on libhardware
WIP: Try to do wayland buffer queueing a bit differently

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Merge pull request #29 from stskeeps/setbuffercount

Implement setBufferCount, needed for practical buffer handling
Merge pull request #30 from stskeeps/wayland_platform2

WIP wayland platform, not stable yet
atomic refcounting

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
egl: add eglQueryWaylandBufferWL

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
Merge pull request #32 from groleo/for-upstream-2

refcounting and eglQueryWaylandBufferWL
egl: remove removed header files from eglhybris.h

Signed-off-by: Simon Busch <morphis@gravedo.de>
egl: install header files to create out of tree eglplatform modules

Signed-off-by: Simon Busch <morphis@gravedo.de>
egl: move support.h header to common platform directory

Signed-off-by: Simon Busch <morphis@gravedo.de>
Remove duplicate support.h header file

Signed-off-by: Simon Busch <morphis@gravedo.de>
Only use printf for debug output when debugging is enabled

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #33 from morphis/for-upstream/fixes

For upstream/fixes
Merge pull request #28 from foolab/hooks

More hooks (*scanf, syslog and timer bits)
egl: move to newer native window API

For the purpose of backward compatiblity with drivers not compliant with jb we're mapping
the deprecated to the new API. The passed fenceFd descriptors are set to -1 to indicate
that the buffer can be accessed immediately.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #23 from morphis/for-upstream/anativewindow-api-update

egl: move to newer native window API
Switch to TRACE, include stdio.h when debugging for printf

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Buffering was incorrect in Wayland - release_buffer does not mean that serverside buffer has been destroyed

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>