|
Implement aura::Window::CreateCompositorFrameSink()
Currently, the exo creates cc::CompositorFrameSinkSupport by itself.
To create cc::CompositorFrameSinkSupport, exo has to access
ContextFactoryPrivate for allocating a FrameSinkId and accessing
cc::SurfaceManager, etc. But all those objects are not available in
Mus clients, so the exo doesn't work in Mushrome and Mustash
To support mushrome and mustash, this CL adds
aura::Window::CreateCompositorFrameSink(), this function hides the
detail of CompositorFrameSink creation within Cash and Mus.
Note: this CL only implements aura::Window::CreateCompositorFrameSink()
for Cash. A follow up CL will implements it for Mus.
BUG= 718443
TEST=tested exo with weston-terminal, wayland_rects_client
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2868473002
Cr-Commit-Position: refs/heads/master@{#470450}
Committed: https://chromium.googlesource.com/chromium/src/+/4c5a2a2c64c2b54355139eb9970fb1992e8363bd
Total comments: 13
Total comments: 7
Total comments: 19
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+405 lines, -429 lines) |
Patch |
 |
M |
components/exo/BUILD.gn
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/exo/buffer.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/exo/buffer.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/exo/buffer_unittest.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+9 lines, -16 lines |
0 comments
|
Download
|
 |
D |
components/exo/compositor_frame_sink.h
|
View
|
1
|
1 chunk |
+0 lines, -52 lines |
0 comments
|
Download
|
 |
D |
components/exo/compositor_frame_sink.cc
|
View
|
1
|
1 chunk |
+0 lines, -71 lines |
0 comments
|
Download
|
 |
D |
components/exo/compositor_frame_sink_holder.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+29 lines, -30 lines |
0 comments
|
Download
|
 |
D |
components/exo/compositor_frame_sink_holder.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
5 chunks |
+21 lines, -34 lines |
0 comments
|
Download
|
 |
M |
components/exo/surface.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
5 chunks |
+1 line, -20 lines |
0 comments
|
Download
|
 |
M |
components/exo/surface.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
11 chunks |
+9 lines, -42 lines |
0 comments
|
Download
|
 |
M |
ui/aura/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/aura/DEPS
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/aura/env.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
ui/aura/local/DEPS
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/aura/local/compositor_frame_sink_local.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+75 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/aura/local/compositor_frame_sink_local.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+122 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
ui/aura/local/window_port_local.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+21 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
ui/aura/local/window_port_local.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+49 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/aura/mus/window_port_mus.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/mus/window_port_mus.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/test/aura_test_helper.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/window.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
5 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/window_port.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window_port_local.h
|
View
|
1
|
1 chunk |
+0 lines, -45 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window_port_local.cc
|
View
|
1
|
1 chunk |
+0 lines, -92 lines |
0 comments
|
Download
|
Total messages: 59 (36 generated)
|