Chromium Code Reviews
Descriptionsync compositor: Reduce begin frame sync IPC overhead
By making the begin frame sync IPC per renderer process rather than
per compositor.
Convert SyncCompositorMsg_SynchronizeRendererState
to a control message, with a list of routing_ids as input, and a list of
SyncCompositorCommonRendererParams as output.
Introduce SynchronousCompositorRPHObserver which is tied to the
lifetime of the RenderProcessHost, which is the browser side handler of
control messages. SynchronousCompositorFilter serves as the renderer
side control message handler.
SynchronousCompositorRPHObserver adds itself as a vsync observer
for the duration of a single vsync. Then its OnVSync callback is called
after SynchronousCompositorHosts, where the single synchronous
IPC is sent.
BUG=596235
Committed: https://crrev.com/3dd3ca72f1a2c3211177c72aae2d5027d8217769
Cr-Commit-Position: refs/heads/master@{#408528}
Patch Set 1 #Patch Set 2 : backup #Patch Set 3 : works #Patch Set 4 : comiple fix #Patch Set 5 : remove ui changes, cleanups #
Total comments: 2
Patch Set 6 : bad_message, reserve #
Total comments: 5
Patch Set 7 : review #Patch Set 8 : clang format #Messages
Total messages: 21 (8 generated)
|