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

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

Issue 2938543002: Detect HDR capability (Closed)
Patch Set: histograms updated Created 3 years, 5 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
« no previous file with comments | « gpu/ipc/common/gpu_info_struct_traits.h ('k') | gpu/ipc/common/gpu_param_traits_macros.h » ('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 #include "gpu/ipc/common/gpu_info_struct_traits.h" 5 #include "gpu/ipc/common/gpu_info_struct_traits.h"
6 6
7 #include "ipc/ipc_message_utils.h" 7 #include "ipc/ipc_message_utils.h"
8 #include "mojo/common/common_custom_types_struct_traits.h" 8 #include "mojo/common/common_custom_types_struct_traits.h"
9 9
10 namespace mojo { 10 namespace mojo {
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 gpu::GPUInfo* out) { 239 gpu::GPUInfo* out) {
240 out->optimus = data.optimus(); 240 out->optimus = data.optimus();
241 out->amd_switchable = data.amd_switchable(); 241 out->amd_switchable = data.amd_switchable();
242 out->gl_reset_notification_strategy = data.gl_reset_notification_strategy(); 242 out->gl_reset_notification_strategy = data.gl_reset_notification_strategy();
243 out->software_rendering = data.software_rendering(); 243 out->software_rendering = data.software_rendering();
244 out->direct_rendering = data.direct_rendering(); 244 out->direct_rendering = data.direct_rendering();
245 out->sandboxed = data.sandboxed(); 245 out->sandboxed = data.sandboxed();
246 out->in_process_gpu = data.in_process_gpu(); 246 out->in_process_gpu = data.in_process_gpu();
247 out->passthrough_cmd_decoder = data.passthrough_cmd_decoder(); 247 out->passthrough_cmd_decoder = data.passthrough_cmd_decoder();
248 out->supports_overlays = data.supports_overlays(); 248 out->supports_overlays = data.supports_overlays();
249 out->hdr = data.hdr();
249 out->process_crash_count = data.process_crash_count(); 250 out->process_crash_count = data.process_crash_count();
250 out->jpeg_decode_accelerator_supported = 251 out->jpeg_decode_accelerator_supported =
251 data.jpeg_decode_accelerator_supported(); 252 data.jpeg_decode_accelerator_supported();
252 253
253 #if defined(USE_X11) && !defined(OS_CHROMEOS) 254 #if defined(USE_X11) && !defined(OS_CHROMEOS)
254 out->system_visual = data.system_visual(); 255 out->system_visual = data.system_visual();
255 out->rgba_visual = data.rgba_visual(); 256 out->rgba_visual = data.rgba_visual();
256 #endif 257 #endif
257 258
258 return data.ReadInitializationTime(&out->initialization_time) && 259 return data.ReadInitializationTime(&out->initialization_time) &&
(...skipping 20 matching lines...) Expand all
279 data.ReadDxDiagnosticsInfoState(&out->dx_diagnostics_info_state) && 280 data.ReadDxDiagnosticsInfoState(&out->dx_diagnostics_info_state) &&
280 data.ReadDxDiagnostics(&out->dx_diagnostics) && 281 data.ReadDxDiagnostics(&out->dx_diagnostics) &&
281 #endif 282 #endif
282 data.ReadVideoDecodeAcceleratorCapabilities( 283 data.ReadVideoDecodeAcceleratorCapabilities(
283 &out->video_decode_accelerator_capabilities) && 284 &out->video_decode_accelerator_capabilities) &&
284 data.ReadVideoEncodeAcceleratorSupportedProfiles( 285 data.ReadVideoEncodeAcceleratorSupportedProfiles(
285 &out->video_encode_accelerator_supported_profiles); 286 &out->video_encode_accelerator_supported_profiles);
286 } 287 }
287 288
288 } // namespace mojo 289 } // namespace mojo
OLDNEW
« no previous file with comments | « gpu/ipc/common/gpu_info_struct_traits.h ('k') | gpu/ipc/common/gpu_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698