Revert "hwc: Fix reserved field usage"

This reverts commit 1c8c2831c800c550f4b5a61ac5e7828c2687427a.
Revert "gralloc : apply kernel 3.4 fb screeninfo type"

This reverts commit 7071048395405b7407c03c545e0ad9884fd60317.
Revert "hwcomposer: Mark Video layer to GPU if any other layer is marked with GPU"

This reverts commit 44c6d5d182c50fd72ea1656357e00ec88b718854.
Revert "hwcomposer: Store device orientation in hwc context"

This reverts commit e0aeca0469585b86aa74a6fa84d7771ed38015b4.

Change-Id: Ib4f32e6838c7db8754d04e9d88b0c0f029d6f051
hwc: Update to new API

* Updates HWC to use the Jellybean MR1 API
* Remove qcom_ui which was using parts of the old API

Change-Id: I663363547b193d2318aae88f2256a9baed1e3d4b
hwc: Calculate orientation based on framebuffer info

Change-Id: I6c2b6e2f6b5f701bea3b4e49a4e28c66f79a3f5a
hwc: Call blank ioctls

The blank ioctls were never called, we were relying on
the driver to implicitly do this on suspend/resume.
Fix this by calling blank with the right parameters.

Change-Id: Ib969c4e55d9f460255750f07aecefb04a310bd7a
Update for cleanups in hwc interface

Also store the hwc_procs_t* into a dedicated field instead of one of
the hwc_composer_device_1_t::reserved_procs slots, which are supposed
to be NULL so the structure can be extended without breaking backwards
binary compatibility.

Change-Id: I11e6bc713958d854aba418242caa749cbcb21f1d
Fake VSYNC events

Hack for devices without proper working VSYNC, so they
are able to use composer version 1.0

Change-Id: I748959cac936985a78ef864a97adb82eacffd606
Undo reverts to gralloc and hwc, no longer needed, bug resolved

Re-apply "gralloc : apply kernel 3.4 fb screeninfo type""

This reverts commit c4f8902afdb0cce6b2bdd91a2f0191f9735ccf39.

Re-apply "hwc: Fix reserved field usage""

This reverts commit 80a7d2f900d49e8bf4edf5b8c51c047da1a241e1.
qdutils: Default to GPU composition

If composition type is not set, default to GPU composition.
This is because CPU composition is not supported from MR1 onwards

Change-Id: I951dcb5586a8dbcfbe73cd7292d0f1690d6528ba

Conflicts:

	libqdutils/comptype.h
gralloc: Override gralloc calculated size only if bufferSize is greater.

bufferSize set using native window set buffer size will override gralloc
calculated size only if bufferSize is greater.
Fix for 720P, 1080P HD content playback is not working on 7x27A due to
buffer size mismatch between requested size by frameworks and allocated
size by gralloc for HAL_PIXEL_FORMAT_YCrCb_420_SP and
HAL_PIXEL_FORMAT_YCrCb_420_SP format

Change-Id: I16d04e406ab8f1f35e0e0a70e19d99a019adc5ef
CRs-Fixed: 451783
Merge pull request #3 from Team-Hydra/cm-10.1

Remove the un-needed reverts + default to gpu comp - fix logcat spam
Fix compile error due to singleton changes in MR1

http://review.cyanogenmod.org/#/c/30269/ shouldn't be needed anymore.

Change-Id: I99d4129f67c270781e4cbdf96040aa4cdb713ffd