Add Git revision/remote + repo manifest info from headers

This makes it easier to trace back a set of extracted headers
to given AOSP/CM revisions (including possible local changes).
extract-headers.sh: Helper functions, better output

Useful for diagnostics, and avoids duplication when adding new headers.
Minor fixup to the define name/logic

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Merge pull request #168 from groleo/dladdr

add android_dladdr and sync generate_wrapper_macros.py to binding.h
Merge pull request #169 from lbt/master

Minor fixup to the define name/logic
Default to using libGLESv2.so and libEGL.so, not full paths. Also fix upper/lowercase bug

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Merge pull request #170 from stskeeps/defaultglesv2

Default to using libGLESv2.so and libEGL.so, not full paths. Also fix up...
Bring hwcomposer up to date

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Merge pull request #171 from stskeeps/hwcomposer_up2date

Bring hwcomposer up to date
egl: wayland: fix debug dump for first buffer sent to wayland compositor

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Merge pull request #172 from Tofee/master

egl: wayland: fix debug dump for first buffer sent to wayland compositor
hooks.c: adding hooks for asprintf and vasprintf (both use malloc/realloc internally)

Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
egl: Fix calling down to eglCreateImageKHR() with proper arguments

We do want to call eglCreateImageKHR() with EGL_NO_CONTEXT, but ONLY
when the render target is EGL_NATIVE_BUFFER_ANDROID. Otherwise we'll
either not get a valid image even if we should or worse, end up crashing
if the drivers don't handle it properly. Credit goes to Menghan Cheng for
tracing this problem to its source.

While we are touching the code, change it so the ws has an opportunity to
change all the parameters should it have specific needs for things like this.

Signed-off-by: Kalle Vahlman <kalle.vahlman@movial.com>
Merge pull request #174 from kvahlman/fix-eglcreateimage

egl: Fix calling down to eglCreateImageKHR() with proper arguments
Optimized version of glesv2 hybris wrapper

With relatively minor changes the library size on device was dropped from 31.8kB into 19.8kB. In addition the size of each function dropped significantly,  http://pastebin.com/7zkuCvN3
Removed stdio include
Added to authors as specified in pull request comment
Removed comment
input_compatibility_layer.cpp: avoid blocking on exit/shutdown

Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
compat/input: block poll, avoid waking up at every 500ms

Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>