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: don't create a native window when user already supplied one

Signed-off-by: Simon Busch <morphis@gravedo.de>
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: fbdev: assign structure members based on their names

Signed-off-by: Simon Busch <morphis@gravedo.de>
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>
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>