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

Side by Side Diff: gpu/command_buffer/client/transfer_buffer.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
« no previous file with comments | « gpu/command_buffer/client/share_group.cc ('k') | gpu/command_buffer/client/transfer_buffer.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) 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 #ifndef GPU_COMMAND_BUFFER_CLIENT_TRANSFER_BUFFER_H_ 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_TRANSFER_BUFFER_H_
6 #define GPU_COMMAND_BUFFER_CLIENT_TRANSFER_BUFFER_H_ 6 #define GPU_COMMAND_BUFFER_CLIENT_TRANSFER_BUFFER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "../../gpu_export.h" 9 #include "gpu/command_buffer/client/ring_buffer.h"
10 #include "../common/buffer.h" 10 #include "gpu/command_buffer/common/buffer.h"
11 #include "../common/compiler_specific.h" 11 #include "gpu/command_buffer/common/compiler_specific.h"
12 #include "../common/gles2_cmd_utils.h" 12 #include "gpu/command_buffer/common/gles2_cmd_utils.h"
13 #include "../client/ring_buffer.h" 13 #include "gpu/gpu_export.h"
14 14
15 namespace gpu { 15 namespace gpu {
16 16
17 class CommandBufferHelper; 17 class CommandBufferHelper;
18 18
19 // Wraps RingBufferWrapper to provide aligned allocations. 19 // Wraps RingBufferWrapper to provide aligned allocations.
20 class AlignedRingBuffer : public RingBufferWrapper { 20 class AlignedRingBuffer : public RingBufferWrapper {
21 public: 21 public:
22 AlignedRingBuffer( 22 AlignedRingBuffer(
23 unsigned int alignment, 23 unsigned int alignment,
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 } 224 }
225 225
226 unsigned int num_elements() const { 226 unsigned int num_elements() const {
227 return size() / sizeof(T); 227 return size() / sizeof(T);
228 } 228 }
229 }; 229 };
230 230
231 } // namespace gpu 231 } // namespace gpu
232 232
233 #endif // GPU_COMMAND_BUFFER_CLIENT_TRANSFER_BUFFER_H_ 233 #endif // GPU_COMMAND_BUFFER_CLIENT_TRANSFER_BUFFER_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/share_group.cc ('k') | gpu/command_buffer/client/transfer_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698