Initialize extension pointer so that assert detects it if not set.
In case some of headers are in same directory with .c files lets collect only .h files with the
header extraction script.

Signed-off-by: Marko Saukko <marko.saukko@jollamobile.com>
Add functions to allow buffer sharing between processes
Add required #defines for EGL_EXT_swap_buffers_with_damage
Add required #defines for EGL_EXT_buffer_age

This extension is supported by the nVidia Tegra4 and requires no additional
libhybris support beyond 2 preprocessor symbols.
Implement eglSetSwapInterval in the wayland platform

This commit re-instates the use of the frame callback to properly implement
both setSwapInterval(0) and setSwapInterval(1).
Flush the wl_display after committing a new buffer
Fix threading issues with different threads reading from the queue
Try to be smarter than the drivers and always commit a buffer

When the client calls eglSwapBuffers libhybris should always call commit()
on the surface. Android drivers don't always call queueBuffer though so
we can't rely on that. We do know however which buffer will be queued next
so attach and commit that in finishSwap().
Attach the last used buffer if no buffer was dequeued
Merge pull request #218 from liqiu/master

Added timestamp to log message
Merge pull request #206 from giucam/buffer_sharing

Add functions to allow buffer sharing between processes
Merge pull request #220 from giucam/swap-interval

Implement working eglSwapInterval == 1 for Wayland
Merge pull request #207 from jekstrand/master

Add #defines required by EGL_EXT_swap_buffers_with_damage and EGL_EXT_buffer_age
Merge pull request #204 from saukko/master

In case some of headers are in same directory with .c files lets collect...
Merge pull request #201 from miksa/extension-bugfix

Initialize extension pointer so that assert detects it if not set.
Revert "improve traces"

This reverts commit 6bcecb96f5fa69b4d75fc591fbeb3af86d682e37.
Merge branch 'master' of https://github.com/libhybris/libhybris