|
Make channel preemption not require view contexts for hookup
Instead have a single preemption flag on the GpuChannelManager, and make the
browser channel always be the one preempting, and the child channels always be
the ones being preempted (if --ui-prioritize-in-gpu-process is set). This
reflects our current usage, and is much simpler. It means we don't need
parent_client_id in GLSurfaceHandle any more, and all the renderer view surfaces
are identical, so we don't need their surface ids.
BUG= 497658
Committed: https://crrev.com/4db52c1398011b124745567b5383572c2f319135
Cr-Commit-Position: refs/heads/master@{#350663}
Total comments: 3
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+213 lines, -527 lines) |
Patch |
 |
M |
content/browser/compositor/gpu_process_transport_factory.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/compositor/gpu_process_transport_factory.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/image_transport_factory.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/compositor/test/no_transport_image_transport_factory.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/compositor/test/no_transport_image_transport_factory.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_widget_host_view_child_frame.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_widget_host_view_child_frame.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/gpu/browser_gpu_channel_host_factory.cc
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/gpu/gpu_process_host.h
|
View
|
|
6 chunks |
+2 lines, -14 lines |
0 comments
|
Download
|
 |
M |
content/browser/gpu/gpu_process_host.cc
|
View
|
1
2
3
4
5
|
9 chunks |
+13 lines, -31 lines |
0 comments
|
Download
|
 |
M |
content/browser/gpu/gpu_surface_tracker.h
|
View
|
|
3 chunks |
+1 line, -41 lines |
0 comments
|
Download
|
 |
M |
content/browser/gpu/gpu_surface_tracker.cc
|
View
|
|
5 chunks |
+4 lines, -33 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/compositor_impl_android.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/gpu_message_filter.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/gpu_message_filter.cc
|
View
|
|
3 chunks |
+13 lines, -48 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_impl.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -14 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_impl.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_impl.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+0 lines, -14 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_android.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_android.cc
|
View
|
|
2 chunks |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_base.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_mac.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_mac.mm
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_channel.h
|
View
|
1
2
3
4
5
|
6 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_channel.cc
|
View
|
1
2
3
4
5
|
9 chunks |
+21 lines, -48 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_channel_manager.h
|
View
|
|
5 chunks |
+18 lines, -15 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_channel_manager.cc
|
View
|
1
2
3
4
|
5 chunks |
+25 lines, -33 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_channel_manager_unittest.cc
|
View
|
|
2 chunks |
+22 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_channel_test_common.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_channel_test_common.cc
|
View
|
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_channel_unittest.cc
|
View
|
|
18 chunks |
+30 lines, -60 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_command_buffer_stub.h
|
View
|
1
2
3
4
|
5 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_command_buffer_stub.cc
|
View
|
1
2
3
4
|
9 chunks |
+9 lines, -31 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_messages.h
|
View
|
|
6 chunks |
+16 lines, -19 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/image_transport_surface.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/image_transport_surface.cc
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -16 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/image_transport_surface_android.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_thread_impl.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_widget.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/test_render_view_host.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/test/test_render_view_host.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/native_widget_types.h
|
View
|
1
|
3 chunks |
+4 lines, -13 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 18 (8 generated)
|