Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1208)

Unified Diff: chrome/browser/gpu_process_host.h

Issue 1328001: Added command buffer implementation of WebGL which runs in the sandbox.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/gpu_process_host.cc » ('j') | chrome/renderer/renderer_webkitclient_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gpu_process_host.h
===================================================================
--- chrome/browser/gpu_process_host.h (revision 42776)
+++ chrome/browser/gpu_process_host.h (working copy)
@@ -53,6 +53,10 @@
// on completion.
void EstablishGpuChannel(int renderer_id);
+ // Sends a reply message later when the next GpuHostMsg_SynchronizeReply comes
+ // in.
+ void Synchronize(int renderer_id, IPC::Message* reply);
+
private:
friend struct DefaultSingletonTraits<GpuProcessHost>;
@@ -74,6 +78,7 @@
// Message handlers.
void OnChannelEstablished(const IPC::ChannelHandle& channel_handle);
+ void OnSynchronizeReply(int renderer_id);
void ReplyToRenderer(int renderer_id,
const IPC::ChannelHandle& channel);
@@ -104,6 +109,9 @@
// because the queued messages may have dependencies on the init messages.
std::queue<IPC::Message*> queued_messages_;
+ // The pending synchronization requests we need to reply to.
+ std::queue<IPC::Message*> queued_synchronization_replies_;
+
DISALLOW_COPY_AND_ASSIGN(GpuProcessHost);
};
« no previous file with comments | « no previous file | chrome/browser/gpu_process_host.cc » ('j') | chrome/renderer/renderer_webkitclient_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698