OLD | NEW |
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 #include "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "content/public/common/content_switches.h" | 6 #include "content/public/common/content_switches.h" |
7 | 7 |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
(...skipping 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1049 const char kDisableWin32kRendererLockDown[] = | 1049 const char kDisableWin32kRendererLockDown[] = |
1050 "disable-win32k-renderer-lockdown"; | 1050 "disable-win32k-renderer-lockdown"; |
1051 | 1051 |
1052 // Enables the Win32K process mitigation policy for certain PPAPI mime | 1052 // Enables the Win32K process mitigation policy for certain PPAPI mime |
1053 // types. Each mime type is separated by a comma. Specify * to enable | 1053 // types. Each mime type is separated by a comma. Specify * to enable |
1054 // the policy for all mime types. | 1054 // the policy for all mime types. |
1055 const char kEnableWin32kLockDownMimeTypes[] = | 1055 const char kEnableWin32kLockDownMimeTypes[] = |
1056 "enable-win32k-lockdown-mimetypes"; | 1056 "enable-win32k-lockdown-mimetypes"; |
1057 | 1057 |
1058 // Enables experimental hardware acceleration for VP8/VP9 video decoding. | 1058 // Enables experimental hardware acceleration for VP8/VP9 video decoding. |
| 1059 // Bitmask - 0x1=Microsoft, 0x2=AMD, 0x03=Try all. |
1059 const char kEnableAcceleratedVpxDecode[] = "enable-accelerated-vpx-decode"; | 1060 const char kEnableAcceleratedVpxDecode[] = "enable-accelerated-vpx-decode"; |
1060 | 1061 |
1061 // Enables H264 HW decode acceleration for WebRtc on Win 7. | 1062 // Enables H264 HW decode acceleration for WebRtc on Win 7. |
1062 const char kEnableWin7WebRtcHWH264Decoding[] = | 1063 const char kEnableWin7WebRtcHWH264Decoding[] = |
1063 "enable-win7-webrtc-hw-h264-decoding"; | 1064 "enable-win7-webrtc-hw-h264-decoding"; |
1064 | 1065 |
1065 // DirectWrite FontCache is shared by browser to renderers using shared memory. | 1066 // DirectWrite FontCache is shared by browser to renderers using shared memory. |
1066 // This switch allows us to pass the shared memory handle to the renderer. | 1067 // This switch allows us to pass the shared memory handle to the renderer. |
1067 const char kFontCacheSharedHandle[] = "font-cache-shared-handle"; | 1068 const char kFontCacheSharedHandle[] = "font-cache-shared-handle"; |
1068 | 1069 |
(...skipping 13 matching lines...) Expand all Loading... |
1082 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1083 // the given directory. Used primarily to gather samples for IPC fuzzing. |
1083 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1084 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
1084 | 1085 |
1085 // Specifies the testcase used by the IPC fuzzer. | 1086 // Specifies the testcase used by the IPC fuzzer. |
1086 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1087 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
1087 #endif | 1088 #endif |
1088 | 1089 |
1089 // Don't dump stuff here, follow the same order as the header. | 1090 // Don't dump stuff here, follow the same order as the header. |
1090 | 1091 |
1091 } // namespace switches | 1092 } // namespace switches |
OLD | NEW |