| 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 |
| 10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 GLsizei array_buffer_offset_; | 110 GLsizei array_buffer_offset_; |
| 111 GLuint element_array_buffer_id_; | 111 GLuint element_array_buffer_id_; |
| 112 GLsizei element_array_buffer_size_; | 112 GLsizei element_array_buffer_size_; |
| 113 GLsizei collection_buffer_size_; | 113 GLsizei collection_buffer_size_; |
| 114 scoped_ptr<int8[]> collection_buffer_; | 114 scoped_ptr<int8[]> collection_buffer_; |
| 115 | 115 |
| 116 VertexArrayObject* default_vertex_array_object_; | 116 VertexArrayObject* default_vertex_array_object_; |
| 117 VertexArrayObject* bound_vertex_array_object_; | 117 VertexArrayObject* bound_vertex_array_object_; |
| 118 VertexArrayObjectMap vertex_array_objects_; | 118 VertexArrayObjectMap vertex_array_objects_; |
| 119 | 119 |
| 120 bool support_client_side_arrays_; | 120 const bool support_client_side_arrays_; |
| 121 | 121 |
| 122 DISALLOW_COPY_AND_ASSIGN(VertexArrayObjectManager); | 122 DISALLOW_COPY_AND_ASSIGN(VertexArrayObjectManager); |
| 123 }; | 123 }; |
| 124 | 124 |
| 125 } // namespace gles2 | 125 } // namespace gles2 |
| 126 } // namespace gpu | 126 } // namespace gpu |
| 127 | 127 |
| 128 #endif // GPU_COMMAND_BUFFER_CLIENT_VERTEX_ARRAY_OBJECT_MANAGER_H_ | 128 #endif // GPU_COMMAND_BUFFER_CLIENT_VERTEX_ARRAY_OBJECT_MANAGER_H_ |
| 129 | 129 |
| OLD | NEW |