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

Side by Side Diff: content/common/gpu/gpu_messages.h

Issue 7136001: GPU compositing surface handle is no longer sent to renderer process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include <vector> 5 #include <vector>
6 #include <string> 6 #include <string>
7 7
8 8
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/common_param_traits.h" 10 #include "content/common/common_param_traits.h"
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 // process. The browser will create the GPU process if necessary, and will 157 // process. The browser will create the GPU process if necessary, and will
158 // return a handle to the channel via a GpuChannelEstablished message. 158 // return a handle to the channel via a GpuChannelEstablished message.
159 IPC_SYNC_MESSAGE_CONTROL1_3(GpuHostMsg_EstablishGpuChannel, 159 IPC_SYNC_MESSAGE_CONTROL1_3(GpuHostMsg_EstablishGpuChannel,
160 content::CauseForGpuLaunch, 160 content::CauseForGpuLaunch,
161 IPC::ChannelHandle /* handle to channel */, 161 IPC::ChannelHandle /* handle to channel */,
162 base::ProcessHandle /* renderer_process_for_gpu */, 162 base::ProcessHandle /* renderer_process_for_gpu */,
163 GPUInfo /* stats about GPU process*/) 163 GPUInfo /* stats about GPU process*/)
164 164
165 // A renderer sends this to the browser process when it wants to 165 // A renderer sends this to the browser process when it wants to
166 // create a GL context associated with the given view_id. 166 // create a GL context associated with the given view_id.
167 IPC_SYNC_MESSAGE_CONTROL3_1(GpuHostMsg_CreateViewCommandBuffer, 167 IPC_SYNC_MESSAGE_CONTROL2_1(GpuHostMsg_CreateViewCommandBuffer,
168 gfx::PluginWindowHandle, /* view */
169 int32, /* render_view_id */ 168 int32, /* render_view_id */
170 GPUCreateCommandBufferConfig, /* init_params */ 169 GPUCreateCommandBufferConfig, /* init_params */
171 int32 /* route_id */) 170 int32 /* route_id */)
172 171
173 // Response from GPU to a GpuHostMsg_EstablishChannel message. 172 // Response from GPU to a GpuHostMsg_EstablishChannel message.
174 IPC_MESSAGE_CONTROL1(GpuHostMsg_ChannelEstablished, 173 IPC_MESSAGE_CONTROL1(GpuHostMsg_ChannelEstablished,
175 IPC::ChannelHandle /* channel_handle */) 174 IPC::ChannelHandle /* channel_handle */)
176 175
177 // Respond from GPU to a GpuMsg_CreateViewCommandBuffer message. 176 // Respond from GPU to a GpuMsg_CreateViewCommandBuffer message.
178 IPC_MESSAGE_CONTROL1(GpuHostMsg_CommandBufferCreated, 177 IPC_MESSAGE_CONTROL1(GpuHostMsg_CommandBufferCreated,
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 490
492 // Confirm decoder has been aborted. 491 // Confirm decoder has been aborted.
493 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_AbortDone) 492 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_AbortDone)
494 493
495 // Decoder has faced end of stream marker in the stream. 494 // Decoder has faced end of stream marker in the stream.
496 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) 495 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream)
497 496
498 // Video decoder has encountered an error. 497 // Video decoder has encountered an error.
499 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 498 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
500 uint32) /* Error ID */ 499 uint32) /* Error ID */
OLDNEW
« no previous file with comments | « content/browser/tab_contents/render_view_host_manager.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698