Chromium Code Reviews| 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" |
| (...skipping 1345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1356 EXPECT_TRUE(info_->validators()->texture_format.IsValid(GL_RED_EXT)); | 1356 EXPECT_TRUE(info_->validators()->texture_format.IsValid(GL_RED_EXT)); |
| 1357 EXPECT_TRUE(info_->validators()->texture_format.IsValid(GL_RG_EXT)); | 1357 EXPECT_TRUE(info_->validators()->texture_format.IsValid(GL_RG_EXT)); |
| 1358 EXPECT_TRUE(info_->validators()->texture_internal_format.IsValid(GL_RED_EXT)); | 1358 EXPECT_TRUE(info_->validators()->texture_internal_format.IsValid(GL_RED_EXT)); |
| 1359 EXPECT_TRUE(info_->validators()->texture_internal_format.IsValid(GL_RG_EXT)); | 1359 EXPECT_TRUE(info_->validators()->texture_internal_format.IsValid(GL_RG_EXT)); |
| 1360 EXPECT_TRUE(info_->validators()->read_pixel_format.IsValid(GL_RED_EXT)); | 1360 EXPECT_TRUE(info_->validators()->read_pixel_format.IsValid(GL_RED_EXT)); |
| 1361 EXPECT_TRUE(info_->validators()->read_pixel_format.IsValid(GL_RG_EXT)); | 1361 EXPECT_TRUE(info_->validators()->read_pixel_format.IsValid(GL_RG_EXT)); |
| 1362 EXPECT_TRUE(info_->validators()->render_buffer_format.IsValid(GL_R8_EXT)); | 1362 EXPECT_TRUE(info_->validators()->render_buffer_format.IsValid(GL_R8_EXT)); |
| 1363 EXPECT_TRUE(info_->validators()->render_buffer_format.IsValid(GL_RG8_EXT)); | 1363 EXPECT_TRUE(info_->validators()->render_buffer_format.IsValid(GL_RG8_EXT)); |
| 1364 } | 1364 } |
| 1365 | 1365 |
| 1366 TEST_P(FeatureInfoTest, InitializeEXT_ycbcr_422True) { | |
|
reveman
2015/08/26 18:47:10
InitializeCHROMIUM_ycbcr_422_imageTrue
Daniele Castagna
2015/08/26 18:53:17
Done.
| |
| 1367 SetupInitExpectations("GL_APPLE_ycbcr_422"); | |
| 1368 EXPECT_TRUE(info_->feature_flags().ext_ycbcr_422_format); | |
|
reveman
2015/08/26 18:47:10
.chromium_image_ycbcr_422
Daniele Castagna
2015/08/26 18:53:17
Done.
| |
| 1369 } | |
| 1370 | |
| 1366 } // namespace gles2 | 1371 } // namespace gles2 |
| 1367 } // namespace gpu | 1372 } // namespace gpu |
| OLD | NEW |