diff options
author | Mathias Agopian <mathias@google.com> | 2012-11-19 15:07:33 -0800 |
---|---|---|
committer | The Android Automerger <android-build@android.com> | 2012-11-19 15:45:10 -0800 |
commit | 93f838b3a6ccf6a6a17b0bc345391b139c34185d (patch) | |
tree | d2e62ac70c557451d10fb65175830df88a2c8911 | |
parent | 74a474eea4bbbd9828c34d1a8854a1a07ec92633 (diff) | |
download | frameworks_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.cpp | 2 |
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; |