From 3e095b251503d71bea04d6b707e8188cd30034e2 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Mon, 19 Nov 2012 15:07:33 -0800 Subject: [PATCH] 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 --- services/surfaceflinger/DisplayHardware/HWComposer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/surfaceflinger/DisplayHardware/HWComposer.cpp b/services/surfaceflinger/DisplayHardware/HWComposer.cpp index 29b778d85..2eb74b727 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;