summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-11-19 15:07:33 -0800
committerThe Android Automerger <android-build@android.com>2012-11-19 15:45:10 -0800
commit93f838b3a6ccf6a6a17b0bc345391b139c34185d (patch)
treed2e62ac70c557451d10fb65175830df88a2c8911
parent74a474eea4bbbd9828c34d1a8854a1a07ec92633 (diff)
downloadframeworks_native-93f838b3a6ccf6a6a17b0bc345391b139c34185d.zip
frameworks_native-93f838b3a6ccf6a6a17b0bc345391b139c34185d.tar.gz
frameworks_native-93f838b3a6ccf6a6a17b0bc345391b139c34185d.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;