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

Unified Diff: chrome/common/command_buffer_messages_internal.h

Issue 555020: Redesigned CommandBuffer and NPDevice3D interfaces (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/command_buffer_messages.h ('k') | chrome/plugin/command_buffer_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/command_buffer_messages_internal.h
===================================================================
--- chrome/common/command_buffer_messages_internal.h (revision 37414)
+++ chrome/common/command_buffer_messages_internal.h (working copy)
@@ -13,24 +13,17 @@
int32 /* size */,
base::SharedMemoryHandle /* ring_buffer */)
- // Get the number of command entries in the command buffer.
- IPC_SYNC_MESSAGE_ROUTED0_1(CommandBufferMsg_GetSize,
- int32 /* size */)
+ // Get the current state of the command buffer, optionally reseting the
+ // parse error.
+ IPC_SYNC_MESSAGE_ROUTED0_1(CommandBufferMsg_GetState,
+ gpu::CommandBuffer::State /* state */)
// Synchronize the put and get offsets of both processes. Caller passes its
// current put offset. Current get offset is returned.
- IPC_SYNC_MESSAGE_ROUTED1_1(CommandBufferMsg_SyncOffsets,
+ IPC_SYNC_MESSAGE_ROUTED1_1(CommandBufferMsg_Flush,
int32 /* put_offset */,
- int32 /* get_offset */)
+ gpu::CommandBuffer::State /* state */)
- // Get the current get offset.
- IPC_SYNC_MESSAGE_ROUTED0_1(CommandBufferMsg_GetGetOffset,
- int32 /* get_offset */)
-
- // Get the current put offset.
- IPC_SYNC_MESSAGE_ROUTED0_1(CommandBufferMsg_GetPutOffset,
- int32 /* put_offset */)
-
// Create a shared memory transfer buffer. Returns an id that can be used to
// identify the transfer buffer from a comment.
IPC_SYNC_MESSAGE_ROUTED1_1(CommandBufferMsg_CreateTransferBuffer,
@@ -48,19 +41,4 @@
base::SharedMemoryHandle /* transfer_buffer */,
size_t /* size */)
- // Get the most recently processed token. Used for implementing fences.
- IPC_SYNC_MESSAGE_ROUTED0_1(CommandBufferMsg_GetToken,
- int32 /* token */)
-
- // Get the current parse error. Calling this resets the parse error if it is
- // recoverable.
- // TODO(apatrick): Switch to the parse_error::ParseError enum now that NPAPI
- // no longer limits to restricted set of datatypes.
- IPC_SYNC_MESSAGE_ROUTED0_1(CommandBufferMsg_ResetParseError,
- int32 /* parse_error */)
-
- // Get the current error status.
- IPC_SYNC_MESSAGE_ROUTED0_1(CommandBufferMsg_GetErrorStatus,
- bool /* status */)
-
IPC_END_MESSAGES(CommandBuffer)
« no previous file with comments | « chrome/common/command_buffer_messages.h ('k') | chrome/plugin/command_buffer_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698