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

Side by Side Diff: gpu/command_buffer/client/cmd_buffer_helper.h

Issue 519020: Moved logging for NaCl environment from gpu/command_buffer/common/logging.h t... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 12 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 | « base/nacl_logging.h ('k') | gpu/command_buffer/client/fenced_allocator.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 // This file contains the command buffer helper class. 5 // This file contains the command buffer helper class.
6 6
7 #ifndef GPU_COMMAND_BUFFER_CLIENT_CMD_BUFFER_HELPER_H_ 7 #ifndef GPU_COMMAND_BUFFER_CLIENT_CMD_BUFFER_HELPER_H_
8 #define GPU_COMMAND_BUFFER_CLIENT_CMD_BUFFER_HELPER_H_ 8 #define GPU_COMMAND_BUFFER_CLIENT_CMD_BUFFER_HELPER_H_
9 9
10 #include "gpu/command_buffer/common/logging.h" 10 #include "base/logging.h"
11 #include "gpu/command_buffer/common/constants.h" 11 #include "gpu/command_buffer/common/constants.h"
12 #include "gpu/command_buffer/common/cmd_buffer_common.h" 12 #include "gpu/command_buffer/common/cmd_buffer_common.h"
13 #include "gpu/command_buffer/common/command_buffer.h" 13 #include "gpu/command_buffer/common/command_buffer.h"
14 14
15 namespace gpu { 15 namespace gpu {
16 16
17 // Command buffer helper class. This class simplifies ring buffer management: 17 // Command buffer helper class. This class simplifies ring buffer management:
18 // it will allocate the buffer, give it to the buffer interface, and let the 18 // it will allocate the buffer, give it to the buffer interface, and let the
19 // user add commands to it, while taking care of the synchronization (put and 19 // user add commands to it, while taking care of the synchronization (put and
20 // get). It also provides a way to ensure commands have been executed, through 20 // get). It also provides a way to ensure commands have been executed, through
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 int32 get_; 179 int32 get_;
180 int32 put_; 180 int32 put_;
181 181
182 friend class CommandBufferHelperTest; 182 friend class CommandBufferHelperTest;
183 DISALLOW_COPY_AND_ASSIGN(CommandBufferHelper); 183 DISALLOW_COPY_AND_ASSIGN(CommandBufferHelper);
184 }; 184 };
185 185
186 } // namespace gpu 186 } // namespace gpu
187 187
188 #endif // GPU_COMMAND_BUFFER_CLIENT_CMD_BUFFER_HELPER_H_ 188 #endif // GPU_COMMAND_BUFFER_CLIENT_CMD_BUFFER_HELPER_H_
OLDNEW
« no previous file with comments | « base/nacl_logging.h ('k') | gpu/command_buffer/client/fenced_allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698