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

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

Issue 737943002: Update from https://crrev.com/304715 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation.h ('k') | gpu/command_buffer/service/BUILD.gn » ('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_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
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
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation.h ('k') | gpu/command_buffer/service/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698