DescriptionEnable 2 pending frames in the scheduler on ARM devices.
In the past eglSwapBuffers used to return early, before the swap actually happened and descheduling in the driver. This resulted in the scheduler beginning the next frame early and hitting the page flip deadline in time more often.
Freon returns swap ack when page flip actually happened, but with the side effect of scheduling shifted forward, resulting in more missed vblanks and reduced performance.
This change restores original performance on freon.
BUG=465599
Committed: https://crrev.com/7d66db12d3dd9d3b068eee2ff11f3ccc81e767d3
Cr-Commit-Position: refs/heads/master@{#324098}
Patch Set 1 #
Total comments: 2
Patch Set 2 : just 2 pending #Patch Set 3 : Comments #Messages
Total messages: 14 (4 generated)
|