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>
More hooks (sysconf, *scanf, syslog and timer bits)
Hook abort()
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
fbdev_window: cleanups

I've used the same idea from wayland_window.cpp, having
the buffers placed in a std::list and marked busy/free via the busy
member.

Fixed the crash which apparently was caused by reference counting but
in fact was dequeueBuffer not calling incRef on the buffer.

When DEBUG_FBDEV_WINDOW is defined, enable tracing in fbdev_window.cpp

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