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

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

Issue 367002: Added Pepper 3D render context that instantiates the GPU plugin.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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/common/chrome_switches.cc ('k') | chrome/common/gpu_plugin.h » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "base/shared_memory.h" 5 #include "base/shared_memory.h"
6 #include "ipc/ipc_message_macros.h" 6 #include "ipc/ipc_message_macros.h"
7 7
8 IPC_BEGIN_MESSAGES(CommandBuffer) 8 IPC_BEGIN_MESSAGES(CommandBuffer)
9 // Initialize a command buffer with the given number of command entries. 9 // Initialize a command buffer with the given number of command entries.
10 // Returns the shared memory handle for the command buffer mapped to the 10 // Returns the shared memory handle for the command buffer mapped to the
(...skipping 25 matching lines...) Expand all
36 IPC_SYNC_MESSAGE_ROUTED1_1(CommandBufferMsg_CreateTransferBuffer, 36 IPC_SYNC_MESSAGE_ROUTED1_1(CommandBufferMsg_CreateTransferBuffer,
37 int32 /* size */, 37 int32 /* size */,
38 int32 /* id */) 38 int32 /* id */)
39 39
40 // Destroy a previously created transfer buffer. 40 // Destroy a previously created transfer buffer.
41 IPC_SYNC_MESSAGE_ROUTED1_0(CommandBufferMsg_DestroyTransferBuffer, 41 IPC_SYNC_MESSAGE_ROUTED1_0(CommandBufferMsg_DestroyTransferBuffer,
42 int32 /* id */) 42 int32 /* id */)
43 43
44 // Get the shared memory handle for a transfer buffer mapped to the callers 44 // Get the shared memory handle for a transfer buffer mapped to the callers
45 // process. 45 // process.
46 IPC_SYNC_MESSAGE_ROUTED1_1(CommandBufferMsg_GetTransferBuffer, 46 IPC_SYNC_MESSAGE_ROUTED1_2(CommandBufferMsg_GetTransferBuffer,
47 int32 /* id */, 47 int32 /* id */,
48 base::SharedMemoryHandle /* transfer_buffer */) 48 base::SharedMemoryHandle /* transfer_buffer */,
49 size_t /* size */)
49 50
50 // Get the most recently processed token. Used for implementing fences. 51 // Get the most recently processed token. Used for implementing fences.
51 IPC_SYNC_MESSAGE_ROUTED0_1(CommandBufferMsg_GetToken, 52 IPC_SYNC_MESSAGE_ROUTED0_1(CommandBufferMsg_GetToken,
52 int32 /* token */) 53 int32 /* token */)
53 54
54 // Get the current parse error. Calling this resets the parse error if it is 55 // Get the current parse error. Calling this resets the parse error if it is
55 // recoverable. 56 // recoverable.
56 // TODO(apatrick): Switch to the parse_error::ParseError enum now that NPAPI 57 // TODO(apatrick): Switch to the parse_error::ParseError enum now that NPAPI
57 // no longer limits to restricted set of datatypes. 58 // no longer limits to restricted set of datatypes.
58 IPC_SYNC_MESSAGE_ROUTED0_1(CommandBufferMsg_ResetParseError, 59 IPC_SYNC_MESSAGE_ROUTED0_1(CommandBufferMsg_ResetParseError,
59 int32 /* parse_error */) 60 int32 /* parse_error */)
60 61
61 // Get the current error status. 62 // Get the current error status.
62 IPC_SYNC_MESSAGE_ROUTED0_1(CommandBufferMsg_GetErrorStatus, 63 IPC_SYNC_MESSAGE_ROUTED0_1(CommandBufferMsg_GetErrorStatus,
63 bool /* status */) 64 bool /* status */)
64 65
65 IPC_END_MESSAGES(CommandBuffer) 66 IPC_END_MESSAGES(CommandBuffer)
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/common/gpu_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698