summaryrefslogtreecommitdiffstats
path: root/content/common/gpu/gpu_channel_manager.cc
diff options
context:
space:
mode:
authorbacker@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-29 13:12:23 +0000
committerbacker@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-29 13:12:23 +0000
commit04d58ce556a2da41983d8fddbcea57952defdac9 (patch)
tree31364c5dc540bb0bd545324b1aba3a7ea80e0f3c /content/common/gpu/gpu_channel_manager.cc
parentf294ef3f44e77892f11461e5aac0576b19270828 (diff)
downloadchromium_src-04d58ce556a2da41983d8fddbcea57952defdac9.zip
chromium_src-04d58ce556a2da41983d8fddbcea57952defdac9.tar.gz
chromium_src-04d58ce556a2da41983d8fddbcea57952defdac9.tar.bz2
ImageTransportSurface for OS X
Moves display path closer to TOUCH_UI where we create an FBO backed GLSurface. It handles IPC via routed messages for less plumbing. The biggest change is that the GPU process renders directly to IOSurface via FBO, saving a glCopyTextImage2D pixel readback. I've implemented a TransportDIB transport path to support 10.5 (this is new). I've tested this on a recent Macbook Pro running 10.5. BUG=58381 TEST=TOUCH_UI and OSX 3D CSS and WebGL Review URL: http://codereview.chromium.org/7809019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103269 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/gpu/gpu_channel_manager.cc')
-rw-r--r--content/common/gpu/gpu_channel_manager.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/content/common/gpu/gpu_channel_manager.cc b/content/common/gpu/gpu_channel_manager.cc
index 5d3aba8..491fdd6b 100644
--- a/content/common/gpu/gpu_channel_manager.cc
+++ b/content/common/gpu/gpu_channel_manager.cc
@@ -65,8 +65,6 @@ bool GpuChannelManager::OnMessageReceived(const IPC::Message& msg) {
IPC_MESSAGE_HANDLER(GpuMsg_ResizeViewACK, OnResizeViewACK);
#endif
#if defined(OS_MACOSX)
- IPC_MESSAGE_HANDLER(GpuMsg_AcceleratedSurfaceBuffersSwappedACK,
- OnAcceleratedSurfaceBuffersSwappedACK)
IPC_MESSAGE_HANDLER(GpuMsg_DestroyCommandBuffer,
OnDestroyCommandBuffer)
#endif
@@ -154,15 +152,6 @@ void GpuChannelManager::OnResizeViewACK(int32 renderer_id,
}
#if defined(OS_MACOSX)
-void GpuChannelManager::OnAcceleratedSurfaceBuffersSwappedACK(
- int renderer_id, int32 route_id, uint64 swap_buffers_count) {
- GpuChannelMap::const_iterator iter = gpu_channels_.find(renderer_id);
- if (iter == gpu_channels_.end())
- return;
- scoped_refptr<GpuChannel> channel = iter->second;
- channel->AcceleratedSurfaceBuffersSwapped(route_id, swap_buffers_count);
-}
-
void GpuChannelManager::OnDestroyCommandBuffer(
int renderer_id, int32 renderer_view_id) {
GpuChannelMap::const_iterator iter = gpu_channels_.find(renderer_id);