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

Side by Side Diff: command_buffer/common/cross/buffer_sync_api.h

Issue 200127: Made gyp file for command buffer libraries.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 3 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 | « command_buffer/command_buffer.gyp ('k') | command_buffer/common/cross/resource.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 /* 1 /*
2 * Copyright 2009, Google Inc. 2 * Copyright 2009, Google Inc.
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 23 matching lines...) Expand all
34 34
35 #ifndef O3D_COMMAND_BUFFER_COMMON_CROSS_BUFFER_SYNC_API_H_ 35 #ifndef O3D_COMMAND_BUFFER_COMMON_CROSS_BUFFER_SYNC_API_H_
36 #define O3D_COMMAND_BUFFER_COMMON_CROSS_BUFFER_SYNC_API_H_ 36 #define O3D_COMMAND_BUFFER_COMMON_CROSS_BUFFER_SYNC_API_H_
37 37
38 #include "command_buffer/common/cross/rpc.h" 38 #include "command_buffer/common/cross/rpc.h"
39 39
40 namespace o3d { 40 namespace o3d {
41 namespace command_buffer { 41 namespace command_buffer {
42 42
43 // Command buffer type. 43 // Command buffer type.
44 typedef ptrdiff_t CommandBufferOffset; 44 typedef size_t CommandBufferOffset;
45 45
46 // Interface class for the Command Buffer Synchronous API. 46 // Interface class for the Command Buffer Synchronous API.
47 // This is the part of the command buffer API that is accessible through the 47 // This is the part of the command buffer API that is accessible through the
48 // RPC mechanism, synchronously. 48 // RPC mechanism, synchronously.
49 class BufferSyncInterface { 49 class BufferSyncInterface {
50 public: 50 public:
51 // Status of the command buffer service. It does not process commands 51 // Status of the command buffer service. It does not process commands
52 // (meaning: get will not change) unless in PARSING state. 52 // (meaning: get will not change) unless in PARSING state.
53 enum ParserStatus { 53 enum ParserStatus {
54 NOT_CONNECTED, // The service is not connected - initial state. 54 NOT_CONNECTED, // The service is not connected - initial state.
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 // encountered. Getting the error resets it to PARSE_NO_ERROR. 159 // encountered. Getting the error resets it to PARSE_NO_ERROR.
160 // Returns: 160 // Returns:
161 // The current parse error. 161 // The current parse error.
162 virtual ParseError GetParseError() = 0; 162 virtual ParseError GetParseError() = 0;
163 }; 163 };
164 164
165 } // namespace command_buffer 165 } // namespace command_buffer
166 } // namespace o3d 166 } // namespace o3d
167 167
168 #endif // O3D_COMMAND_BUFFER_COMMON_CROSS_BUFFER_SYNC_API_H_ 168 #endif // O3D_COMMAND_BUFFER_COMMON_CROSS_BUFFER_SYNC_API_H_
OLDNEW
« no previous file with comments | « command_buffer/command_buffer.gyp ('k') | command_buffer/common/cross/resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698