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

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

Issue 558035: [GPU] Get GPU process running on the mac... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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_renderer.gypi ('k') | chrome/common/gpu_plugin.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) 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 23 matching lines...) Expand all
34 IPC_SYNC_MESSAGE_ROUTED1_0(CommandBufferMsg_DestroyTransferBuffer, 34 IPC_SYNC_MESSAGE_ROUTED1_0(CommandBufferMsg_DestroyTransferBuffer,
35 int32 /* id */) 35 int32 /* id */)
36 36
37 // Get the shared memory handle for a transfer buffer mapped to the callers 37 // Get the shared memory handle for a transfer buffer mapped to the callers
38 // process. 38 // process.
39 IPC_SYNC_MESSAGE_ROUTED1_2(CommandBufferMsg_GetTransferBuffer, 39 IPC_SYNC_MESSAGE_ROUTED1_2(CommandBufferMsg_GetTransferBuffer,
40 int32 /* id */, 40 int32 /* id */,
41 base::SharedMemoryHandle /* transfer_buffer */, 41 base::SharedMemoryHandle /* transfer_buffer */,
42 size_t /* size */) 42 size_t /* size */)
43 43
44 #if defined(OS_MACOSX)
45 // On Mac OS X the GPU plugin must be offscreen, because there is no
46 // true cross-process window hierarchy. For this reason we must send
47 // resize events explicitly to the command buffer stub so it can
48 // reallocate its backing store and send the new one back to the
49 // browser. This message is currently used only on 10.6 and later.
50 IPC_MESSAGE_ROUTED2(CommandBufferMsg_SetWindowSize,
51 int32 /* width */,
52 int32 /* height */)
53 #endif
54
44 IPC_END_MESSAGES(CommandBuffer) 55 IPC_END_MESSAGES(CommandBuffer)
OLDNEW
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/common/gpu_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698