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

Unified Diff: gpu/ipc/common/struct_traits_unittest.cc

Issue 2529713002: Run the WebGL conformance tests with the passthrough command decoder. (Closed)
Patch Set: Remove buildbot changes. Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/ipc/common/gpu_param_traits_macros.h ('k') | gpu/ipc/service/gpu_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/common/struct_traits_unittest.cc
diff --git a/gpu/ipc/common/struct_traits_unittest.cc b/gpu/ipc/common/struct_traits_unittest.cc
index 70ddbc0ad157cf97f69c5cd570f8f7a2ca9a1245..07931e81a5a427203a9812e1cacbe1ab504442fd 100644
--- a/gpu/ipc/common/struct_traits_unittest.cc
+++ b/gpu/ipc/common/struct_traits_unittest.cc
@@ -148,6 +148,7 @@ TEST_F(StructTraitsTest, GpuInfo) {
const bool sandboxed = true;
const int process_crash_count = 0xdead;
const bool in_process_gpu = true;
+ const bool passthrough_cmd_decoder = true;
const gpu::CollectInfoResult basic_info_state =
gpu::CollectInfoResult::kCollectInfoSuccess;
const gpu::CollectInfoResult context_info_state =
@@ -197,6 +198,7 @@ TEST_F(StructTraitsTest, GpuInfo) {
input.sandboxed = sandboxed;
input.process_crash_count = process_crash_count;
input.in_process_gpu = in_process_gpu;
+ input.passthrough_cmd_decoder = passthrough_cmd_decoder;
input.basic_info_state = basic_info_state;
input.context_info_state = context_info_state;
#if defined(OS_WIN)
@@ -259,6 +261,7 @@ TEST_F(StructTraitsTest, GpuInfo) {
EXPECT_EQ(sandboxed, output.sandboxed);
EXPECT_EQ(process_crash_count, output.process_crash_count);
EXPECT_EQ(in_process_gpu, output.in_process_gpu);
+ EXPECT_EQ(passthrough_cmd_decoder, output.passthrough_cmd_decoder);
EXPECT_EQ(basic_info_state, output.basic_info_state);
EXPECT_EQ(context_info_state, output.context_info_state);
#if defined(OS_WIN)
« no previous file with comments | « gpu/ipc/common/gpu_param_traits_macros.h ('k') | gpu/ipc/service/gpu_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698