|
Teach the native viewport service to draw a Surface into itself
This teaches the native viewport service to accept a surface id from its
client and draw it into the native viewport. This won't work if the
client also tries to bind an onscreen context to the native viewport's
view id, so the surface initialization is lazy and only happens when
the client specifies a surface id. If a client does both it'll blow up.
R=sky@chromium.org
Committed: https://crrev.com/4ebfaeec388609951860700413edc800ff52cd60
Cr-Commit-Position: refs/heads/master@{#292548}
Total comments: 5
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+336 lines, -94 lines) |
Patch |
 |
M |
mojo/examples/compositor_app/compositor_app.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/examples/pepper_container_app/pepper_container_app.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/examples/sample_app/sample_app.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/examples/surfaces_app/embedder.cc
|
View
|
1
|
1 chunk |
+29 lines, -25 lines |
0 comments
|
Download
|
 |
M |
mojo/examples/surfaces_app/surfaces_app.cc
|
View
|
1
|
6 chunks |
+10 lines, -41 lines |
0 comments
|
Download
|
 |
M |
mojo/mojo_services.gypi
|
View
|
1
2
3
4
5
|
6 chunks |
+31 lines, -4 lines |
0 comments
|
Download
|
 |
M |
mojo/services/native_viewport/BUILD.gn
|
View
|
1
|
2 chunks |
+12 lines, -7 lines |
0 comments
|
Download
|
 |
M |
mojo/services/native_viewport/DEPS
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/services/native_viewport/native_viewport_impl.h
|
View
|
1
2
|
3 chunks |
+16 lines, -3 lines |
0 comments
|
Download
|
 |
M |
mojo/services/native_viewport/native_viewport_impl.cc
|
View
|
1
2
|
3 chunks |
+36 lines, -7 lines |
0 comments
|
Download
|
 |
A |
mojo/services/native_viewport/viewport_surface.h
|
View
|
1
|
1 chunk |
+58 lines, -0 lines |
0 comments
|
Download
|
 |
A |
mojo/services/native_viewport/viewport_surface.cc
|
View
|
1
2
|
1 chunk |
+120 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/services/public/interfaces/native_viewport/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/services/public/interfaces/native_viewport/native_viewport.mojom
|
View
|
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
mojo/services/public/interfaces/surfaces/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/services/public/interfaces/surfaces/surfaces.mojom
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/services/view_manager/window_tree_host_impl.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/shell/context.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 20 (0 generated)
|