|
Revert 111040 - Reland 110355 - Use shared D3D9 texture to transport the compositor's backing buffer to the browser process for presentation.
Implemented ImageTransportSurface for Linux (without texture sharing), XP, Vista and 7. XP. The non-texture sharing Linux and XP paths just present directly to the compositing child window owned by the browser process as before.
PassThroughImageTransportSurface still needs a proper name. I will move it into its own file once that is decided.
I moved AcceleratedSurfaceBuffersSwapped outside of the platform specific ifdefs and made the signature the same on all platforms for greater consistency.
I removed the code related to sharing surfaces between processes and synchronizing resize and swapping out of GpuCommandBufferStub. It is all now in ImageTransportSurface implementations.
Original Review URL: http://codereview.chromium.org/8060045
Review URL: http://codereview.chromium.org/8620006
TBR=apatrick@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111043
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+262 lines, -557 lines) |
Patch |
 |
M |
content/browser/gpu/gpu_process_host_ui_shim.h
|
View
|
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/gpu/gpu_process_host_ui_shim.cc
|
View
|
|
5 chunks |
+21 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_mac.cc
|
View
|
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view.h
|
View
|
|
4 chunks |
+15 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.h
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.cc
|
View
|
|
1 chunk |
+22 lines, -25 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_gtk.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_gtk.cc
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_mac.h
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_mac.mm
|
View
|
|
1 chunk |
+10 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_mac_unittest.mm
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_win.h
|
View
|
|
3 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_win.cc
|
View
|
|
7 chunks |
+2 lines, -53 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/test_render_view_host.h
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/test_render_view_host.cc
|
View
|
|
2 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_channel.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_channel.cc
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_channel_manager.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_channel_manager.cc
|
View
|
|
3 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_command_buffer_stub.h
|
View
|
|
3 chunks |
+13 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_command_buffer_stub.cc
|
View
|
|
7 chunks |
+72 lines, -16 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_messages.h
|
View
|
|
5 chunks |
+43 lines, -12 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/image_transport_surface.h
|
View
|
|
6 chunks |
+0 lines, -46 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/image_transport_surface.cc
|
View
|
|
6 chunks |
+0 lines, -94 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/image_transport_surface_linux.cc
|
View
|
|
8 chunks |
+1 line, -29 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/image_transport_surface_mac.cc
|
View
|
|
4 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
D |
content/common/gpu/image_transport_surface_win.cc
|
View
|
|
1 chunk |
+0 lines, -176 lines |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/content_common.gypi
|
View
|
|
3 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/surface/accelerated_surface_win.cc
|
View
|
|
2 chunks |
+1 line, -16 lines |
0 comments
|
Download
|
Total messages: 1 (0 generated)
|