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

Side by Side Diff: gpu/ipc/common/gpu_info_struct_traits.h

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 unified diff | Download patch
« no previous file with comments | « gpu/ipc/common/gpu_info.mojom ('k') | gpu/ipc/common/gpu_info_struct_traits.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef CC_IPC_GPU_STRUCT_TRAITS_H_ 5 #ifndef CC_IPC_GPU_STRUCT_TRAITS_H_
6 #define CC_IPC_GPU_STRUCT_TRAITS_H_ 6 #define CC_IPC_GPU_STRUCT_TRAITS_H_
7 7
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "gpu/config/gpu_info.h" 9 #include "gpu/config/gpu_info.h"
10 #include "gpu/ipc/common/dx_diag_node_struct_traits.h" 10 #include "gpu/ipc/common/dx_diag_node_struct_traits.h"
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 static bool sandboxed(const gpu::GPUInfo& input) { return input.sandboxed; } 236 static bool sandboxed(const gpu::GPUInfo& input) { return input.sandboxed; }
237 237
238 static int process_crash_count(const gpu::GPUInfo& input) { 238 static int process_crash_count(const gpu::GPUInfo& input) {
239 return input.process_crash_count; 239 return input.process_crash_count;
240 } 240 }
241 241
242 static bool in_process_gpu(const gpu::GPUInfo& input) { 242 static bool in_process_gpu(const gpu::GPUInfo& input) {
243 return input.in_process_gpu; 243 return input.in_process_gpu;
244 } 244 }
245 245
246 static bool passthrough_cmd_decoder(const gpu::GPUInfo& input) {
247 return input.passthrough_cmd_decoder;
248 }
249
246 static gpu::CollectInfoResult basic_info_state(const gpu::GPUInfo& input) { 250 static gpu::CollectInfoResult basic_info_state(const gpu::GPUInfo& input) {
247 return input.basic_info_state; 251 return input.basic_info_state;
248 } 252 }
249 253
250 static gpu::CollectInfoResult context_info_state(const gpu::GPUInfo& input) { 254 static gpu::CollectInfoResult context_info_state(const gpu::GPUInfo& input) {
251 return input.context_info_state; 255 return input.context_info_state;
252 } 256 }
253 #if defined(OS_WIN) 257 #if defined(OS_WIN)
254 static const gpu::DxDiagNode& dx_diagnostics(const gpu::GPUInfo& input) { 258 static const gpu::DxDiagNode& dx_diagnostics(const gpu::GPUInfo& input) {
255 return input.dx_diagnostics; 259 return input.dx_diagnostics;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 static uint64_t rgba_visual(const gpu::GPUInfo& input) { 299 static uint64_t rgba_visual(const gpu::GPUInfo& input) {
296 #if defined(USE_X11) && !defined(OS_CHROMEOS) 300 #if defined(USE_X11) && !defined(OS_CHROMEOS)
297 return input.rgba_visual; 301 return input.rgba_visual;
298 #endif 302 #endif
299 return 0; 303 return 0;
300 } 304 }
301 }; 305 };
302 306
303 } // namespace mojo 307 } // namespace mojo
304 #endif // CC_IPC_GPU_STRUCT_TRAITS_H_ 308 #endif // CC_IPC_GPU_STRUCT_TRAITS_H_
OLDNEW
« no previous file with comments | « gpu/ipc/common/gpu_info.mojom ('k') | gpu/ipc/common/gpu_info_struct_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698