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

Side by Side Diff: gpu/config/gpu_info.h

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 | « no previous file | gpu/config/gpu_info.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 (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 #ifndef GPU_CONFIG_GPU_INFO_H_ 5 #ifndef GPU_CONFIG_GPU_INFO_H_
6 #define GPU_CONFIG_GPU_INFO_H_ 6 #define GPU_CONFIG_GPU_INFO_H_
7 7
8 // Provides access to the GPU information for the system 8 // Provides access to the GPU information for the system
9 // on which chrome is currently running. 9 // on which chrome is currently running.
10 10
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 216
217 // True if the GPU is running in the browser process instead of its own. 217 // True if the GPU is running in the browser process instead of its own.
218 bool in_process_gpu; 218 bool in_process_gpu;
219 219
220 // True if the GPU process is using the passthrough command decoder. 220 // True if the GPU process is using the passthrough command decoder.
221 bool passthrough_cmd_decoder; 221 bool passthrough_cmd_decoder;
222 222
223 // True if the current set of outputs supports overlays. 223 // True if the current set of outputs supports overlays.
224 bool supports_overlays = false; 224 bool supports_overlays = false;
225 225
226 // True if the current set of outputs supports HDR.
227 bool hdr = false;
228
226 // The state of whether the basic/context/DxDiagnostics info is collected and 229 // The state of whether the basic/context/DxDiagnostics info is collected and
227 // if the collection fails or not. 230 // if the collection fails or not.
228 CollectInfoResult basic_info_state; 231 CollectInfoResult basic_info_state;
229 CollectInfoResult context_info_state; 232 CollectInfoResult context_info_state;
230 #if defined(OS_WIN) 233 #if defined(OS_WIN)
231 CollectInfoResult dx_diagnostics_info_state; 234 CollectInfoResult dx_diagnostics_info_state;
232 235
233 // The information returned by the DirectX Diagnostics Tool. 236 // The information returned by the DirectX Diagnostics Tool.
234 DxDiagNode dx_diagnostics; 237 DxDiagNode dx_diagnostics;
235 #endif 238 #endif
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 virtual ~Enumerator() {} 290 virtual ~Enumerator() {}
288 }; 291 };
289 292
290 // Outputs the fields in this structure to the provided enumerator. 293 // Outputs the fields in this structure to the provided enumerator.
291 void EnumerateFields(Enumerator* enumerator) const; 294 void EnumerateFields(Enumerator* enumerator) const;
292 }; 295 };
293 296
294 } // namespace gpu 297 } // namespace gpu
295 298
296 #endif // GPU_CONFIG_GPU_INFO_H_ 299 #endif // GPU_CONFIG_GPU_INFO_H_
OLDNEW
« no previous file with comments | « no previous file | gpu/config/gpu_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698