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

Side by Side Diff: gpu/command_buffer/service/vertex_attrib_manager.h

Issue 11130005: Move per context GL state to a separate object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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
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_SERVICE_VERTEX_ATTRIB_MANAGER_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_VERTEX_ATTRIB_MANAGER_H_
7
5 #include <list> 8 #include <list>
6 #include "base/logging.h" 9 #include "base/logging.h"
7 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
8 #include "build/build_config.h" 11 #include "build/build_config.h"
9 #include "gpu/command_buffer/service/buffer_manager.h" 12 #include "gpu/command_buffer/service/buffer_manager.h"
10 #include "gpu/command_buffer/service/gl_utils.h" 13 #include "gpu/command_buffer/service/gl_utils.h"
11 #include "gpu/gpu_export.h" 14 #include "gpu/gpu_export.h"
12 15
13 namespace gpu { 16 namespace gpu {
14 namespace gles2 { 17 namespace gles2 {
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 294
292 // True if deleted. 295 // True if deleted.
293 bool deleted_; 296 bool deleted_;
294 297
295 // Service side vertex array object id. 298 // Service side vertex array object id.
296 GLuint service_id_; 299 GLuint service_id_;
297 }; 300 };
298 301
299 } // namespace gles2 302 } // namespace gles2
300 } // namespace gpu 303 } // namespace gpu
304
305 #endif // GPU_COMMAND_BUFFER_SERVICE_VERTEX_ATTRIB_MANAGER_H_
306
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698