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/feature_info.h" | 5 #include "gpu/command_buffer/service/feature_info.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
10 #include "gpu/command_buffer/service/gpu_service_test.h" | 10 #include "gpu/command_buffer/service/gpu_service_test.h" |
11 #include "gpu/command_buffer/service/gpu_switches.h" | |
12 #include "gpu/command_buffer/service/test_helper.h" | 11 #include "gpu/command_buffer/service/test_helper.h" |
13 #include "gpu/command_buffer/service/texture_manager.h" | 12 #include "gpu/command_buffer/service/texture_manager.h" |
14 #include "gpu/config/gpu_driver_bug_workaround_type.h" | 13 #include "gpu/config/gpu_driver_bug_workaround_type.h" |
| 14 #include "gpu/config/gpu_switches.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
16 #include "ui/gl/gl_fence.h" | 16 #include "ui/gl/gl_fence.h" |
17 #include "ui/gl/gl_implementation.h" | 17 #include "ui/gl/gl_implementation.h" |
18 #include "ui/gl/gl_mock.h" | 18 #include "ui/gl/gl_mock.h" |
19 | 19 |
20 using ::testing::_; | 20 using ::testing::_; |
21 using ::testing::DoAll; | 21 using ::testing::DoAll; |
22 using ::testing::HasSubstr; | 22 using ::testing::HasSubstr; |
23 using ::testing::InSequence; | 23 using ::testing::InSequence; |
24 using ::testing::MatcherCast; | 24 using ::testing::MatcherCast; |
(...skipping 1498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1523 EXPECT_FALSE( | 1523 EXPECT_FALSE( |
1524 info_->GetTextureFormatValidator(GL_RG_EXT).IsValid(GL_HALF_FLOAT_OES)); | 1524 info_->GetTextureFormatValidator(GL_RG_EXT).IsValid(GL_HALF_FLOAT_OES)); |
1525 EXPECT_TRUE( | 1525 EXPECT_TRUE( |
1526 info_->GetTextureFormatValidator(GL_RED_EXT).IsValid(GL_UNSIGNED_BYTE)); | 1526 info_->GetTextureFormatValidator(GL_RED_EXT).IsValid(GL_UNSIGNED_BYTE)); |
1527 EXPECT_TRUE( | 1527 EXPECT_TRUE( |
1528 info_->GetTextureFormatValidator(GL_RG_EXT).IsValid(GL_UNSIGNED_BYTE)); | 1528 info_->GetTextureFormatValidator(GL_RG_EXT).IsValid(GL_UNSIGNED_BYTE)); |
1529 } | 1529 } |
1530 | 1530 |
1531 } // namespace gles2 | 1531 } // namespace gles2 |
1532 } // namespace gpu | 1532 } // namespace gpu |
OLD | NEW |