|
gpu: Remove Echo and SwapCompletion GL interfaces
This functionality can be implemented with sync point callbacks.
Now that swap completion is entirely an implementation detail
of the OutputSurface this also allows for eliminating some
IPC message redundancy. Ideally SwapCompletion would be unsolicited
and also include LatencyInfo (where needed/supported).
Also remove the message pattern matching logic in gpu_channel.cc
for Flush/Echo. This kind of matching does not work reliably,
since OnMessageReceived races with HandleMessage
(i.e. the next msg might or might not be in deferred_messages_).
Also, the original motivation in bug 407529 is described
as making sure SwapBuffers gets handled immediately,
which was separately fixed by merging the LatencyInfo with
the Flush IPC.
BUG= 417945
Committed: https://crrev.com/42243047e7418892929a8e5b19fe12b9db4b9c4c
Cr-Commit-Position: refs/heads/master@{#297869}
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+54 lines, -231 lines) |
Patch |
 |
M |
cc/output/output_surface.cc
|
View
|
1
2
3
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/test/test_context_support.h
|
View
|
1
2
3
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/test/test_context_support.cc
|
View
|
1
2
3
|
3 chunks |
+0 lines, -16 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/client/command_buffer_proxy_impl.h
|
View
|
|
3 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/client/command_buffer_proxy_impl.cc
|
View
|
1
2
|
3 chunks |
+0 lines, -21 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_channel.h
|
View
|
2
3
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_channel.cc
|
View
|
2
3
4
|
1 chunk |
+40 lines, -94 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_command_buffer_stub.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_command_buffer_stub.cc
|
View
|
1
2
|
3 chunks |
+2 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_messages.h
|
View
|
1
2
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/ppb_graphics_3d_impl.cc
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/client_test_helper.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/context_support.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_implementation.h
|
View
|
1
2
3
|
3 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_implementation.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -19 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gpu_control.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/in_process_command_buffer.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/in_process_command_buffer.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/tests/gl_manager.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/tests/gl_manager.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
gpu/gles2_conform_support/egl/display.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/gles2_conform_support/egl/display.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
mojo/gles2/command_buffer_client_impl.h
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/gles2/command_buffer_client_impl.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppapi_command_buffer_proxy.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppapi_command_buffer_proxy.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
Total messages: 21 (3 generated)
|