This adds missing plumbing to single_thread_proxy to forward max pending frames from the surface to the compositor, but keeps max pending value the same for the time being. Currently the call to SetMaxSwapsPendingOnImplThread in layer_tree_host_impl.cc gets dropped on the floor for ChromeOS.
Previously, driver implementation of eglSwapBuffers returned before page flip actually happened, allowing the browser compositor to start scheduling the next frame while the front buffer was still shown.
With switch to freon, SwapBuffersACK is sent on page flip, affecting scheduler timing. This enables the browser compositor to queue up a new frame earlier when necessary.
BUG=465599
Review URL: https://codereview.chromium.org/
1011823005
Cr-Commit-Position: refs/heads/master@{#322148}