try to keep S5PC110 alive

Conflicts:
	opengl/libs/Android.mk

Change-Id: I2231762921b8816dfe452cc0cb884a1c37b34ded
Unbreak several merge derps in native and update

unbreak some gralloc and surface and buffer derps
as well add support for parts which are already merged
or pending in libhardware and other packages

- add omap support
- add external display support
- unbreak some missing qcom flags
- revert the reverts for real
- new pixelformat support
- cleanup

Change-Id: Icf246423508a08bc487a25ec425704ce8cfc828b
Merge "try to keep S5PC110 alive" into kk4.4
Duplicate, Not needed. If you need a workaround just add the
flag BOARD_EGL_WORKAROUND_BUG_10194508 to Board Config. Plenty of devices need
this flag, easier to have a boardconfig flag than adding it for each board.

Revert "try to keep S5PC110 alive"

This reverts commit a32fda9793fabda225538206b2bdbc086e5b6731.

Change-Id: I4e4fa3bf5e9a02404f9911735237fe75d183b967
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>
SensorEventQueue: Allow setRate on sensor enable

4.3 and earlier would set the sensor rate on activation and then set it again
when setRate was called.

Some sensor HALs assume this will happen and ignore the first setRate

Conditionally the first one back in for such broken HALs

Change-Id: If1c259b0fd5517a1272cdad0a1abf1fe0fb5a7d1
add BoardConfig flag TARGET_USES_OPENGLES_FOR_SCREEN_CAPTURE

This flag forces usage flags:
GRALLOC_USAGE_HW_TEXTURE and GRALLOC_USAGE_HW_RENDERER
in captureScreenImplLocked regardless of useReadPixels value

This fixes the EGL_NO_IMAGE_KHR error returned from
eglCreateImageKHR (blank images returned from screenshot path)

Change-Id: Ia782a918501b4fd40a58eef71c404584a44b8073
Merge "add BoardConfig flag TARGET_USES_OPENGLES_FOR_SCREEN_CAPTURE" into kk4.4
Merge branch 'kk4.4' of git://github.com/SlimRoms/frameworks_native into kk4.4

Conflicts:
	libs/binder/MemoryBase.cpp

Change-Id: I47abf69bcfd771dc3939991f5082ddf15021a6f9