|
|
Mus+Ash: Unified BeginFrame Skeleton
This CL implements a skeleton ExternalBeginFrameSource in Mus+Ash.
The following are the notable changes in this patch:
1. MojoCompositorFrameSinkClient gets an OnBeginFrame method.
2. A MojoCompositorFrameSinkPrivate interface is introduced with
methods to add and remove child FrameSinkIds for BeginFrame
propagation.
3. ServerWindowCOmpositorFrameSink implements MojoCompositorFrameSinkPrivate.
4. ServerWindowCompositorFrameSinkManager no longer retains direct
ownership of ServerWindowCompositorFrameSink, but rather creates a
strong binding to the MojoCompositorFrameSinkPrivate messagepipe and
holds one end of the pipe. In a future CL,
ServerWindowCompositorFrameSinkManager will no longer create
ServerWindowCompositorFrameSink directly but through a mojo interface
on DisplayCompositor.
5. All ServerWindowCompositorFrameSinks have the root window's frame
sink as their BeginFrame parent. This is temporary until Surface ID
propagation details are all worked out. This will not work properly on
multi-monitor yet.
6. ScheduleWindowPaint is gone throughout the window server. Instead,
for now, FrameGenerator always requests a BeginFrame and calls
DrawWindowTree when it receives a BeginFrame.
7. ServerWindowCompositorFrameSink no longer needs to know about
ServerWindow or ServerWindowCompositorFrameSinkManager which takes us a
step closer to the mus-ws/mus-gpu split.
8. WindowCompositorFrameSink holds an ExternalBeginFrameSource that is
updated from Mus.
BUG= 653895
TBR=junov@chromium.org for trivial offscreen canvas change.
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
Committed: https://crrev.com/a6ce960a00e4b8bf5608d51b6d95eb4963271887
Cr-Commit-Position: refs/heads/master@{#430504}
Total comments: 2
Total comments: 6
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+273 lines, -222 lines) |
Patch |
 |
M |
cc/ipc/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/ipc/begin_frame_args_struct_traits.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/ipc/mojo_compositor_frame_sink.mojom
|
View
|
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/public/cpp/window_compositor_frame_sink.h
|
View
|
1
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
services/ui/public/cpp/window_compositor_frame_sink.cc
|
View
|
1
|
3 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/display.h
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/display.cc
|
View
|
1
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/display_manager.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/display_manager.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/frame_generator.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -15 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/frame_generator.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+21 lines, -35 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/platform_display.h
|
View
|
1
2
3
4
5
|
4 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/platform_display.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+0 lines, -17 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/server_window.cc
|
View
|
1
|
3 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/server_window_compositor_frame_sink.h
|
View
|
1
2
|
6 chunks |
+39 lines, -8 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/server_window_compositor_frame_sink.cc
|
View
|
1
|
8 chunks |
+62 lines, -21 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/server_window_compositor_frame_sink_manager.h
|
View
|
1
|
1 chunk |
+23 lines, -6 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/server_window_compositor_frame_sink_manager.cc
|
View
|
1
2
3
4
|
3 chunks |
+46 lines, -7 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/server_window_delegate.h
|
View
|
1
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/test_server_window_delegate.h
|
View
|
1
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/test_server_window_delegate.cc
|
View
|
1
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/test_utils.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_server.h
|
View
|
1
|
4 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_server.cc
|
View
|
1
|
9 chunks |
+8 lines, -51 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/blink_typemaps.gni
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/mus/window_compositor_frame_sink.h
|
View
|
1
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/aura/mus/window_compositor_frame_sink.cc
|
View
|
1
|
3 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
Total messages: 48 (30 generated)
|