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 #include "gpu/command_buffer/service/texture_manager.h" | 5 #include "gpu/command_buffer/service/texture_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/gles2_cmd_decoder_mock.h" | 9 #include "gpu/command_buffer/service/gles2_cmd_decoder_mock.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::Return; | 15 using ::testing::Return; |
16 using ::testing::_; | 16 using ::testing::_; |
17 | 17 |
18 namespace gpu { | 18 namespace gpu { |
19 namespace gles2 { | 19 namespace gles2 { |
20 | 20 |
21 class TextureManagerTest : public testing::Test { | 21 class TextureManagerTest : public testing::Test { |
22 public: | 22 public: |
(...skipping 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1143 EXPECT_EQ(signature1, signature2); | 1143 EXPECT_EQ(signature1, signature2); |
1144 | 1144 |
1145 // Check the set was acutally getting different signatures. | 1145 // Check the set was acutally getting different signatures. |
1146 EXPECT_EQ(11u, string_set.size()); | 1146 EXPECT_EQ(11u, string_set.size()); |
1147 } | 1147 } |
1148 | 1148 |
1149 } // namespace gles2 | 1149 } // namespace gles2 |
1150 } // namespace gpu | 1150 } // namespace gpu |
1151 | 1151 |
1152 | 1152 |
OLD | NEW |