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

Side by Side Diff: content/public/common/content_switches.cc

Issue 2358683002: Android: enable/disable WebRTC HW H264 with a flag. (Closed)
Patch Set: rebase to Oct17 Created 4 years, 2 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
OLDNEW
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 891 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 #if defined(ENABLE_WEBRTC) 902 #if defined(ENABLE_WEBRTC)
903 // Disables HW decode acceleration for WebRTC. 903 // Disables HW decode acceleration for WebRTC.
904 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; 904 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding";
905 905
906 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it 906 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it
907 // ignores this switch on its stable and beta channels. 907 // ignores this switch on its stable and beta channels.
908 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; 908 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption";
909 909
910 // Disables HW encode acceleration for WebRTC. 910 // Disables HW encode acceleration for WebRTC.
911 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; 911 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding";
912 const char kDisableWebRtcHWEncodingVPx[] = "vpx";
913 const char kDisableWebRtcHWEncodingH264[] = "h264";
914 const char kDisableWebRtcHWEncodingNone[] = "none";
912 915
913 // Enables H264 HW encode acceleration for WebRTC. 916 // Enables H264 HW encode acceleration for WebRTC.
914 const char kEnableWebRtcHWH264Encoding[] = "enable-webrtc-hw-h264-encoding"; 917 const char kEnableWebRtcHWH264Encoding[] = "enable-webrtc-hw-h264-encoding";
915 918
916 // Enables Origin header in Stun messages for WebRTC. 919 // Enables Origin header in Stun messages for WebRTC.
917 const char kEnableWebRtcStunOrigin[] = "enable-webrtc-stun-origin"; 920 const char kEnableWebRtcStunOrigin[] = "enable-webrtc-stun-origin";
918 921
919 // Enforce IP Permission check. TODO(guoweis): Remove this once the feature is 922 // Enforce IP Permission check. TODO(guoweis): Remove this once the feature is
920 // not under finch and becomes the default. 923 // not under finch and becomes the default.
921 const char kEnforceWebRtcIPPermissionCheck[] = 924 const char kEnforceWebRtcIPPermissionCheck[] =
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 // the given directory. Used primarily to gather samples for IPC fuzzing. 1069 // the given directory. Used primarily to gather samples for IPC fuzzing.
1067 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1070 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1068 1071
1069 // Specifies the testcase used by the IPC fuzzer. 1072 // Specifies the testcase used by the IPC fuzzer.
1070 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1073 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1071 #endif 1074 #endif
1072 1075
1073 // Don't dump stuff here, follow the same order as the header. 1076 // Don't dump stuff here, follow the same order as the header.
1074 1077
1075 } // namespace switches 1078 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/media/gpu/rtc_video_encoder_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698