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

Side by Side Diff: chrome/common/gpu_messages_internal.h

Issue 1546001: Split GpuProcessHost into GpuProcessHostUIShim, which runs on the UI... (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/common/sandbox_policy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. It is included by backing_store_messages_internal.h 6 // header guard. It is included by backing_store_messages_internal.h
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 // This file needs to be included again, even though we're actually included 9 // This file needs to be included again, even though we're actually included
10 // from it via utility_messages.h. 10 // from it via utility_messages.h.
(...skipping 13 matching lines...) Expand all
24 // the GPU process reuses an existing channel to that process if it exists. 24 // the GPU process reuses an existing channel to that process if it exists.
25 // This ID is a unique opaque identifier generated by the browser process. 25 // This ID is a unique opaque identifier generated by the browser process.
26 IPC_MESSAGE_CONTROL1(GpuMsg_EstablishChannel, 26 IPC_MESSAGE_CONTROL1(GpuMsg_EstablishChannel,
27 int /* renderer_id */) 27 int /* renderer_id */)
28 28
29 // Provides a synchronization point to guarantee that the processing of 29 // Provides a synchronization point to guarantee that the processing of
30 // previous asynchronous messages (i.e., GpuMsg_EstablishChannel) has 30 // previous asynchronous messages (i.e., GpuMsg_EstablishChannel) has
31 // completed. (This message can't be synchronous because the 31 // completed. (This message can't be synchronous because the
32 // GpuProcessHost uses an IPC::ChannelProxy, which sends all messages 32 // GpuProcessHost uses an IPC::ChannelProxy, which sends all messages
33 // asynchronously.) Results in a GpuHostMsg_SynchronizeReply. 33 // asynchronously.) Results in a GpuHostMsg_SynchronizeReply.
34 IPC_MESSAGE_CONTROL1(GpuMsg_Synchronize, 34 IPC_MESSAGE_CONTROL0(GpuMsg_Synchronize)
35 int /* renderer_id */)
36 35
37 IPC_MESSAGE_CONTROL2(GpuMsg_NewRenderWidgetHostView, 36 IPC_MESSAGE_CONTROL2(GpuMsg_NewRenderWidgetHostView,
38 GpuNativeWindowHandle, /* parent window */ 37 GpuNativeWindowHandle, /* parent window */
39 int32 /* view_id */) 38 int32 /* view_id */)
40 39
41 // Creates a new backing store. 40 // Creates a new backing store.
42 IPC_MESSAGE_ROUTED2(GpuMsg_NewBackingStore, 41 IPC_MESSAGE_ROUTED2(GpuMsg_NewBackingStore,
43 int32, /* backing_store_routing_id */ 42 int32, /* backing_store_routing_id */
44 gfx::Size /* size */) 43 gfx::Size /* size */)
45 44
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 IPC_MESSAGE_ROUTED0(GpuHostMsg_PaintToBackingStore_ACK) 92 IPC_MESSAGE_ROUTED0(GpuHostMsg_PaintToBackingStore_ACK)
94 93
95 // Sent in response to GpuMsg_PaintToVideoLayer, see that for more. 94 // Sent in response to GpuMsg_PaintToVideoLayer, see that for more.
96 IPC_MESSAGE_ROUTED0(GpuHostMsg_PaintToVideoLayer_ACK) 95 IPC_MESSAGE_ROUTED0(GpuHostMsg_PaintToVideoLayer_ACK)
97 96
98 // Response to a GpuHostMsg_EstablishChannel message. 97 // Response to a GpuHostMsg_EstablishChannel message.
99 IPC_MESSAGE_CONTROL1(GpuHostMsg_ChannelEstablished, 98 IPC_MESSAGE_CONTROL1(GpuHostMsg_ChannelEstablished,
100 IPC::ChannelHandle /* channel_handle */) 99 IPC::ChannelHandle /* channel_handle */)
101 100
102 // Response to a GpuMsg_Synchronize message. 101 // Response to a GpuMsg_Synchronize message.
103 IPC_MESSAGE_CONTROL1(GpuHostMsg_SynchronizeReply, 102 IPC_MESSAGE_CONTROL0(GpuHostMsg_SynchronizeReply)
104 int /* renderer_id */)
105 103
106 IPC_END_MESSAGES(GpuHost) 104 IPC_END_MESSAGES(GpuHost)
107 105
108 //------------------------------------------------------------------------------ 106 //------------------------------------------------------------------------------
109 // GPU Channel Messages 107 // GPU Channel Messages
110 // These are messages from a renderer process to the GPU process. 108 // These are messages from a renderer process to the GPU process.
111 IPC_BEGIN_MESSAGES(GpuChannel) 109 IPC_BEGIN_MESSAGES(GpuChannel)
112 110
113 // Tells the GPU process to create a new command buffer that renders directly 111 // Tells the GPU process to create a new command buffer that renders directly
114 // to a native view. A corresponding GpuCommandBufferStub is created. 112 // to a native view. A corresponding GpuCommandBufferStub is created.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // true cross-process window hierarchy. For this reason we must send 201 // true cross-process window hierarchy. For this reason we must send
204 // resize events explicitly to the command buffer stub so it can 202 // resize events explicitly to the command buffer stub so it can
205 // reallocate its backing store and send the new one back to the 203 // reallocate its backing store and send the new one back to the
206 // browser. This message is currently used only on 10.6 and later. 204 // browser. This message is currently used only on 10.6 and later.
207 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SetWindowSize, 205 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SetWindowSize,
208 int32 /* width */, 206 int32 /* width */,
209 int32 /* height */) 207 int32 /* height */)
210 #endif 208 #endif
211 209
212 IPC_END_MESSAGES(GpuCommandBuffer) 210 IPC_END_MESSAGES(GpuCommandBuffer)
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/common/sandbox_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698