|
Move WakeUpGpu logic to GpuChannelManager
We don't need to tie the WakeUpGpu to a particular surface, so instead
make it a control message, and have the GpuChannelManager pick any
available context. We signal GPU access on AsyncFlush instead of
OnMakeCurrent, since that's both more accurate and simpler.
At that point, that means renderer surfaces don't need to be
ImageTransportSurfaces any more, so we can remove NullTransportSurface
and ImageTransportSurfaceAndroid, we can use the default offscreen
surface instead anyway.
DirectSurfaceAndroid can be replaced by PassThroughImageTransportSurface
directly, because it's only used to signal GPU access (which is done on
AsyncFlush anyway).
BUG= 487471
Committed: https://crrev.com/fa4f254803e2952851400a35f9ec20605e9c3461
Cr-Commit-Position: refs/heads/master@{#350491}
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+120 lines, -358 lines) |
Patch |
 |
M |
content/browser/gpu/gpu_process_host_ui_shim.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/gpu/gpu_process_host_ui_shim.cc
|
View
|
|
3 chunks |
+0 lines, -50 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_android.h
|
View
|
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_android.cc
|
View
|
|
3 chunks |
+2 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_base.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_channel.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_channel.cc
|
View
|
1
2
3
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_channel_manager.h
|
View
|
|
3 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_channel_manager.cc
|
View
|
1
2
|
3 chunks |
+61 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_command_buffer_stub.cc
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_messages.h
|
View
|
|
2 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/image_transport_surface.h
|
View
|
|
4 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/image_transport_surface.cc
|
View
|
1
2
|
5 chunks |
+18 lines, -22 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/image_transport_surface_android.cc
|
View
|
|
2 chunks |
+1 line, -126 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/image_transport_surface_fbo_mac.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/image_transport_surface_fbo_mac.mm
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/image_transport_surface_overlay_mac.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/image_transport_surface_overlay_mac.mm
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
D |
content/common/gpu/null_transport_surface.h
|
View
|
|
1 chunk |
+0 lines, -43 lines |
0 comments
|
Download
|
 |
D |
content/common/gpu/null_transport_surface.cc
|
View
|
|
1 chunk |
+0 lines, -75 lines |
0 comments
|
Download
|
 |
M |
content/content_common.gypi
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 14 (6 generated)
|