|
blimp: Move BlimpCompositor to use delegated rendering.
Currently the BlimpCompositor is the compositor that owns the
cc::Display and delegated frames from it are directed to the display
by the BlimpDelegatingOutputSurface. The lifetime of the display and
the surfaces system is tied to the lifetime of the cc::OutputSurface,
which is tied to the lifetime of the native widget.
This diverges from the behavior expected when Blimp is embedded in
Clank, which owns the Surfaces system and holds the UI compositor,
which is the parent compositor that will embed content from the
BlimpCompositor.
This patch adds a BrowserCompositor to the blimp app, which performs
the work of the UI compositor in Chrome. This ensures that Blimp always
shares its content using a cc::SurfaceLayer, and the embedder is
expected to own the cc::Surfaces system and push this content to the
cc::Display.
BUG= 639950
Committed: https://crrev.com/a498580e603b732faa90ccd61b99bb36271e4308
Cr-Commit-Position: refs/heads/master@{#414325}
Total comments: 14
Total comments: 1
Total comments: 8
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1347 lines, -732 lines) |
Patch |
 |
M |
blimp/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/client/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+36 lines, -22 lines |
0 comments
|
Download
|
 |
M |
blimp/client/app/android/blimp_compositor_manager_android.h
|
View
|
|
1 chunk |
+11 lines, -7 lines |
0 comments
|
Download
|
 |
M |
blimp/client/app/android/blimp_compositor_manager_android.cc
|
View
|
|
2 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
 |
M |
blimp/client/app/android/blimp_view.h
|
View
|
|
5 chunks |
+14 lines, -11 lines |
0 comments
|
Download
|
 |
M |
blimp/client/app/android/blimp_view.cc
|
View
|
|
5 chunks |
+39 lines, -32 lines |
0 comments
|
Download
|
 |
M |
blimp/client/app/android/java/src/org/chromium/blimp/BlimpView.java
|
View
|
|
5 chunks |
+12 lines, -17 lines |
0 comments
|
Download
|
 |
A |
blimp/client/app/compositor/browser_compositor.h
|
View
|
1
|
1 chunk |
+103 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/app/compositor/browser_compositor.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+225 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/client/app/linux/blimp_display_manager.h
|
View
|
1
2
3
4
|
4 chunks |
+8 lines, -11 lines |
0 comments
|
Download
|
 |
M |
blimp/client/app/linux/blimp_display_manager.cc
|
View
|
1
2
3
4
|
5 chunks |
+18 lines, -19 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/BUILD.gn
|
View
|
1
2
3
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/compositor/BUILD.gn
|
View
|
1
2
3
4
5
6
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/compositor/blimp_output_surface.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+57 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/compositor/delegated_output_surface.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+61 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/compositor/delegated_output_surface.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+79 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/compositor/delegated_output_surface_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+214 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/client/feature/compositor/blimp_compositor.h
|
View
|
1
2
3
4
5
6
|
8 chunks |
+79 lines, -72 lines |
0 comments
|
Download
|
 |
M |
blimp/client/feature/compositor/blimp_compositor.cc
|
View
|
1
2
3
4
5
6
|
7 chunks |
+139 lines, -137 lines |
0 comments
|
Download
|
 |
M |
blimp/client/feature/compositor/blimp_compositor_manager.h
|
View
|
|
6 chunks |
+28 lines, -24 lines |
0 comments
|
Download
|
 |
M |
blimp/client/feature/compositor/blimp_compositor_manager.cc
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+31 lines, -38 lines |
0 comments
|
Download
|
 |
M |
blimp/client/feature/compositor/blimp_compositor_manager_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
9 chunks |
+44 lines, -28 lines |
0 comments
|
Download
|
 |
M |
blimp/client/feature/compositor/blimp_compositor_unittest.cc
|
View
|
1
2
3
|
6 chunks |
+20 lines, -24 lines |
0 comments
|
Download
|
 |
M |
blimp/client/feature/compositor/blimp_context_provider.h
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
D |
blimp/client/feature/compositor/blimp_delegating_output_surface.h
|
View
|
|
1 chunk |
+0 lines, -71 lines |
0 comments
|
Download
|
 |
D |
blimp/client/feature/compositor/blimp_delegating_output_surface.cc
|
View
|
|
1 chunk |
+0 lines, -131 lines |
0 comments
|
Download
|
 |
M |
blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
D |
blimp/client/feature/compositor/blimp_output_surface.h
|
View
|
|
1 chunk |
+0 lines, -36 lines |
0 comments
|
Download
|
 |
D |
blimp/client/feature/compositor/blimp_output_surface.cc
|
View
|
|
1 chunk |
+0 lines, -35 lines |
0 comments
|
Download
|
 |
M |
blimp/client/public/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
blimp/client/test/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
blimp/test/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/test/run_all_unittests.cc
|
View
|
1
2
3
|
1 chunk |
+54 lines, -1 line |
0 comments
|
Download
|
Total messages: 30 (12 generated)
|