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.
vibrator: add initial files for vibrator

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

vibrator: add initial files for vibrator
vibrator: add missing test_vibrator.c

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

vibrator: add missing test_vibrator.c
test_sensors: Add debug output of sensor information
Merge pull request #215 from thp/sensors-test

test_sensors: Add debug output of sensor information
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