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

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

Issue 453063002: Only allow webrtc HW offload for H264 encode for extension process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add ifdef for WEBRTC Created 6 years, 3 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 | Annotate | Revision Log
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 "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 839
840 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it 840 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it
841 // ignores this switch on its stable and beta channels. 841 // ignores this switch on its stable and beta channels.
842 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; 842 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption";
843 843
844 // Disables HW encode acceleration for WebRTC. 844 // Disables HW encode acceleration for WebRTC.
845 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; 845 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding";
846 846
847 // Enables VP8 HW encode acceleration for WebRTC. 847 // Enables VP8 HW encode acceleration for WebRTC.
848 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding"; 848 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding";
849
850 // Enables H264 HW encode acceleration for WebRTC.
851 const char kEnableWebRtcHWH264Encoding[] = "enable-webrtc-hw-h264-encoding";
849 #endif 852 #endif
850 853
851 #if defined(OS_ANDROID) 854 #if defined(OS_ANDROID)
852 // Disable user gesture requirement for media playback. 855 // Disable user gesture requirement for media playback.
853 const char kDisableGestureRequirementForMediaPlayback[] = 856 const char kDisableGestureRequirementForMediaPlayback[] =
854 "disable-gesture-requirement-for-media-playback"; 857 "disable-gesture-requirement-for-media-playback";
855 858
856 // Disable the click delay by sending click events during double tap. 859 // Disable the click delay by sending click events during double tap.
857 const char kDisableClickDelay[] = "disable-click-delay"; 860 const char kDisableClickDelay[] = "disable-click-delay";
858 861
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 // Enable the Win32K process mitigation policy for renderer processes which 918 // Enable the Win32K process mitigation policy for renderer processes which
916 // prevents them from invoking user32 and gdi32 system calls which enter 919 // prevents them from invoking user32 and gdi32 system calls which enter
917 // the kernel. This is only supported on Windows 8 and beyond. 920 // the kernel. This is only supported on Windows 8 and beyond.
918 const char kEnableWin32kRendererLockDown[] 921 const char kEnableWin32kRendererLockDown[]
919 = "enable_win32k_renderer_lockdown"; 922 = "enable_win32k_renderer_lockdown";
920 #endif 923 #endif
921 924
922 // Don't dump stuff here, follow the same order as the header. 925 // Don't dump stuff here, follow the same order as the header.
923 926
924 } // namespace switches 927 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/media/rtc_video_encoder_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698