diff options
author | sievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-08 20:36:04 +0000 |
---|---|---|
committer | sievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-08 20:36:04 +0000 |
commit | b42a9f62685ff25438ec0fd689e4b8952b70dd70 (patch) | |
tree | 96cdea5d58fe5655f90e3c8c08ae412c9ab85b3d /content/browser/gpu/gpu_process_host.h | |
parent | 1f433b75a2d611bb9a96fb87b9d8f95558eb9a1e (diff) | |
download | chromium_src-b42a9f62685ff25438ec0fd689e4b8952b70dd70.zip chromium_src-b42a9f62685ff25438ec0fd689e4b8952b70dd70.tar.gz chromium_src-b42a9f62685ff25438ec0fd689e4b8952b70dd70.tar.bz2 |
Make EstablishGpuChannel synchronous. Remove obsolete Synchronize msg.
This simplifies message routing to the compositor thread a bit.
Review URL: http://codereview.chromium.org/7129006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88387 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/gpu/gpu_process_host.h')
-rw-r--r-- | content/browser/gpu/gpu_process_host.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/content/browser/gpu/gpu_process_host.h b/content/browser/gpu/gpu_process_host.h index 47f88fb..93fd311 100644 --- a/content/browser/gpu/gpu_process_host.h +++ b/content/browser/gpu/gpu_process_host.h @@ -66,12 +66,6 @@ class GpuProcessHost : public BrowserChildProcessHost, void EstablishGpuChannel( int renderer_id, EstablishChannelCallback* callback); - typedef Callback0::Type SynchronizeCallback; - - // Sends a reply message later when the next GpuHostMsg_SynchronizeReply comes - // in. - void Synchronize(SynchronizeCallback* callback); - typedef Callback1<int32>::Type CreateCommandBufferCallback; // Tells the GPU process to create a new command buffer that draws into the @@ -99,7 +93,6 @@ class GpuProcessHost : public BrowserChildProcessHost, // Message handlers. void OnChannelEstablished(const IPC::ChannelHandle& channel_handle); - void OnSynchronizeReply(); void OnCommandBufferCreated(const int32 route_id); void OnDestroyCommandBuffer( gfx::PluginWindowHandle window, int32 renderer_id, int32 render_view_id); @@ -115,7 +108,6 @@ class GpuProcessHost : public BrowserChildProcessHost, const GPUInfo& gpu_info); void CreateCommandBufferError(CreateCommandBufferCallback* callback, int32 route_id); - void SynchronizeError(SynchronizeCallback* callback); // The serial number of the GpuProcessHost / GpuProcessHostUIShim pair. int host_id_; @@ -124,9 +116,6 @@ class GpuProcessHost : public BrowserChildProcessHost, // the GPU process, but haven't heard back about yet. std::queue<linked_ptr<EstablishChannelCallback> > channel_requests_; - // The pending synchronization requests we need to reply to. - std::queue<linked_ptr<SynchronizeCallback> > synchronize_requests_; - // The pending create command buffer requests we need to reply to. std::queue<linked_ptr<CreateCommandBufferCallback> > create_command_buffer_requests_; |