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.
If we are getting a deprecated dequeueBuffer call and return a fence, make sure it's waited for and closed

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

Only wait and close fenceFds if there's factually one
Add support for sane fence behaviour in hwcomposer

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
On queueBuffer of hwcomposer, call virtual present(), different approach to ensure performance

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>