Enable 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 Review URL: https://codereview.chromium.org/1059503003 Cr-Commit-Position: refs/heads/master@{#324098}
Showing
Please register or sign in to comment