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
This commit is contained in:
Mathias Agopian 2012-11-19 15:07:33 -08:00 committed by Jesse Hall
parent 466a192d20
commit dd9d192287
1 changed files with 1 additions and 1 deletions

View File

@ -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;