DescriptionReplace CompositorFrameSinkSupport::WillDrawSurface With RepeatingCallback
As discussed in another CL (https://codereview.chromium.org/2824053003/),
WillDrawSurface is noisier than it needs to be. It is called on every draw
regardless of damage and reports damage in the submitted frame that the client
already knows about while the client is only interested in damage to child
surfaces.
By replacing WillDrawSurface with a base::RepeatingCallback, SurfaceFactory
doesn't need to know about the details and we avoid having to go through the
factory on the way back.
BUG=707105
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2834553002
Cr-Commit-Position: refs/heads/master@{#466318}
Committed: https://chromium.googlesource.com/chromium/src/+/0838e367b020c960036c1e706b40f5bfd3226e32
Patch Set 1 #Patch Set 2 : Pass Test #Patch Set 3 : Fix surface_aggregator_perftest #
Total comments: 11
Patch Set 4 : Address Comments #Patch Set 5 : Address Comments #Patch Set 6 : Fix render_widget_host_view_aura_unittest #
Total comments: 4
Patch Set 7 : Address Comments On Documentation #
Messages
Total messages: 43 (23 generated)
|