sf: Don't do premultiplied alpha blending on the statusbar for hwc <= 0.3

Blending the translucent statusbar with the limited alpha implementation
of older HWC versions is glitch-prone, so don't do that with the compositor
at all

Change-Id: I96b49823b837a5063960d39c0937caea8bb3116a
Merge remote-tracking branch 'cm/cm-11.0' into HEAD
Revert "Revert "SurfaceFlinger: give SF its own vsync phase""

This reverts commit 4b940301de8dd8b762a80855eeec212d28d05af5.
SurfaceFlinger: Enable Vsync trace for SF Composition

Enable traces to show s/w vsync which is used for composition
by surfaceflinger, this helps in identifying the start of
composition cycle in systrace

Change-Id: Id892ca03bacd9f0cfe5ca2c3f8bb5aa892b37231
sensorservice: Set the rate for pre-1.1 HALs _after_ activation

We want to be sure these are applied in the same sequence they
used to be...

Change-Id: Ied2ba08ed3c4bed3a80bac6ab5471fcea9ba2c09
Revert "Graphics:Add error check when create GraphicBuffer"

This reverts commit b64092877e75968e9dc7d629e4169c3ba16bf630.
Revert "surfaceflinger: Consolidate display orientation compensation hooks"

This reverts commit 8f0906507f93ca2dfe9133ada132ce3beaca4e03.
Revert "Update HWUI config for xxhdpi/2GB devices"

This reverts commit ed579d8be17fb52ef92a1dc9c83843879f396fa1.
Revert "SF: Avoid wormhole clear for BLIT calls"

This reverts commit 8f3691ec4ddb10e460104f776345baae6bc76247.
Merge remote-tracking branch 'vanir/kk44' into HEAD
Merge remote-tracking branch 'cm/cm-11.0' into HEAD
libgui: Add native window attributes to query usage

This is required to enable GL libraries to query usage
native window attributes to enable/disable tile rendering.

Change-Id: If752fa26ac3d8ffd7776cc5a16fe162af0742df5
Merge remote-tracking branch 'cm/cm-11.0' into HEAD
Merge branch 'kk44' of https://github.com/VanirAOSP/frameworks_native into kk44

Conflicts:
	services/surfaceflinger/SurfaceFlinger.cpp