Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Side by Side Diff: gpu/command_buffer/service/feature_info_unittest.cc

Issue 1305153005: Add CHROMIUM_ycbcr_422_image extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/feature_info.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698