Descriptionsync compositor: Send ipc reply in swap
Refactor SynchronousCompositorOutputSurface to expose the SwapBuffers
call to client. For IPC implementation, send the reply IPC inside
SwapBuffers instead of waiting for OnDraw to return.
This allows more code to run in parallel, since OnDraw generally calls
PrepareTiles after DrawAndSwap; now PrepareTiles can run in parallel
with IO/UI code. Depending on scheduling and available cores, this can
save up to ~0.7ms per frame of waiting time on UI thread.
BUG=545633
Committed: https://crrev.com/6c0ed631e1b36d36fec9a8e4cd83f6824ef58262
Cr-Commit-Position: refs/heads/master@{#367111}
Patch Set 1 #
Total comments: 8
Patch Set 2 : rebase + no swap fix #
Total comments: 2
Patch Set 3 : DeliverMessages #
Messages
Total messages: 12 (3 generated)
|