Chromium Code Reviews
DescriptionImplement temporary reference assignment with DisplayCompositor.
This CL implements the temporary reference assignment via
DisplayCompositor. When DisplayCompositorClient finds out a new surface
has been created, it tries to find the CompositorFrameSink that will
embed the new surface. This is done in mus-ws as it is both fully
trusted and has the full ServerWindow heirarchy.
If a parent is found an IPC is sent back to DisplayCompositor to assign
ownership of the temporary reference. If the CompositorFrameSink that
owns a temporary reference is invalidated, the temporary reference is
removed because the owner can't add a real reference after invalidation.
If no parent is found, for example if the ServerWindow no longer exists
or isn't parented to something visible, then an IPC is sent back to
DisplayCompositor to drop the temporary reference. In this case mus-ws
doesn't expect anything to embed the new surface.
BUG=683738
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2715663007
Cr-Commit-Position: refs/heads/master@{#454389}
Committed: https://chromium.googlesource.com/chromium/src/+/5c97d3ea18174c41ad3ab15f0a9c5fe14717829d
Patch Set 1 #Patch Set 2 : Cleanup. #
Total comments: 8
Patch Set 3 : Rebase + fixes. #
Total comments: 5
Patch Set 4 : . #
Total comments: 3
Patch Set 5 : Improve documentation. #Patch Set 6 : Rebase. #Messages
Total messages: 41 (17 generated)
|