OLD | NEW |
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 "ui/ozone/public/ozone_switches.h" | 5 #include "ui/ozone/public/ozone_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // Specify ozone platform implementation to use. | 9 // Specify ozone platform implementation to use. |
10 const char kOzonePlatform[] = "ozone-platform"; | 10 const char kOzonePlatform[] = "ozone-platform"; |
11 | 11 |
12 // Specify location for image dumps. | 12 // Specify location for image dumps. |
13 const char kOzoneDumpFile[] = "ozone-dump-file"; | 13 const char kOzoneDumpFile[] = "ozone-dump-file"; |
14 | 14 |
15 // Specify if the accelerated path should use surfaceless rendering. In this | 15 // Specify if the accelerated path should use surfaceless rendering. In this |
16 // mode there is no EGL surface. | 16 // mode there is no EGL surface. |
17 const char kOzoneUseSurfaceless[] = "ozone-use-surfaceless"; | 17 const char kOzoneUseSurfaceless[] = "ozone-use-surfaceless"; |
18 | 18 |
| 19 // Use Intel DRM for native GPU memory buffers. |
| 20 const char kOzoneUseIntelDrm[] = "ozone-use-intel-drm"; |
| 21 |
19 // Enable support for a single overlay plane. | 22 // Enable support for a single overlay plane. |
20 const char kOzoneTestSingleOverlaySupport[] = | 23 const char kOzoneTestSingleOverlaySupport[] = |
21 "ozone-test-single-overlay-support"; | 24 "ozone-test-single-overlay-support"; |
22 | 25 |
23 // Specifies the size of the primary display at initialization. | 26 // Specifies the size of the primary display at initialization. |
24 const char kOzoneInitialDisplayBounds[] = "ozone-initial-display-bounds"; | 27 const char kOzoneInitialDisplayBounds[] = "ozone-initial-display-bounds"; |
25 | 28 |
26 // Specifies the physical display size in millimeters. | 29 // Specifies the physical display size in millimeters. |
27 const char kOzoneInitialDisplayPhysicalSizeMm[] = | 30 const char kOzoneInitialDisplayPhysicalSizeMm[] = |
28 "ozone-initial-display-physical-size-mm"; | 31 "ozone-initial-display-physical-size-mm"; |
29 | 32 |
30 } // namespace switches | 33 } // namespace switches |
OLD | NEW |