gralloc: added exynos4 specific usage bits

Change-Id: Ibd06f153bdfd282993b3f633da82d9a7017aad61
exynos4: gralloc: add camera and nonecache usage

Change-Id: I53a7dfc8355a05aeae007e7d61c4d95cce125bfd
hardware: Add an ifdef to disable id match check

When wrapping HAL modules (for example camera wrapping vendor-camera), this
match check prevents vendor-camera to be loaded because its original name
is camera and not vendor-camera.

Change-Id: If79a941b54d83610638041440db907ae593b2e91
libhardware: QCOMs revenge

Based on CAF kk_2.7_rb1.9

Change-Id: Ide64ea08b22cb147b9eee7afab438ea12ff59904
Add gralloc_perform enums definitions

Define enums for gralloc_perform function use cases.

Change-Id: I586a25e6d11beeb6160d5cda9f06b17330a19cd4

Conflicts:
	include/hardware/gralloc.h
libhardware: Disable rotation animation on External

- Added two new flags to used to inform HWC about
  rotation and roation animation to HWC
- This is used to disable rotation animation on external

Change-Id: I05a9796781dcda088ae6cd64481cd4e581d5cf9e
CRs-fixed: 453747

Conflicts:
	include/hardware/hwcomposer_defs.h
Revert "Remove remnants of HWC 0.x"

This reverts commit 71b9c1fab92727b1463226681d7bd61aac85291b.

Change-Id: Id9c4e438d34bd421c44ce9aa8ff6c908a2331f61
libhardware: allow all platforms to disable external rotation

Change-Id: I6c1f517b9bc1f11266817883bf2c5ca7c497c5b7