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
This commit is contained in:
parent
74a474eea4
commit
93f838b3a6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user