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

Side by Side Diff: gpu/command_buffer/service/vertex_attrib_manager_unittest.cc

Issue 11444028: Make more GL stuff auto-generated (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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
« no previous file with comments | « gpu/command_buffer/service/vertex_array_manager_unittest.cc ('k') | gpu/gpu.gyp » ('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 #include "gpu/command_buffer/service/vertex_attrib_manager.h" 5 #include "gpu/command_buffer/service/vertex_attrib_manager.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "gpu/command_buffer/common/gl_mock.h"
9 #include "gpu/command_buffer/service/feature_info.h" 8 #include "gpu/command_buffer/service/feature_info.h"
10 #include "gpu/command_buffer/service/test_helper.h" 9 #include "gpu/command_buffer/service/test_helper.h"
11 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "ui/gl/gl_mock.h"
12 12
13 using ::testing::Pointee; 13 using ::testing::Pointee;
14 using ::testing::_; 14 using ::testing::_;
15 15
16 namespace gpu { 16 namespace gpu {
17 namespace gles2 { 17 namespace gles2 {
18 18
19 class VertexAttribManagerTest : public testing::Test { 19 class VertexAttribManagerTest : public testing::Test {
20 public: 20 public:
21 static const uint32 kNumVertexAttribs = 8; 21 static const uint32 kNumVertexAttribs = 8;
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 // The VertexAttribManager must be destroyed before the BufferManager 219 // The VertexAttribManager must be destroyed before the BufferManager
220 // so it releases its buffers. 220 // so it releases its buffers.
221 manager_ = NULL; 221 manager_ = NULL;
222 buffer_manager.Destroy(false); 222 buffer_manager.Destroy(false);
223 } 223 }
224 224
225 } // namespace gles2 225 } // namespace gles2
226 } // namespace gpu 226 } // namespace gpu
227 227
228 228
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/vertex_array_manager_unittest.cc ('k') | gpu/gpu.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698