summaryrefslogtreecommitdiffstats
path: root/content/common/gpu/gpu_channel.cc
diff options
context:
space:
mode:
authorapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-16 21:35:30 +0000
committerapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-16 21:35:30 +0000
commitc4cef04e4009a3dac393cb4dd1b8b4a7a20652ad (patch)
treec36d2c9d86040a7fe2d0d13913bb4d05cf14853d /content/common/gpu/gpu_channel.cc
parent7a17c138724f16e4b7665841807491f9ee9b9688 (diff)
downloadchromium_src-c4cef04e4009a3dac393cb4dd1b8b4a7a20652ad.zip
chromium_src-c4cef04e4009a3dac393cb4dd1b8b4a7a20652ad.tar.gz
chromium_src-c4cef04e4009a3dac393cb4dd1b8b4a7a20652ad.tar.bz2
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. Review URL: http://codereview.chromium.org/8060045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110355 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/gpu/gpu_channel.cc')
-rw-r--r--content/common/gpu/gpu_channel.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc
index 9bb1ee5..14c8835 100644
--- a/content/common/gpu/gpu_channel.cc
+++ b/content/common/gpu/gpu_channel.cc
@@ -210,14 +210,6 @@ void GpuChannel::CreateViewCommandBuffer(
#endif // ENABLE_GPU
}
-void GpuChannel::ViewResized(int32 command_buffer_route_id) {
- GpuCommandBufferStub* stub = stubs_.Lookup(command_buffer_route_id);
- if (stub == NULL)
- return;
-
- stub->ViewResized();
-}
-
GpuCommandBufferStub* GpuChannel::LookupCommandBuffer(int32 route_id) {
return stubs_.Lookup(route_id);
}