Description[exo]CompositorFrameSinkHolder calls WillDraw in DidReceiveCompositorFrameAck
CommitSurfaceHierarchy() moves pending_frame_callbacks_ into
frame_callbacks_ before calling UpdateSurface() so that the ack doesn't
arrive too early.
exo::Surface is the only class which needs
MojoCompositorFrameSinkClient::WillDrawSurface(). With this change, we
can remove WillDrawSurface from the mojo interface and reduce IPC overhead.
BUG=671202, 709076
Review-Url: https://codereview.chromium.org/2786643002
Cr-Commit-Position: refs/heads/master@{#462678}
Committed: https://chromium.googlesource.com/chromium/src/+/09b06cad7bc4b38fa64142b16a0c6adcbcc875b4
Patch Set 1 #Patch Set 2 : Frame Callbacks Are Added to Surface::frame_callbacks_ Directly #Patch Set 3 : UpdateSurface After Moving Frame Callbacks #Patch Set 4 : Move Frame Callbacks Before UpdateSurface #Patch Set 5 : Move Presentation Callbacks Before UpdateSurface #
Total comments: 5
Patch Set 6 : Address Nit #Patch Set 7 : Address A Comment #
Messages
Total messages: 29 (20 generated)
|