OLD | NEW |
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_COMMON_COMMAND_BUFFER_H_ | 5 #ifndef GPU_COMMAND_BUFFER_COMMON_COMMAND_BUFFER_H_ |
6 #define GPU_COMMAND_BUFFER_COMMON_COMMAND_BUFFER_H_ | 6 #define GPU_COMMAND_BUFFER_COMMON_COMMAND_BUFFER_H_ |
7 | 7 |
8 #include "../../gpu_export.h" | 8 #include "gpu/command_buffer/common/buffer.h" |
9 #include "../common/buffer.h" | 9 #include "gpu/command_buffer/common/constants.h" |
10 #include "../common/constants.h" | 10 #include "gpu/gpu_export.h" |
11 | 11 |
12 namespace base { | 12 namespace base { |
13 class SharedMemory; | 13 class SharedMemory; |
14 } | 14 } |
15 | 15 |
16 namespace gpu { | 16 namespace gpu { |
17 | 17 |
18 // Common interface for CommandBuffer implementations. | 18 // Common interface for CommandBuffer implementations. |
19 class GPU_EXPORT CommandBuffer { | 19 class GPU_EXPORT CommandBuffer { |
20 public: | 20 public: |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 // be used for cross-context synchronization. | 145 // be used for cross-context synchronization. |
146 virtual uint32 InsertSyncPoint() = 0; | 146 virtual uint32 InsertSyncPoint() = 0; |
147 | 147 |
148 private: | 148 private: |
149 DISALLOW_COPY_AND_ASSIGN(CommandBuffer); | 149 DISALLOW_COPY_AND_ASSIGN(CommandBuffer); |
150 }; | 150 }; |
151 | 151 |
152 } // namespace gpu | 152 } // namespace gpu |
153 | 153 |
154 #endif // GPU_COMMAND_BUFFER_COMMON_COMMAND_BUFFER_H_ | 154 #endif // GPU_COMMAND_BUFFER_COMMON_COMMAND_BUFFER_H_ |
OLD | NEW |