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

Unified Diff: gpu/ipc/common/gpu_info_struct_traits.h

Issue 2938543002: Detect HDR capability (Closed)
Patch Set: histograms updated Created 3 years, 6 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/common/gpu_info_struct_traits.h
diff --git a/gpu/ipc/common/gpu_info_struct_traits.h b/gpu/ipc/common/gpu_info_struct_traits.h
index 415fc49e9d4154ac5bec6f28198bb054544cb15c..11a770f47d02afb644703c9eeaf3ae2cd1bc88fa 100644
--- a/gpu/ipc/common/gpu_info_struct_traits.h
+++ b/gpu/ipc/common/gpu_info_struct_traits.h
@@ -244,6 +244,8 @@ struct StructTraits<gpu::mojom::GpuInfoDataView, gpu::GPUInfo> {
return input.supports_overlays;
}
+ static bool hdr(const gpu::GPUInfo& input) { return input.hdr; }
+
static gpu::CollectInfoResult basic_info_state(const gpu::GPUInfo& input) {
return input.basic_info_state;
}
« 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