Chromium Code Reviews
DescriptionConvert mustash use surface references.
FrameGenerator uses surface references instead of sequences with this
patch. When mus-ws learns about a new surface, it adds a reference from
the embedding surface to the new surface. If there an existing surface
for the FrameSink, the reference to the existing surface is removed when
the next CompositorFrame is submitted.
FrameGenerator owns the display root surface here and plays the role of
the embedding client. The display root surface gets a reference from the
top level root. All embedded surfaces get a reference from the display
root surface.
When a new surface is created in the gpu process, DisplayCompositor
immediately adds a temporary reference. This is so the surface doesn't
get deleted before the mus-ws process can add the correct reference.
BUG=659227
Committed: https://crrev.com/a9194624d84580648fb7967c00c2800a880a9939
Cr-Commit-Position: refs/heads/master@{#433590}
Patch Set 1 #
Total comments: 10
Patch Set 2 : Rebase + fixes. #
Total comments: 2
Patch Set 3 : Rewrite large bits #
Total comments: 18
Patch Set 4 : Fixes for fsamuel. #
Total comments: 12
Patch Set 5 : More fixes for comments. #
Dependent Patchsets: Messages
Total messages: 28 (12 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||