OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/feature_info.h" | 5 #include "gpu/command_buffer/service/feature_info.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" | 8 #include "gpu/command_buffer/common/gl_mock.h" |
9 #include "gpu/command_buffer/service/test_helper.h" | 9 #include "gpu/command_buffer/service/test_helper.h" |
10 #include "gpu/command_buffer/service/texture_manager.h" | 10 #include "gpu/command_buffer/service/texture_manager.h" |
11 #include "gpu/GLES2/gles2_command_buffer.h" | |
12 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
13 | 12 |
14 using ::gfx::MockGLInterface; | 13 using ::gfx::MockGLInterface; |
15 using ::testing::_; | 14 using ::testing::_; |
16 using ::testing::DoAll; | 15 using ::testing::DoAll; |
17 using ::testing::HasSubstr; | 16 using ::testing::HasSubstr; |
18 using ::testing::InSequence; | 17 using ::testing::InSequence; |
19 using ::testing::MatcherCast; | 18 using ::testing::MatcherCast; |
20 using ::testing::Not; | 19 using ::testing::Not; |
21 using ::testing::Pointee; | 20 using ::testing::Pointee; |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES)); | 425 GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES)); |
427 EXPECT_TRUE(info_.validators()->g_l_state.IsValid( | 426 EXPECT_TRUE(info_.validators()->g_l_state.IsValid( |
428 GL_TEXTURE_BINDING_EXTERNAL_OES)); | 427 GL_TEXTURE_BINDING_EXTERNAL_OES)); |
429 } | 428 } |
430 | 429 |
431 } // namespace gles2 | 430 } // namespace gles2 |
432 } // namespace gpu | 431 } // namespace gpu |
433 | 432 |
434 | 433 |
435 | 434 |
OLD | NEW |