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 <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 using ::testing::_; | 25 using ::testing::_; |
26 using ::testing::DoAll; | 26 using ::testing::DoAll; |
27 using ::testing::HasSubstr; | 27 using ::testing::HasSubstr; |
28 using ::testing::InSequence; | 28 using ::testing::InSequence; |
29 using ::testing::MatcherCast; | 29 using ::testing::MatcherCast; |
30 using ::testing::Not; | 30 using ::testing::Not; |
31 using ::testing::Pointee; | 31 using ::testing::Pointee; |
32 using ::testing::Return; | 32 using ::testing::Return; |
33 using ::testing::SetArrayArgument; | 33 using ::testing::SetArrayArgument; |
34 using ::testing::SetArgumentPointee; | 34 using ::testing::SetArgPointee; |
35 using ::testing::StrEq; | 35 using ::testing::StrEq; |
36 | 36 |
37 namespace gpu { | 37 namespace gpu { |
38 namespace gles2 { | 38 namespace gles2 { |
39 | 39 |
40 namespace { | 40 namespace { |
41 const char kGLRendererStringANGLE[] = "ANGLE (some renderer)"; | 41 const char kGLRendererStringANGLE[] = "ANGLE (some renderer)"; |
42 } // anonymous namespace | 42 } // anonymous namespace |
43 | 43 |
44 enum MockedGLVersionKind { | 44 enum MockedGLVersionKind { |
(...skipping 1628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1673 EXPECT_TRUE(info_->validators()->texture_internal_format.IsValid(GL_RED_EXT)); | 1673 EXPECT_TRUE(info_->validators()->texture_internal_format.IsValid(GL_RED_EXT)); |
1674 } | 1674 } |
1675 | 1675 |
1676 TEST_P(FeatureInfoTest, InitializeCHROMIUM_ycbcr_422_imageTrue) { | 1676 TEST_P(FeatureInfoTest, InitializeCHROMIUM_ycbcr_422_imageTrue) { |
1677 SetupInitExpectations("GL_APPLE_ycbcr_422"); | 1677 SetupInitExpectations("GL_APPLE_ycbcr_422"); |
1678 EXPECT_TRUE(info_->feature_flags().chromium_image_ycbcr_422); | 1678 EXPECT_TRUE(info_->feature_flags().chromium_image_ycbcr_422); |
1679 } | 1679 } |
1680 | 1680 |
1681 } // namespace gles2 | 1681 } // namespace gles2 |
1682 } // namespace gpu | 1682 } // namespace gpu |
OLD | NEW |