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_CLIENT_VERTEX_ARRAY_OBJECT_MANAGER_H_ | 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_VERTEX_ARRAY_OBJECT_MANAGER_H_ |
6 #define GPU_COMMAND_BUFFER_CLIENT_VERTEX_ARRAY_OBJECT_MANAGER_H_ | 6 #define GPU_COMMAND_BUFFER_CLIENT_VERTEX_ARRAY_OBJECT_MANAGER_H_ |
7 | 7 |
8 #include <GLES2/gl2.h> | 8 #include <GLES2/gl2.h> |
| 9 |
9 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
| 11 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
11 #include "gles2_impl_export.h" | 13 #include "gles2_impl_export.h" |
12 #include "gpu/command_buffer/common/types.h" | |
13 | 14 |
14 namespace gpu { | 15 namespace gpu { |
15 namespace gles2 { | 16 namespace gles2 { |
16 | 17 |
17 class GLES2Implementation; | 18 class GLES2Implementation; |
18 class GLES2CmdHelper; | 19 class GLES2CmdHelper; |
19 class VertexArrayObject; | 20 class VertexArrayObject; |
20 | 21 |
21 // VertexArrayObjectManager manages vertex array objects on the client side | 22 // VertexArrayObjectManager manages vertex array objects on the client side |
22 // of the command buffer. | 23 // of the command buffer. |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 VertexArrayObjectMap vertex_array_objects_; | 117 VertexArrayObjectMap vertex_array_objects_; |
117 | 118 |
118 DISALLOW_COPY_AND_ASSIGN(VertexArrayObjectManager); | 119 DISALLOW_COPY_AND_ASSIGN(VertexArrayObjectManager); |
119 }; | 120 }; |
120 | 121 |
121 } // namespace gles2 | 122 } // namespace gles2 |
122 } // namespace gpu | 123 } // namespace gpu |
123 | 124 |
124 #endif // GPU_COMMAND_BUFFER_CLIENT_VERTEX_ARRAY_OBJECT_MANAGER_H_ | 125 #endif // GPU_COMMAND_BUFFER_CLIENT_VERTEX_ARRAY_OBJECT_MANAGER_H_ |
125 | 126 |
OLD | NEW |