vendor services (to arrays.xml)
fix GPU hw init, proper egl config selection (squashed)
Add hack to always return EGL_TRUE for eglSwapBuffers.

This "fixes" several apps crashing on eglSwapBuffers.
Only used when MISSING_EGL_EXTERNAL_IMAGE is defined.

Change-Id: I4e0412146655a88bbd854602189c1774416bbe43
Signed-off-by: Evan McClain <aeroevan@gmail.com>
Render effects - port from CM7 #1

 * Original code by Jeff Sharkey
 * Additional colors by Keyan Mobli
 * User defined calibration support by niloc
 * Night mode by Infernix

Change-Id: Ia6c05951a32e39a59b5f7c865619199e729198f1
Dynamic dealing with missing GL_OES_EGL_image_external extension

- instead of static replacement of GL_TEXTURE_EXTERNAL_OES with GL_TEXTURE_2D
and patching the platform code at various places, use gl library call hooks
and shader source filtering at runtime to achieve the compatibility
also with apps compiled outside of the platform (e.g. Opera Mobile)

Change-Id: If995753e3e1fdc2cbc895a74537396f193f31115

Fix buffer overflow and make code a little more readable.
Shaders: Rewrite the rewrite proc to handle all cases

Just patch the occurrences of samplerExternalOES

and use "enable" suffix instead of "require" which never fails
on "#extension GL_OES_EGL_image_external : require" header

Change-Id: Idec2c2762a87ef5b956303f4955476c44c076985
surfaceflinger: define BOARD_WITHOUT_HW_COMPOSER flag

it's the only place where MISSING_GRALLOC_BUFFERS is really required

Change-Id: I96e999643c6b4240e1f8717a0a8841ce4b56c5a1
Overlay for omap3 camera devices (squashed commit)

Add Overlay.cpp in libui if BOARD_OVERLAY_BASED_CAMERA_HAL is set.

From our hard work on overlay based camera libs...

Overlay: move the class in libcamera_client

review patchset 3

Change-Id: I20a596983dbc624b39e41c3b139df94e843c05cb
Proper BOARD_WITHOUT_PIXEL_FORMAT_YV12 variable

prevent use of the global cflag -DMISSING_EGL_PIXEL_FORMAT_YV12

This is not really related to EGL, but to libui and stagefright
video buffers allocator

Change-Id: Icf198e7aed55930daa9143aaa2a607811842f318
Force the screen-on after phone calls, ignore proximity sensor

Proximity workaround for device specific settings, this is required
on phone with a case hiding the proximity sensor, or buggy sensors.

From Quarx2k <agent00791@gmail.com> (gingerbread)

Change-Id: I5b6174d5f19ef601dd503b4dadafb3defbf2bb00
enable bandwidth control: ignore the iptables errors

Change-Id: I2f85c8d93482b7c03631db810bc25d402164701c
wifi: allow to switch on/off wifi debug logs

with "setprop wifi.debug true"

Change-Id: I35e9722839239d6b4128a930da8629333ae33dc1
Let the OMX.TI.VideoDecoder do its job

Change-Id: I8d25d1f4f2f99ffd06d9596e3359d4f0e14e50fa
fix video playback when rendering to YV12 (esp. 720x480 vids)

yv12 render in black and white with pvr 1.8 libs

Change-Id: I2c96cc74a2dbad7ae5d5aa06811ea7bf52bc1903
SoftwareRenderer: preliminary version of UYVY > YV12 conversion

Change-Id: I482d731848060cf03dd5e74f60118ac1893993c7
TODO: adapt for possible stride and crop difference from width and height
SoftwareRenderer: final UYVY > YV12 conversion for buggy gralloc.omap3

- omap3 gralloc (pvr 1.8) 8 aligns the stride of YV12 buffers instead of
  the correct 16 align, so the width has to be 16 aligned by ourselves
- because of that, small (mostly not noticeable) pillarbox has to be used
  for videos with width not being multiple of 16

Change-Id: I0ee924060c66911215d9760076efbc5be6d840b1
hwui: Allow to blacklist android applications

Add support for a local config folder with blacklisted process names
/data/local/hwui.deny/<package name>

Only enabled with "hwui.use.blacklist=true"

This system can be used easily from adb shell, without reboot
or with a setting app, like the one i use, HwaSettings

Change-Id: I436b5dd7d6bf9fd36be7e86fc9d2a174a66701ff
Frameworks-base: Fix wifi-sleep-policy #2

Without this patch, the wifi-sleep-policy don't stop wifi. Wifi keeps turned on after the screen is off, no matter what I choose in Settings.

Taken from jelly-bean:
https://github.com/CyanogenMod/android_frameworks_base/commit/f48fb85a8c4f72ec08b98f15ec3d9c70c247de7d

Solves this issue:
http://code.google.com/p/android/issues/detail?id=23211

Change-Id: I3942827db00bd448827390bbc6ca31673d8e3397
Wifi: Fix the resume problem, jb patch is not enough (squashed)

force stopped state if stopping state handler detect a resume

Change-Id: I721d25a3d2de7794c80cc69114bdde83a8f40214