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

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

Issue 1490333005: Don't require VDAs to return all PictureBuffers at once. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ...because trybots have feelings too. Created 5 years 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 15 matching lines...) Expand all
26 EXPECT_EQ(gpu_info.gl_extensions, ""); 26 EXPECT_EQ(gpu_info.gl_extensions, "");
27 EXPECT_EQ(gpu_info.gl_ws_vendor, ""); 27 EXPECT_EQ(gpu_info.gl_ws_vendor, "");
28 EXPECT_EQ(gpu_info.gl_ws_version, ""); 28 EXPECT_EQ(gpu_info.gl_ws_version, "");
29 EXPECT_EQ(gpu_info.gl_ws_extensions, ""); 29 EXPECT_EQ(gpu_info.gl_ws_extensions, "");
30 EXPECT_EQ(gpu_info.can_lose_context, false); 30 EXPECT_EQ(gpu_info.can_lose_context, false);
31 EXPECT_EQ(gpu_info.basic_info_state, kCollectInfoNone); 31 EXPECT_EQ(gpu_info.basic_info_state, kCollectInfoNone);
32 EXPECT_EQ(gpu_info.context_info_state, kCollectInfoNone); 32 EXPECT_EQ(gpu_info.context_info_state, kCollectInfoNone);
33 #if defined(OS_WIN) 33 #if defined(OS_WIN)
34 EXPECT_EQ(gpu_info.dx_diagnostics_info_state, kCollectInfoNone); 34 EXPECT_EQ(gpu_info.dx_diagnostics_info_state, kCollectInfoNone);
35 #endif 35 #endif
36 EXPECT_EQ(gpu_info.video_decode_accelerator_supported_profiles.size(), 0u); 36 EXPECT_EQ(gpu_info.video_decode_accelerator_capabilities.flags, 0u);
37 EXPECT_EQ(
38 gpu_info.video_decode_accelerator_capabilities.supported_profiles.size(),
39 0u);
37 EXPECT_EQ(gpu_info.video_encode_accelerator_supported_profiles.size(), 0u); 40 EXPECT_EQ(gpu_info.video_encode_accelerator_supported_profiles.size(), 0u);
38 } 41 }
39 42
40 } // namespace gpu 43 } // namespace gpu
41 44
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698