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

Side by Side Diff: ui/display/display_switches.cc

Issue 2742383006: Display: set color_depth and depth_per_component value based on kEnableHDROutput (Closed)
Patch Set: rebase Created 3 years, 9 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 | « ui/display/display_switches.h ('k') | ui/display/display_unittest.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "ui/display/display_switches.h" 6 #include "ui/display/display_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // TODO(rjkroege): Some of these have an "ash" prefix. When ChromeOS startup 10 // TODO(rjkroege): Some of these have an "ash" prefix. When ChromeOS startup
(...skipping 20 matching lines...) Expand all
31 const char kSecondaryDisplayLayout[] = "secondary-display-layout"; 31 const char kSecondaryDisplayLayout[] = "secondary-display-layout";
32 32
33 // Specifies the initial screen configuration, or state of all displays, for 33 // Specifies the initial screen configuration, or state of all displays, for
34 // FakeDisplayDelegate, see class for format details. 34 // FakeDisplayDelegate, see class for format details.
35 const char kScreenConfig[] = "screen-config"; 35 const char kScreenConfig[] = "screen-config";
36 36
37 // Uses the 1st display in --ash-host-window-bounds as internal display. 37 // Uses the 1st display in --ash-host-window-bounds as internal display.
38 // This is for debugging on linux desktop. 38 // This is for debugging on linux desktop.
39 const char kUseFirstDisplayAsInternal[] = "use-first-display-as-internal"; 39 const char kUseFirstDisplayAsInternal[] = "use-first-display-as-internal";
40 40
41 // Use an fp16 scRGB swap chain compatible with HDR output.
42 const char kEnableHDR[] = "enable-hdr";
43
41 #if defined(OS_CHROMEOS) 44 #if defined(OS_CHROMEOS)
42 const char kDisableDisplayColorCalibration[] = 45 const char kDisableDisplayColorCalibration[] =
43 "disable-display-color-calibration"; 46 "disable-display-color-calibration";
44 47
45 // Enables unified desktop mode. 48 // Enables unified desktop mode.
46 const char kEnableUnifiedDesktop[] = "ash-enable-unified-desktop"; 49 const char kEnableUnifiedDesktop[] = "ash-enable-unified-desktop";
47 #endif 50 #endif
48 51
49 } // namespace switches 52 } // namespace switches
OLDNEW
« no previous file with comments | « ui/display/display_switches.h ('k') | ui/display/display_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698