New optimization via gnu dispatching
Removed debug include and added comment
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.
extract vibrator.h

Signed-off-by: Simonas Leleiva <simonas.leleiva@jollamobile.com>
Merge pull request #216 from sledges/master

extract vibrator.h
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().
[test_sensors] Allow per-sensor output value debugging
Merge pull request #217 from thp/sensors-test

[test_sensors] Allow per-sensor output value debugging
Attach the last used buffer if no buffer was dequeued
Added timestamp to log message

Added CLOCK_THREAD_CPUTIME_ID to log message which is useful for e.g. profiling.
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