summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-11-19 15:07:33 -0800
committerJesse Hall <jessehall@google.com>2013-01-09 15:37:21 -0800
commitdd9d192287bcd54b5aef68f201dacca26cfa850e (patch)
tree340ffd6dffd38b5e94eb6470b27bb12683fda4e7 /services
parent466a192d2088f9238d34597d1aa28da41367c1ca (diff)
downloadframeworks_native-dd9d192287bcd54b5aef68f201dacca26cfa850e.zip
frameworks_native-dd9d192287bcd54b5aef68f201dacca26cfa850e.tar.gz
frameworks_native-dd9d192287bcd54b5aef68f201dacca26cfa850e.tar.bz2
workaround: don't reset compositionType to HWC_FRAMEBUFFER
This workaround a HWC HAL issue in Nexus 7, which causes videos and live wallpapers to animate slowly. Bug: 7563862 Change-Id: I87803aaad9751b1fd8392b9732304d4bccec659a
Diffstat (limited to 'services')
-rw-r--r--services/surfaceflinger/DisplayHardware/HWComposer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/DisplayHardware/HWComposer.cpp b/services/surfaceflinger/DisplayHardware/HWComposer.cpp
index 3280229..73794c4 100644
--- a/services/surfaceflinger/DisplayHardware/HWComposer.cpp
+++ b/services/surfaceflinger/DisplayHardware/HWComposer.cpp
@@ -811,7 +811,7 @@ public:
getLayer()->acquireFenceFd = fenceFd;
}
virtual void setPerFrameDefaultState() {
- getLayer()->compositionType = HWC_FRAMEBUFFER;
+ //getLayer()->compositionType = HWC_FRAMEBUFFER;
}
virtual void setDefaultState() {
getLayer()->compositionType = HWC_FRAMEBUFFER;