hax: Add back the SURFACE_SKIP_FIRST_DEQUEUE legacy EGL workaround

Set BOARD_EGL_SKIP_FIRST_DEQUEUE to use

Change-Id: I46257a7e9e6b6e093a5cb92eaaaef4bdd0435a12
Forward-port surface dithering from CM10.2

This allows the use of 16-bit color displays without excessive color
banding;

Change-Id: Icb469b9cb4beb686516c60bb576dbd0a73f505e0
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_frameworks_native into cm-11.0
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_frameworks_native into cm-11.0
Merge "Forward-port surface dithering from CM10.2" into cm-11.0
Merge "hax: Add back the SURFACE_SKIP_FIRST_DEQUEUE legacy EGL workaround" into cm-11.0
installd: Invert the default for dexopt-on-cache

The growth of /system apps and total /data space are making this
device-breaking (insufficient space to dexopt everything to
/cache), pointless (/data has more than enough room to hold
the cache), and in some cases, both.
The default behavior is now the same as mainline Android's: dexopt
everything to /data. Set dalvik.vm.dexopt-data-only=0 to change
that and dexopt /system apps to /cache. If you do that, make sure
your /cache can accomodate double the size of the dex classes in
system, since in some extreme cases that has been observed during
dex2oat

Change-Id: I8c793784af1fa804ccf84b442613d1000c9b7ce4
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_frameworks_native into cm-11.0

Conflicts:
	libs/gui/Android.mk

Change-Id: Ia6df8be9b556076ed4f1eaeb52aff8928f03d31c
Merge "installd: Invert the default for dexopt-on-cache" into cm-11.0
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_frameworks_native into cm-11.0
Merge branch 'cm-11.0' of git://github.com/Mustaavalkosta/android_frameworks_native into cd-4.4