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 // Enable support for a single overlay plane. | 15 // Enable support for a single overlay plane. |
16 const char kOzoneTestSingleOverlaySupport[] = | 16 const char kOzoneTestSingleOverlaySupport[] = |
17 "ozone-test-single-overlay-support"; | 17 "ozone-test-single-overlay-support"; |
18 | 18 |
19 // Specifies the size of the primary display at initialization. | 19 // Specifies the size of the primary display at initialization. |
20 const char kOzoneInitialDisplayBounds[] = "ozone-initial-display-bounds"; | 20 const char kOzoneInitialDisplayBounds[] = "ozone-initial-display-bounds"; |
21 | 21 |
22 // Specifies the physical display size in millimeters. | 22 // Specifies the physical display size in millimeters. |
23 const char kOzoneInitialDisplayPhysicalSizeMm[] = | 23 const char kOzoneInitialDisplayPhysicalSizeMm[] = |
24 "ozone-initial-display-physical-size-mm"; | 24 "ozone-initial-display-physical-size-mm"; |
25 | 25 |
| 26 // Use userspace dma-buf mmap() Linux implementation for native GPU memory |
| 27 // buffers. |
| 28 const char kOzoneUseDmaBufMmap[] = "ozone-use-dmabuf-mmap"; |
| 29 |
26 } // namespace switches | 30 } // namespace switches |
OLD | NEW |