| 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 // Enable support for a single overlay plane. | 19 // Enable support for a single overlay plane. |
| 20 const char kOzoneTestSingleOverlaySupport[] = | 20 const char kOzoneTestSingleOverlaySupport[] = |
| 21 "ozone-test-single-overlay-support"; | 21 "ozone-test-single-overlay-support"; |
| 22 | 22 |
| 23 // Specifies the size of the primary display at initialization. | 23 // Specifies the size of the primary display at initialization. |
| 24 const char kOzoneInitialDisplayBounds[] = "ozone-initial-display-bounds"; | 24 const char kOzoneInitialDisplayBounds[] = "ozone-initial-display-bounds"; |
| 25 | 25 |
| 26 // Specifies the physical display size in millimeters. | 26 // Specifies the physical display size in millimeters. |
| 27 const char kOzoneInitialDisplayPhysicalSizeMm[] = | 27 const char kOzoneInitialDisplayPhysicalSizeMm[] = |
| 28 "ozone-initial-display-physical-size-mm"; | 28 "ozone-initial-display-physical-size-mm"; |
| 29 | 29 |
| 30 // Enables atomic API support, if supported by the driver. |
| 31 const char kOzoneUseAtomicDrm[] = "ozone-use-atomic-drm"; |
| 32 |
| 30 } // namespace switches | 33 } // namespace switches |
| OLD | NEW |