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

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

Issue 15938002: Get rid of the relative paths in command_buffer client/common (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <string.h> 10 #include <string.h>
11 #include <time.h> 11 #include <time.h>
12 12
13 #include "../../gpu_export.h" 13 #include "gpu/command_buffer/common/cmd_buffer_common.h"
14 #include "../common/logging.h" 14 #include "gpu/command_buffer/common/command_buffer.h"
15 #include "../common/constants.h" 15 #include "gpu/command_buffer/common/constants.h"
16 #include "../common/cmd_buffer_common.h" 16 #include "gpu/command_buffer/common/logging.h"
17 #include "../common/command_buffer.h" 17 #include "gpu/gpu_export.h"
18 18
19 namespace gpu { 19 namespace gpu {
20 20
21 // Command buffer helper class. This class simplifies ring buffer management: 21 // Command buffer helper class. This class simplifies ring buffer management:
22 // it will allocate the buffer, give it to the buffer interface, and let the 22 // it will allocate the buffer, give it to the buffer interface, and let the
23 // user add commands to it, while taking care of the synchronization (put and 23 // user add commands to it, while taking care of the synchronization (put and
24 // get). It also provides a way to ensure commands have been executed, through 24 // get). It also provides a way to ensure commands have been executed, through
25 // the token mechanism: 25 // the token mechanism:
26 // 26 //
27 // helper.AddCommand(...); 27 // helper.AddCommand(...);
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 // Using C runtime instead of base because this file cannot depend on base. 264 // Using C runtime instead of base because this file cannot depend on base.
265 clock_t last_flush_time_; 265 clock_t last_flush_time_;
266 266
267 friend class CommandBufferHelperTest; 267 friend class CommandBufferHelperTest;
268 DISALLOW_COPY_AND_ASSIGN(CommandBufferHelper); 268 DISALLOW_COPY_AND_ASSIGN(CommandBufferHelper);
269 }; 269 };
270 270
271 } // namespace gpu 271 } // namespace gpu
272 272
273 #endif // GPU_COMMAND_BUFFER_CLIENT_CMD_BUFFER_HELPER_H_ 273 #endif // GPU_COMMAND_BUFFER_CLIENT_CMD_BUFFER_HELPER_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/client_context_state.cc ('k') | gpu/command_buffer/client/cmd_buffer_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698