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:
parent
466a192d20
commit
e0486f1503
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user