summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-11-19 15:07:33 -0800
committerMathias Agopian <mathias@google.com>2012-11-19 15:07:33 -0800
commit3e095b251503d71bea04d6b707e8188cd30034e2 (patch)
treed07ba4d38e1e045451e40bbd65461d84dca64c92
parent2a8c49eb5dd51b2e60c9a78bea00870867d91c03 (diff)
downloadframeworks_native-3e095b251503d71bea04d6b707e8188cd30034e2.zip
frameworks_native-3e095b251503d71bea04d6b707e8188cd30034e2.tar.gz
frameworks_native-3e095b251503d71bea04d6b707e8188cd30034e2.tar.bz2
workaround: don't reset compositionType to HWC_FRAMEBUFFER [DO NOT MERGE]
This workaround a HWC HAL issue in Nexus 7, which causes videos and live wallpapers to animate slowly. Bug: 7563862 Change-Id: I16ad85317e3e7f47f005e7397357c14186b0a13d
-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 29b778d..2eb74b7 100644
--- a/services/surfaceflinger/DisplayHardware/HWComposer.cpp
+++ b/services/surfaceflinger/DisplayHardware/HWComposer.cpp
@@ -804,7 +804,7 @@ public:
getLayer()->acquireFenceFd = fenceFd;
}
virtual void setPerFrameDefaultState() {
- getLayer()->compositionType = HWC_FRAMEBUFFER;
+ //getLayer()->compositionType = HWC_FRAMEBUFFER;
}
virtual void setDefaultState() {
getLayer()->compositionType = HWC_FRAMEBUFFER;