|
Convert view manager to surfaces with uploading shim in client lib
This converts the view manager protocol over to specify view contents via
surfaces instead of shuffling a bitmap. To ease the transition, this provides a
wrapper in the client library that accepts an SkBitmap and uploads it into a
texture wrapped in a surface so existing code still works. Next I'll port the
clients over to providing surfaces themselves and remove this shim.
BUG=
Committed: https://crrev.com/529c759bf153b8eec2178244ddd3e87e5790b7c4
Cr-Commit-Position: refs/heads/master@{#294501}
Total comments: 26
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+672 lines, -1029 lines) |
Patch |
|
M |
cc/surfaces/surface_factory.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
cc/surfaces/surface_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
mojo/examples/compositor_app/compositor_app.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
mojo/examples/pepper_container_app/pepper_container_app.cc
|
View
|
1
2
|
3 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
mojo/examples/pepper_container_app/type_converters.h
|
View
|
1
2
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
mojo/examples/sample_app/sample_app.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -11 lines |
0 comments
|
Download
|
|
M |
mojo/examples/surfaces_app/surfaces_app.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
mojo/mojo.gyp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
mojo/mojo_services.gypi
|
View
|
1
2
3
4
5
6
7
8
9
|
9 chunks |
+24 lines, -18 lines |
0 comments
|
Download
|
|
M |
mojo/services/native_viewport/native_viewport_impl.h
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
mojo/services/native_viewport/native_viewport_impl.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
mojo/services/native_viewport/viewport_surface.h
|
View
|
1
2
3
4
5
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
mojo/services/native_viewport/viewport_surface.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+18 lines, -27 lines |
0 comments
|
Download
|
|
M |
mojo/services/public/cpp/surfaces/BUILD.gn
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
mojo/services/public/cpp/surfaces/DEPS
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
mojo/services/public/cpp/surfaces/lib/surfaces_utils.cc
|
View
|
1
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
|
A |
mojo/services/public/cpp/surfaces/surfaces_utils.h
|
View
|
1
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/services/public/cpp/view_manager/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
|
M |
mojo/services/public/cpp/view_manager/lib/DEPS
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
A |
mojo/services/public/cpp/view_manager/lib/bitmap_uploader.h
|
View
|
1
2
|
1 chunk |
+61 lines, -0 lines |
0 comments
|
Download
|
|
A |
mojo/services/public/cpp/view_manager/lib/bitmap_uploader.cc
|
View
|
1
2
|
1 chunk |
+189 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/services/public/cpp/view_manager/lib/view.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.h
|
View
|
1
2
3
|
3 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc
|
View
|
1
2
3
|
3 chunks |
+34 lines, -18 lines |
0 comments
|
Download
|
|
M |
mojo/services/public/cpp/view_manager/view.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/services/public/interfaces/native_viewport/native_viewport.mojom
|
View
|
1
2
3
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
mojo/services/public/interfaces/view_manager/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
mojo/services/public/interfaces/view_manager/view_manager.mojom
|
View
|
1
2
3
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
mojo/services/surfaces/surfaces_service_application.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/services/surfaces/surfaces_service_application.cc
|
View
|
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
mojo/services/view_manager/BUILD.gn
|
View
|
1
2
|
4 chunks |
+4 lines, -19 lines |
0 comments
|
Download
|
|
M |
mojo/services/view_manager/DEPS
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
mojo/services/view_manager/access_policy.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
mojo/services/view_manager/connection_manager.h
|
View
|
1
2
3
|
4 chunks |
+1 line, -11 lines |
0 comments
|
Download
|
|
M |
mojo/services/view_manager/connection_manager.cc
|
View
|
1
2
3
|
3 chunks |
+2 lines, -13 lines |
0 comments
|
Download
|
|
D |
mojo/services/view_manager/context_factory_impl.h
|
View
|
1
2
|
1 chunk |
+0 lines, -57 lines |
0 comments
|
Download
|
|
D |
mojo/services/view_manager/context_factory_impl.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -78 lines |
0 comments
|
Download
|
|
M |
mojo/services/view_manager/default_access_policy.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
mojo/services/view_manager/default_access_policy.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
mojo/services/view_manager/display_manager.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+34 lines, -31 lines |
0 comments
|
Download
|
|
M |
mojo/services/view_manager/display_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+109 lines, -173 lines |
0 comments
|
Download
|
|
D |
mojo/services/view_manager/display_manager_delegate.h
|
View
|
|
1 chunk |
+0 lines, -25 lines |
0 comments
|
Download
|
|
D |
mojo/services/view_manager/screen_impl.h
|
View
|
|
1 chunk |
+0 lines, -56 lines |
0 comments
|
Download
|
|
D |
mojo/services/view_manager/screen_impl.cc
|
View
|
|
1 chunk |
+0 lines, -78 lines |
0 comments
|
Download
|
|
M |
mojo/services/view_manager/server_view.h
|
View
|
1
2
3
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
mojo/services/view_manager/server_view.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
mojo/services/view_manager/server_view_delegate.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
mojo/services/view_manager/view_manager_init_service_context.h
|
View
|
1
2
|
3 chunks |
+6 lines, -21 lines |
0 comments
|
Download
|
|
M |
mojo/services/view_manager/view_manager_init_service_context.cc
|
View
|
|
4 chunks |
+4 lines, -27 lines |
0 comments
|
Download
|
|
M |
mojo/services/view_manager/view_manager_service_impl.h
|
View
|
1
2
3
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
mojo/services/view_manager/view_manager_service_impl.cc
|
View
|
1
2
3
|
2 chunks |
+6 lines, -19 lines |
0 comments
|
Download
|
|
M |
mojo/services/view_manager/window_manager_access_policy.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
mojo/services/view_manager/window_manager_access_policy.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
D |
mojo/services/view_manager/window_tree_host_impl.h
|
View
|
|
1 chunk |
+0 lines, -81 lines |
0 comments
|
Download
|
|
D |
mojo/services/view_manager/window_tree_host_impl.cc
|
View
|
|
1 chunk |
+0 lines, -202 lines |
0 comments
|
Download
|
|
M |
mojo/shell/DEPS
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
mojo/shell/desktop/mojo_main.cc
|
View
|
1
2
3
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
Total messages: 30 (11 generated)
|