Revert "gralloc: (EXP) Add more VSYNC_CTRL command"

This reverts commit 35e13632f01d2ccdf04503e2c63c26458a07e57f.
Revert "hwc: fix reserved field usage"

This reverts commit d9aafdf351cb8ff00467be46343262881f274b81.
Revert "fix build errors"

This reverts commit 04d9efdf66da7e8822206a19bd758db8c136c2e5.

Change-Id: I87758547876f27b448a3e5716893f35d79808411
Signed-off-by: Tommy Alex <iptux7@gmail.com>
libqdutils: move Singleton object to .cpp file

Change-Id: I9591785fb3369809787cd9cb659162e87dd9f843
gralloc_priv.h: add some define to support TARGET_USES_QCOM_BSP

Change-Id: Ib5b3d08e14cbd93b198f3652063f7c1c3a8a98bf
Signed-off-by: Tommy Alex <iptux7@gmail.com>
Revert "hardware/qcom/display: Remove glfinish call"

cause black block on bottom-right corner when switch between landscape and portrait

This reverts commit 9e28ffa5506e0d0bb9586caa87d6294a138e0636.

Signed-off-by: Tommy Alex <iptux7@gmail.com>
libgenlock: a valid genlock handle is required for gsl

Change-Id: I050b156912101b0f8ca2132c7f49f2ade91466fc
Signed-off-by: Tommy Alex <iptux7@gmail.com>
libgralloc: avoid fd leaks

Change-Id: I627e5f2965de36f846d137e8a8945faaa97783b4
Signed-off-by: Tommy Alex <iptux7@gmail.com>
libhwcomposer: support TARGET_NO_HW_VSYNC flag

Change-Id: Id24a2c39bb2520e2af711cb3da35bf9098ba6475
Signed-off-by: Tommy Alex <iptux7@gmail.com>
libhwcomposer: screen refresh rate 60Hz

Change-Id: I10f7c08991661821a97c9f186ee01146388f670c
Signed-off-by: Tommy Alex <iptux7@gmail.com>
libhwcomposer: vsync only when screen is on

Change-Id: I78183a10a5c9db14d898dca4c8644524c345dcc8
Signed-off-by: Tommy Alex <iptux7@gmail.com>
libhwcomposer: suppress redundant vsync

vsync only when the framebuffer have been posted.
this will result in a dynamic vsync rate,
which will save some battery life

Change-Id: I9af94f96df67c2a9ba634f8af2cc3c32193bcd9f
Signed-off-by: Tommy Alex <iptux7@gmail.com>