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

Side by Side Diff: gpu/command_buffer/service/vertex_array_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
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_array_manager.h" 5 #include "gpu/command_buffer/service/vertex_array_manager.h"
6 #include "gpu/command_buffer/service/vertex_attrib_manager.h" 6 #include "gpu/command_buffer/service/vertex_attrib_manager.h"
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "gpu/command_buffer/common/gl_mock.h"
10 #include "gpu/command_buffer/service/feature_info.h" 9 #include "gpu/command_buffer/service/feature_info.h"
11 #include "gpu/command_buffer/service/test_helper.h" 10 #include "gpu/command_buffer/service/test_helper.h"
12 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 #include "ui/gl/gl_mock.h"
13 13
14 using ::testing::Pointee; 14 using ::testing::Pointee;
15 using ::testing::_; 15 using ::testing::_;
16 16
17 namespace gpu { 17 namespace gpu {
18 namespace gles2 { 18 namespace gles2 {
19 19
20 class VertexArrayManagerTest : public testing::Test { 20 class VertexArrayManagerTest : public testing::Test {
21 public: 21 public:
22 static const uint32 kNumVertexAttribs = 8; 22 static const uint32 kNumVertexAttribs = 8;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 manager.Destroy(true); 94 manager.Destroy(true);
95 // Check that resources got freed. 95 // Check that resources got freed.
96 info1 = manager.GetVertexAttribManager(kClient1Id); 96 info1 = manager.GetVertexAttribManager(kClient1Id);
97 ASSERT_TRUE(info1 == NULL); 97 ASSERT_TRUE(info1 == NULL);
98 } 98 }
99 99
100 } // namespace gles2 100 } // namespace gles2
101 } // namespace gpu 101 } // namespace gpu
102 102
103 103
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/texture_manager_unittest.cc ('k') | gpu/command_buffer/service/vertex_attrib_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698