DescriptionAura-Mus: Implement gutter in the embedder.
This CL implements gutter in the embedder.
In a nutshell, when a Fallback SurfaceInfo is set, the embedder computes
the right and bottom gutter layers if necessary.
It takes the difference between the window size and the fallback surface
size, and computes the position and size of the gutters.
The gutter layers are recomputed on window bounds change.
Window types EMBED_IN_OWNER and TOP_LEVEL_IN_WM always get a
ClientSurfaceEmbedder now.
Note that currently, if surface synchronization is turned on then the
frame rate will always be 15fps because SurfaceLayers may refer (and
block) on hidden windows that don't produce CompositorFrames. This will
be fixed in a subsequent CL.
BUG=672962
Review-Url: https://codereview.chromium.org/2797263002
Cr-Commit-Position: refs/heads/master@{#463041}
Committed: https://chromium.googlesource.com/chromium/src/+/0cbd038c0fb0221a18b27ef3cf52362f5b2d1877
Patch Set 1 #Patch Set 2 : Gutter #Patch Set 3 : Updated test #
Total comments: 18
Patch Set 4 : Addressed sadrul's comments #
Total comments: 2
Messages
Total messages: 30 (22 generated)
|