|
cc: Dedup IPCs to return resources to client
ViewMsg_ReclaimCompositorResources and
ViewMsg_SwapCompositorFrameAck are virtually identical IPCs to
return resources to clients. The only difference is one acknowledges a
swap and the other returns resources independent of a swap.
This is both confusing and an unnecessary maintenance burden. This CL
deletes ViewMsg_SwapCompositorFrameAck and replaces it with
ViewMsg_ReclaimCompositorResources and a bool for is_swap_ack.
This CL also removes CompositorFrameAck which is no longer
necessary as it only contains one field.
BUG=none
TBR=ben@chromium.org for services/ui/public/cpp/lib/output_surface.cc
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/b62b78229e838b0140af7973e83ada9fcce28a19
Cr-Commit-Position: refs/heads/master@{#405660}
Total comments: 3
Total comments: 7
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+363 lines, -391 lines) |
Patch |
 |
M |
android_webview/browser/browser_view_renderer.cc
|
View
|
1
|
3 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
 |
M |
android_webview/browser/render_thread_manager.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/cc.gyp
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/ipc/cc_param_traits.h
|
View
|
1
|
2 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
cc/ipc/cc_param_traits.cc
|
View
|
1
|
1 chunk |
+0 lines, -18 lines |
0 comments
|
Download
|
 |
M |
cc/layers/texture_layer_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
D |
cc/output/compositor_frame_ack.h
|
View
|
1
|
1 chunk |
+0 lines, -30 lines |
0 comments
|
Download
|
 |
D |
cc/output/compositor_frame_ack.cc
|
View
|
1
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
 |
M |
cc/output/delegating_renderer.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/output/delegating_renderer.cc
|
View
|
1
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/output/output_surface.h
|
View
|
1
2
3
4
5
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/output/output_surface.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/output/output_surface_client.h
|
View
|
1
2
3
4
5
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/output/renderer.h
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/output/software_renderer.cc
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/surfaces/display.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/surfaces/display.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface_display_output_surface.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_output_surface.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_output_surface_client.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/test/layer_tree_test.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/test/test_delegating_output_surface.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/android/synchronous_compositor_host.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/android/synchronous_compositor_host.cc
|
View
|
1
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/offscreen_browser_compositor_output_surface.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_widget_host_view_child_frame.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/browser_compositor_view_mac.h
|
View
|
1
|
2 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/browser_compositor_view_mac.mm
|
View
|
1
2
3
|
1 chunk |
+4 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/delegated_frame_host.h
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/delegated_frame_host.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+28 lines, -30 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_impl.h
|
View
|
1
|
1 chunk |
+3 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_impl.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+9 lines, -21 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_android.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_android.cc
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+16 lines, -26 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
52 chunks |
+209 lines, -59 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_mac.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_mac.mm
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/common/android/sync_compositor_messages.h
|
View
|
1
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/view_messages.h
|
View
|
1
|
2 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/android/synchronous_compositor.h
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/test/test_synchronous_compositor_android.h
|
View
|
1
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/public/test/test_synchronous_compositor_android.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/android/synchronous_compositor_output_surface.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/android/synchronous_compositor_output_surface.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/renderer/gpu/compositor_forwarding_message_filter.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/gpu/compositor_output_surface.h
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/gpu/compositor_output_surface.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+8 lines, -16 lines |
0 comments
|
Download
|
 |
M |
services/ui/public/cpp/lib/output_surface.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
tools/ipc_fuzzer/fuzzer/fuzzer.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
Total messages: 89 (49 generated)
|