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

Side by Side Diff: gpu/config/gpu_info_unittest.cc

Issue 568413002: Add VEA supported profiles to GPUInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo and update gpu_info_unittest Created 6 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/config/gpu_info.h" 5 #include "gpu/config/gpu_info.h"
6 #include "testing/gtest/include/gtest/gtest.h" 6 #include "testing/gtest/include/gtest/gtest.h"
7 7
8 namespace gpu { 8 namespace gpu {
9 9
10 // Test that an empty GPUInfo has valid members 10 // Test that an empty GPUInfo has valid members
(...skipping 14 matching lines...) Expand all
25 EXPECT_EQ(gpu_info.gl_extensions, ""); 25 EXPECT_EQ(gpu_info.gl_extensions, "");
26 EXPECT_EQ(gpu_info.gl_ws_vendor, ""); 26 EXPECT_EQ(gpu_info.gl_ws_vendor, "");
27 EXPECT_EQ(gpu_info.gl_ws_version, ""); 27 EXPECT_EQ(gpu_info.gl_ws_version, "");
28 EXPECT_EQ(gpu_info.gl_ws_extensions, ""); 28 EXPECT_EQ(gpu_info.gl_ws_extensions, "");
29 EXPECT_EQ(gpu_info.can_lose_context, false); 29 EXPECT_EQ(gpu_info.can_lose_context, false);
30 EXPECT_EQ(gpu_info.basic_info_state, kCollectInfoNone); 30 EXPECT_EQ(gpu_info.basic_info_state, kCollectInfoNone);
31 EXPECT_EQ(gpu_info.context_info_state, kCollectInfoNone); 31 EXPECT_EQ(gpu_info.context_info_state, kCollectInfoNone);
32 #if defined(OS_WIN) 32 #if defined(OS_WIN)
33 EXPECT_EQ(gpu_info.dx_diagnostics_info_state, kCollectInfoNone); 33 EXPECT_EQ(gpu_info.dx_diagnostics_info_state, kCollectInfoNone);
34 #endif 34 #endif
35 EXPECT_EQ(gpu_info.video_encode_accelerator_supported_profiles.size(), 0u);
35 } 36 }
36 37
37 } // namespace gpu 38 } // namespace gpu
38 39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698