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

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

Issue 9619017: Fix context sharing between channels to be order-independent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « content/common/gpu/gpu_channel_manager.cc ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Multiply-included message file, hence no include guard here, but see below 5 // Multiply-included message file, hence no include guard here, but see below
6 // for a much smaller-than-usual include guard section. 6 // for a much smaller-than-usual include guard section.
7 7
8 #include <vector> 8 #include <vector>
9 #include <string> 9 #include <string>
10 10
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // exiting abruptly is predicated on having the IPC channel set up. 143 // exiting abruptly is predicated on having the IPC channel set up.
144 IPC_MESSAGE_CONTROL0(GpuMsg_Initialize) 144 IPC_MESSAGE_CONTROL0(GpuMsg_Initialize)
145 145
146 // Tells the GPU process to create a new channel for communication with a 146 // Tells the GPU process to create a new channel for communication with a
147 // given client. The channel name is returned in a 147 // given client. The channel name is returned in a
148 // GpuHostMsg_ChannelEstablished message. The client ID is passed so that 148 // GpuHostMsg_ChannelEstablished message. The client ID is passed so that
149 // the GPU process reuses an existing channel to that process if it exists. 149 // the GPU process reuses an existing channel to that process if it exists.
150 // This ID is a unique opaque identifier generated by the browser process. 150 // This ID is a unique opaque identifier generated by the browser process.
151 IPC_MESSAGE_CONTROL2(GpuMsg_EstablishChannel, 151 IPC_MESSAGE_CONTROL2(GpuMsg_EstablishChannel,
152 int /* client_id */, 152 int /* client_id */,
153 int /* share_client_id */) 153 bool /* share_context */)
154 154
155 // Tells the GPU process to close the channel identified by IPC channel 155 // Tells the GPU process to close the channel identified by IPC channel
156 // handle. If no channel can be identified, do nothing. 156 // handle. If no channel can be identified, do nothing.
157 IPC_MESSAGE_CONTROL1(GpuMsg_CloseChannel, 157 IPC_MESSAGE_CONTROL1(GpuMsg_CloseChannel,
158 IPC::ChannelHandle /* channel_handle */) 158 IPC::ChannelHandle /* channel_handle */)
159 159
160 // Tells the GPU process to create a new command buffer that renders directly 160 // Tells the GPU process to create a new command buffer that renders directly
161 // to a native view. A corresponding GpuCommandBufferStub is created. 161 // to a native view. A corresponding GpuCommandBufferStub is created.
162 IPC_MESSAGE_CONTROL4(GpuMsg_CreateViewCommandBuffer, 162 IPC_MESSAGE_CONTROL4(GpuMsg_CreateViewCommandBuffer,
163 gfx::GLSurfaceHandle, /* compositing_surface */ 163 gfx::GLSurfaceHandle, /* compositing_surface */
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 494
495 // Confirm decoder has been flushed. 495 // Confirm decoder has been flushed.
496 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) 496 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone)
497 497
498 // Confirm decoder has been reset. 498 // Confirm decoder has been reset.
499 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 499 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
500 500
501 // Video decoder has encountered an error. 501 // Video decoder has encountered an error.
502 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 502 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
503 uint32) /* Error ID */ 503 uint32) /* Error ID */
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_channel_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698