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

Unified Diff: chrome/common/gpu_messages_internal.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
Index: chrome/common/gpu_messages_internal.h
===================================================================
--- chrome/common/gpu_messages_internal.h (revision 42776)
+++ chrome/common/gpu_messages_internal.h (working copy)
@@ -26,6 +26,14 @@
IPC_MESSAGE_CONTROL1(GpuMsg_EstablishChannel,
int /* renderer_id */)
+ // Provides a synchronization point to guarantee that the processing of
+ // previous asynchronous messages (i.e., GpuMsg_EstablishChannel) has
+ // completed. (This message can't be synchronous because the
+ // GpuProcessHost uses an IPC::ChannelProxy, which sends all messages
+ // asynchronously.) Results in a GpuHostMsg_SynchronizeReply.
+ IPC_MESSAGE_CONTROL1(GpuMsg_Synchronize,
+ int /* renderer_id */)
+
IPC_MESSAGE_CONTROL2(GpuMsg_NewRenderWidgetHostView,
GpuNativeWindowHandle, /* parent window */
int32 /* view_id */)
@@ -90,6 +98,11 @@
// Response to a GpuHostMsg_EstablishChannel message.
IPC_MESSAGE_CONTROL1(GpuHostMsg_ChannelEstablished,
IPC::ChannelHandle /* channel_handle */)
+
+ // Response to a GpuMsg_Synchronize message.
+ IPC_MESSAGE_CONTROL1(GpuHostMsg_SynchronizeReply,
+ int /* renderer_id */)
+
IPC_END_MESSAGES(GpuHost)
//------------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698