Allow building against other qcom display HALs

* also fix normal pathing to use the new aosp paths

Change-Id: I26ca3f28f950e82130ba51b4408234d06703d044
binder: add compat symbol

Required for older Samsung libtvout

Change-Id: Ib18d2513570382432d49f302ab041230650372f2
frameworks_native: Add back PixelFormatInfo

Change-Id: I7a8d864686fc2574b26734428383d9a9f102365f
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge "binder: add compat symbol" into cm-11.0
Merge "Allow building against other qcom display HALs" into cm-11.0
Omap3 Workaround

Change-Id: I469dfec243223d9f1ce7107062094f24d8a9283f
MemoryHeapBase: ifdef for gingerbread/froyo compatibility

Allow to "revert" by a board config flag the offset member addon
see commit f24c4cd0f20 (aosp change id Ie618fb5c0718e)

This change is required to use overlay based proprietary camera libs
coming from gingerbread and froyo builds.

This change also requires a global cflag named BINDER_COMPAT
because a lot of modules use the MemoryHeap includes

Add this in your BoardConfig.mk :
COMMON_GLOBAL_CFLAGS += -DBINDER_COMPAT

Backported from /#/c/13317/

Change-Id: I2e5c10d3cd9584803dd282aa17650661d6499e5b

Conflicts:

	include/binder/MemoryHeapBase.h
SurfaceFlinger: try dropping features from EGL config query before giving up

Change-Id: I914aba2b0404646a29854e8e2ffa708958fb41f1
libEGL: restore SYSTEMUI_PBSIZE_HACK

This was removed in the otherwise unrelated commit f4486c6...

Change-Id: I6b62a3a4332a0376eb6865c2674aaf3f8ef262bd
libEGL: restore SYSTEMUI_PBSIZE_HACK

Change-Id: Ic781391f622c67e64e0bf0f55dbd65a3f64b0089
DisplayDevice: Backwards compatibility with old EGL

Change-Id: I1c839339678c5be0c248e4fb9f8edbe1330f9472
Surfaceflinger: Remove ifdef on GRALLOC_USAGE_HW_RENDER | GRALLOC_USAGE_HW_TEXTURE

https://github.com/omnirom/android_frameworks_native/commit/e0c4ab43ce7a851ab5fefbd2e8e259daf1c48c68

The above revert commit brought the if (!useReadPixels) statement back in when it isn't
necessary.

Huge thanks to ankitkv for discovering this!

Change-Id: Idc31c49034aa5c1960bad4976f8cac5358b30b48