|
Replace IOSurfaceManager by directly passing IOSurface Mach ports over Chrome IPC.
IOSurfaceManager was created as a mechanism to exchange IOSurfaces using Mach
ports, at a time when Chrome IPC was unable to broker Mach port attachments. As
part of fixing https://crbug.com/466437, Chrome IPC grew the capability to also
also send Mach ports as part of a message.
With this new capability, the custom Mach IPC channel used by IOSurfaceManager
is no longer necessary, and its complexity can be removed.
BUG= 569226, 323304
Committed: https://crrev.com/5c7c3e9be27c3a79e9462e3d275780b0bc6ad559
Cr-Commit-Position: refs/heads/master@{#367474}
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+157 lines, -1716 lines) |
Patch |
 |
M |
content/app/content_main_runner.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
M |
content/browser/bootstrap_sandbox_manager_mac.cc
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
D |
content/browser/browser_io_surface_manager_mac.h
|
View
|
|
1 chunk |
+0 lines, -130 lines |
0 comments
|
Download
|
 |
D |
content/browser/browser_io_surface_manager_mac.cc
|
View
|
|
1 chunk |
+0 lines, -331 lines |
0 comments
|
Download
|
 |
D |
content/browser/browser_io_surface_manager_mac_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -331 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_main_loop.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -13 lines |
0 comments
|
Download
|
 |
M |
content/browser/child_process_launcher.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/gpu/gpu_process_host.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/browser/gpu/gpu_process_host.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+0 lines, -27 lines |
0 comments
|
Download
|
 |
M |
content/browser/gpu/gpu_process_host_ui_shim.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -19 lines |
0 comments
|
Download
|
 |
D |
content/browser/in_process_io_surface_manager_mac.h
|
View
|
|
1 chunk |
+0 lines, -48 lines |
0 comments
|
Download
|
 |
D |
content/browser/in_process_io_surface_manager_mac.cc
|
View
|
|
1 chunk |
+0 lines, -54 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+0 lines, -16 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_mac.mm
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
D |
content/child/child_io_surface_manager_mac.h
|
View
|
|
1 chunk |
+0 lines, -63 lines |
0 comments
|
Download
|
 |
D |
content/child/child_io_surface_manager_mac.cc
|
View
|
|
1 chunk |
+0 lines, -150 lines |
0 comments
|
Download
|
 |
M |
content/child/child_thread_impl.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+0 lines, -31 lines |
0 comments
|
Download
|
 |
M |
content/common/child_process_messages.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+2 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/client/gpu_memory_buffer_impl_io_surface.cc
|
View
|
|
4 chunks |
+6 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_memory_buffer_factory_io_surface.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_memory_buffer_factory_io_surface.cc
|
View
|
|
4 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_messages.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/image_transport_surface_overlay_mac.mm
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
D |
content/common/mac/io_surface_manager_messages.h
|
View
|
|
1 chunk |
+0 lines, -67 lines |
0 comments
|
Download
|
 |
D |
content/common/mac/io_surface_manager_token.h
|
View
|
|
1 chunk |
+0 lines, -16 lines |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/content_child.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/content_common.gypi
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/content_tests.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/test/content_test_suite.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/accelerated_widget_mac/BUILD.gn
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/accelerated_widget_mac/accelerated_widget_mac.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ui/accelerated_widget_mac/accelerated_widget_mac.gyp
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
D |
ui/accelerated_widget_mac/surface_handle_types.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -43 lines |
0 comments
|
Download
|
 |
D |
ui/accelerated_widget_mac/surface_handle_types.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -53 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/gfx.gyp
|
View
|
1
2
3
4
5
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/gpu_memory_buffer.h
|
View
|
1
2
3
4
5
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/gpu_memory_buffer.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/ipc/gfx_param_traits.h
|
View
|
1
2
3
4
|
2 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/ipc/gfx_param_traits.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/gfx/mac/io_surface.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
ui/gfx/mac/io_surface.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+20 lines, -15 lines |
0 comments
|
Download
|
 |
D |
ui/gfx/mac/io_surface_manager.h
|
View
|
|
1 chunk |
+0 lines, -50 lines |
0 comments
|
Download
|
 |
D |
ui/gfx/mac/io_surface_manager.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -149 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_io_surface_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
Total messages: 32 (15 generated)
|